I need to drop some leading zeros

C

Cheri

I have a spreadsheet with ID numbers. We only use 6 numbers but the IDs send
to me contain 3 zeros in front I don't need (000051585) How can I format the
numbers to drop off those first 3 zeros?
 
K

Kevin B

Insert a column to the right of your id numbers, and use the following
formula to modify the ID Numbers (Assuming that all the ID's are labels and
not values). Change cell A1 to the starting ID value cell:

=RIGHT(A1,LEN(A1)-3)

Copy the formula down the column to the last ID. Then copy the formula
column and do a PASTE/SPECIAL/VALUES over the original ID column.

Delete the inserted column with the formulas when done.
 
C

Cheri

Isn't there an easier way. I've done the copy cut and paste thing. The
column is formatted as "general"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top