Adding Page Numbers

by Allen Wyatt
(last updated May 7, 2016)


If you are creating spreadsheets that are more than a page or two in length, you will probably want to include page numbers so you can keep your pages in order when you make a printout. Excel supports automatic numbering of pages in your spreadsheet, and you can control the type of page number, the starting number, and the placement of the page number. To add page numbers, follow these steps:

  1. Since page numbers are placed in headers or footers, select Page Setup from the File menu. This displays the Page Setup dialog box.
  2. Make sure the Header/Footer tab is selected. (See Figure 1.)
  3. Figure 1. The Header/Footer tab of the Page Setup dialog box.

  4. Click on either Custom Header or Custom Footer, depending on where you want the page number to appear. This displays either the Header or Footer dialog box. (See Figure 2.)
  5. Figure 2. The Header or Footer dialog box.

  6. Position the insertion point in the Left, Center, or Right box, depending on where in the header or footer you want the page number placed.
  7. Click on the page number tool (it looks like a piece of paper with a number sign in the center of it). This places the characters &[Page] at the insertion point. This is where the page number will be located.
  8. Click on OK to close the Header or Footer dialog box.
  9. Click on OK to close the Page Setup dialog box.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2637) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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. ...


Checking Your Data File

When you get ready to merge a document with a data source, you'll want to make sure that everything is "as expected" ...

Discover More

Starting Out Formulas

When you enter a formula from the keyboard, Excel only knows it is a formula if you start it with an equal sign. You can ...

Discover More

Erratic Behavior of Ctrl+PgDn

Have you ever noticed that when you use Ctrl+PgDn or Ctrl+PgUp that Word may give you results you didn't expect. Here's ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Sequential Page Numbers Across Worksheets

How do you want your page numbers to appear on your printed worksheets? Chances are good that you want them to be ...

Discover More

Page Numbers in VBA

When you print a larger worksheet, Excel breaks the printout across several pages. You may want to know, before you ...

Discover More

Changing Page Number Format

Need your page numbers to not appear as regular Arabic numerals? Here's a way to get them to appear in a different ...

Discover More

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

View most recent newsletter.


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}] 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 4 + 4?

2016-05-07 22:26:20

Eric Hooey

I suggest you add this to your tip.

"Page &[Page] of &[Pages]" as the header or footer field.

This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, 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.