Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Automatic Numbers with Leading Zeroes.

Automatic Numbers with Leading Zeroes

Written by Allen Wyatt (last updated April 9, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365


1

Word provides a tool that allows you to add automatic numbering to paragraphs; this tool has been discussed in other WordTips. At some point you may want to add leading zeros to your numbering, such as with 00001, 00002, 00003, etc.

If you add the leading zeros to what you type (type four zeros, the number one, a period, a tab, and your paragraph text), then when you press Enter Word will format the paragraph, so it is numbered. The problem is that all of your leading zeros are, with the exception of one of them, removed in the process. This means that you end up with 01 instead of 00001 at the beginning of the paragraph.

You can, if you desire, customize the way the numbering is done. (In the Numbering tool drop-down list choose Define New Number Format to display the appropriate dialog box.) You can then add additional zeros to the beginning of the format for the paragraph.

One drawback to this approach is that the zeros you add are not really a part of the format; they are, instead, just additional characters that precede the numbers managed by Word. This isn't a problem until you get more than 99 items in your numbered list. The number 00099 looks fine, but the next paragraph will be 000100, which is obviously wrong. You could then adjust the formatting of the paragraph so you only have two extra zeros at the lead and that numbering starts at 100 with that paragraph, but this can be bothersome when you later add or remove paragraphs from within your numbered list.

Because of this drawback, many people use a different method of automatic numbering when special formats (like the leading zeros) are needed. The most common approach is to use the SEQ field. For example, you could use the following format to implement the leading zeros:

{SEQ MyList \# "00000"}

Using a SEQ field like this at the beginning of each of your paragraphs will provide the leading-zero numbers that you want. You'll need to update the fields after making any changes to the list, but you'll get the results you want.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (10609) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365. You can find a version of this tip for the older menu interface of Word here: Automatic Numbers with Leading Zeroes.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Duplicating Styles without Dependency

Creating new styles in Word is a great way to ensure that your document has a uniform look. But what if you want to ...

Discover More

Merging to Individual Files

The mail-merge feature in Word is a fast, easy way to create form letters addressed to many different people. Sometimes, ...

Discover More

AutoFill with Random Numbers

When entering data into a worksheet, you may have a need to fill a range of cells with a group of random numbers. This ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (ribbon)

Following a Number with Different Characters

When creating numbered lists, the normal characters that follow the number are a period and a tab. Here's how to force ...

Discover More

Applying Numbers from the Keyboard

Creating a numbered list is often done by using the tools available on the ribbon. With a bit of preparation you can ...

Discover More

Underlining Tabs In Numbered Lists

When Word creates an automatically numbered list, it removes some of your formatting flexibility. One thing you can't ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 5?

2023-03-26 20:34:05

Troy D

I have been searching about adding an Invoice/statement number that will update to the next number in the sequence when I right click and choose update field. I would also like to have the Invoice/statement number to have zeroes in front of the number until it reaches 099 and then change to 100, how do I do that? I have read one of the tips by a Dave such and such about adding zeroes in front of the number in SEQ fields and he says to add additional fields but he doesn't explain how to do that. I know my way around Word but I am not that informed in all the functioning's of Word 2013. Can you elaborate on how to do this? I am including an image (see Figure 1 below) . From your article above, MyList is your Identifier or your Bookmark? I understand the Identifier is what you are calling the SEQ, right? Can you explain what each of these mean after SEQ..."SEQ Identifier [Bookmark] [Switches]?

Thank you for your help and time.

Figure 1. 


This Site

Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.