Home » Our Blog » Excel – Why does the 0 (zero) disappear?

Excel – Why does the 0 (zero) disappear?

Sharyn Baines

PROBLEM: why does the 0 (zero) disappear in Excel? How do I stop the 0 from disappearing?

SOLUTION: learn how to format cells so that 0 (zeros) are displayed.


Why does the 0 disappear in Excel?

So you’ve typed 00198 and Excel has completely ignored the 00 and only entered the 198 into the cell.  This is because Excel sees the zeros as insignificant and as a result drops them.  Frustrating isn’t it?

You may have tried this for part numbers, post codes, item codes and mobile numbers. However, it doesn’t matter how many times you try you still end up with the same result, no leading zeros!

So here’s how you can make sure the 0’s are included.

Format a cell so that 0 (zero) is displayed

  1. Select the cell to be formatted.

2. On the Home tab click the dialog box launcher on the Number group.

number group dialog box launcher

3. On the Number tab select Custom from the Category list.

4. In the Type box type 00### (# signs represent the significant numbers, i.e. 918) and then click OK.

The cell will now accept 00918.

This method is brilliant if you trying to format post codes. If you are trying to setup data for a Mail Merge in Word you might like to check out my post Retaining a leading 0 (zero) when entering Post Codes. 

Sharyn is an expert trainer.  She became the first certified Microsoft® MOUS Authorised Instructor in New Zealand.

She is endorsed by Microsoft® as a qualified Microsoft® Office Specialist and has more than 20 years of experience in the training industry, developing and delivering technology training workshops. Her approach to taking the “techie-speak” out of technology training has placed her as a preferred supplier to many of New Zealand’s leading organisations.

If you enjoyed this you may also enjoy...

Move, Copy and Paste information in Excel

  Learn how to move, copy and paste information in Excel. Once you have mastered Cut, Copy and Paste you will find yourself shifting data around easily and reusing copied data, saving you the need to recreate the same information again. All Windows applications have access to the Windows Clipboard. This is a special area used for

​Read More

Print all or part of an Excel worksheet

  Learn how to preview your work before printing and how to print all or part of an Excel worksheet. Join the ‘Excel at Work Insiders’ group today!100% free. Join now and unlock offers exclusive to this group!Receive tips and guidance to help you SAVE TIME, WORK SMARTER and IMPROVE YOUR UNDERSTANDING of Microsoft® Office. envelope envelope Join

​Read More