Microsoft
Software
Hardware
Network
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:
US-2010-2011-Price-Book-1-.xlsx
(535 KB)
(File Type Details)
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
Remove character in paste Excel
Copying excel WB in Excel 2007
ESXi 4: Understanding resxtop Output on Disk Performance
No mapping found for HTTP request with URI [/MyWeb/help/webhelp.css] in DispatcherServlet with name 'help'
Adding URL Parameter
Horizontal RSS Feed News Ticker
Missing security tab on network shares from NetApp FAS 2020
correct syntax for a switch statement in crystal 2008
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...
simple math programming question