Apr 13 2022 09:29 AM - edited Apr 13 2022 09:30 AM
So I know if I want to remove the last digit of a 5-digit number, I use the formula:
=LEFT(C2,4) C2 being the cell I am affecting.
In the case of the number 01234 being in cell C2, my formula would give me the first 4 digits only, or 0123.
Question: How do I remove the first digit and the last digit, so I just end up with 123?
Thank you!
Apr 13 2022 09:35 AM
Apr 13 2022 09:58 AM - edited Apr 13 2022 10:03 AM
SolutionApr 13 2022 10:19 AM
Apr 13 2022 11:06 AM
Apr 13 2022 09:58 AM - edited Apr 13 2022 10:03 AM
Solution
=MID(TEXT(C2,"00000"),2,3)
EDIT:
Without any text function.
=MOD(QUOTIENT(C2,10),1,000)