Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel keeping leading zeros

Status
Not open for further replies.

rry2k

Programmer
Jun 28, 2001
678
US
Hi,
Is there a way to type 001 in a cell and keep the leading zeros diplayed?

Thanks..Russ
 
Russ,

The easy method is to use Format - Cells - Number - TEXT

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Hi,

I would use Format/Cells/Custom - and then 00 in the Type TextBox for a display of 2 digits.

:) Skip,
metzgsk@voughtaircraft.com
 
That's what I ended up doing. Thanks Skip
 
Just a thought, if you want to keep 001 as a number to use in a formula, you can create a custom format. If all your numbers will start with 00, you can create a custom format (format//cells//custom) "00"#

If you enter 1, the result will be 001. If you enter 27, the result will be 0027.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top