How do I preserve leading zeros in Excel?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to put numbers that start with 1 or more 0s (i.e. 0001 or 0399) into a
cell but it keeps truncating the 0s. How can I get the number to stick
without storing it as text?
 
Keli, put a ' in front of it, it want show in the cell
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2000 & 2003
** remove news from my email address to reply by email **
 
Keli

"Without storing as Text" cannot be done.

If you want to keep numeric, you can use a Custom Format of 0000

Enter your number 1 and will display as 0001

399 will display as 0399

Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top