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
SATA drive stopped responding
VLAN Configuring on a Powerconnect 5324
C:\blabla\nbproject\build-
impl.xml:3
10: D:\Projects\Netbeans Workspace\MyProject is not a valid directory
Upcoming tsunami in November
Export Input data (survey) to Excel in ASP.NET form
Server security analysis to determine patch level
How to pass a variable into DATEADD function in SQL String
Hard drives out of a raid are not recognized
KMS is activating Win7 Pro but not Win 2008 R2 Enterprise
ColdFusion Using .NET Class Library