How do I shorten a number?

S

swingkittenva

I have a list of 10-digit numbers, but I want to apply a formula/function or
format the cells so that only the first 6 digits show up. Is that possible?
 
V

Vijay

If you use the function below in another column next to your list, only 6
digits can be viewed...

=LEFT(F20,6)

Hope this helps.
Vijay
 
S

Stephen

swingkittenva said:
I have a list of 10-digit numbers, but I want to apply a formula/function
or
format the cells so that only the first 6 digits show up. Is that
possible?

For a number in A1 you could use
=LEFT(A1,6)
which gives the first 6 characters as a text string
or
=VALUE(LEFT(A1,6))
which converts the text string back to a number.
 
B

B. R.Ramachandran

Hi,

If the 10-digit numbers are in A2:A101, enter the following formula in B2
and enter. Autofill the formula down to B101.

=LEFT(A2,6)

If you don't want the original numbers any more, select and copy B2:B101,
"Edit" --> "Paste Special" --> "Values" --> "OK". Then delete Column A.

Regards,
B. R. Ramachandran
 
Top