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
Can i delete the system cache folder under Application Data\Sun\Java\Deployment\c
ache ?
Deploying local user policies, non-domain
Microsoft PKI Design
Updating a Data Set that has been returned from a Function or DLL
HP-UNIX - compressing/zipping files that are 31GB
Problem getting the Selected value of a CheckBoxList (used in a gridview)
trying to print to HP laserjet 2050 - and constantly have to hit "ok" button to print
IP Address Contention
swf file won't play on the web
How to tranlate SQL query to WQL query for SCCM 2007