Show Leading Zeroes in Microsoft Excel

There are a number of ways to perform this.

If you already have data.

Choose the cells, column, or row. Go to FormatŕCells. On the Numbering tab, choose Custom under Category, and in the Custom dialog box, type the number of digits you want to use in your data, thusly:

The above example would be for 7-digit account numbers or check numbers, etc. Zip codes can use the built-in Special format, so choose Special instead of Custom.

If you don't have any data yet, you can simply format your range as Text.

If you just want to enter a few cells with leading zeroes, there's no need to format the cells specialyou can just type an apostrophe before you enter the values. debuted on May 26, 2005. provides examples of Formulas, Functions and Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Formulas, Functions and Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.

Access®, Excel®, FrontPage®, Outlook®, PowerPoint®, Word® are registered trademarks of the Microsoft Corporation.
MrExcel® TM is a registered trademark of Tickling Keys, Inc.

All contents © 1998-2014 by MrExcel Consulting | All rights reserved

Popular Pages

More Info