Question : How do I get a number format in Excel 2007 that accepts a "0" at the beginning of the number string?

I am working on couple of things on the attached spreadsheet.

 

1.  Converting column C to numbers.  Problem is when I convert to a number it removes the “0” from the beginning of any item number that starts with a “0”.

2.  Getting a 4th format into column D.  Some of our customers want the part number to be formatted like 063-0172-879.  When I try to format the cell using the custom format ###-####-### I run into the same problem – it automatically removes the preceding 0 of item numbers beginning with 0.

 

Thanks for your assistance!

Attachments:
 
spreadsheet that needs to be formatted
 

Answer : How do I get a number format in Excel 2007 that accepts a "0" at the beginning of the number string?

You can use custom format 0000000000 for column C (10 zeros) and format 000-0000-000 for column D

The # puts the number if there is a digit, the 0 puts the number if there is a digit, and a 0 if there is none.

Thomas



Random Solutions  
 
programming4us programming4us