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
Red "X" appears in the icon for a mapped network drive in Windows 7, even though you can successfully access the drive
VMware, vSphere Virtual Machine and Disk Errors "invalid disk type 7" and "cannot detect guest operating system type"
Unable to copy and paste files through remote desktop
VC++ hiding console
Searching inside PHP files
Finding file owner - getting an error: identity references could not be translated
I need to stop, then re-start, a thread in a web service using IIS
sql server smtp port
Calculating linear regression by Java code as done in Microsoft Excel
Restoring files of users on SBS 2008