Table of Contents

Page Numbers

This example teaches you how to insert page numbers in Excel.

1. On the View tab in the Workbook Views group click Page Layout to switch to Page Layout view.

Switch to Page Layout View

2. Click Add footer.

Click Add footer

3. On the Header & Footer tab in the Header & Footer Elements group click Page Number to add the page number.

Add Page Number

4. Type ” of “

5. On the Header & Footer tab in the Header & Footer Elements group click Number of Pages to add the number of pages.

Add Number of Pages

Result:

Codes in Header

Note: Excel uses codes in order to automatically update the header or footer as you change the workbook.

6. Click somewhere else on the sheet to see the footer.

Page Numbers in Excel

7. On the Header & Footer tab in the Options group you can add a different header/footer for the first page and a different header/footer for odd and even pages.

Different First Page and Different Odd & Even Pages

8. On the View tab in the Workbook Views group click Normal to switch back to Normal view.

Leave A Comment

Excel meets AI – Boost your productivity like never before!

At Formulas HQ, we’ve harnessed the brilliance of AI to turbocharge your Spreadsheet mastery. Say goodbye to the days of grappling with complex formulas, VBA code, and scripts. We’re here to make your work smarter, not harder.

Related Articles

The Latest on Formulas HQ Blog