Formatting Issues

Exclude Final Pages from Page X of Y Numbering in Microsoft Word

Khadija KhanKhadija Khan Nov 22, 2026 868 views

Question details

The user wants Word's Page X of Y numbering to exclude final form pages from both the displayed numbers and the total page count.

Exclude Final Pages from Page X of Y Numbering in Word
Product
Microsoft Word
Device & OS
not provided
Scenario
A document ends with form pages that should remain unnumbered and not count toward the total shown on earlier pages.
Observed behavior
The NUMPAGES field counts every page in the document, including the final form pages.
Before you start

Check how many final pages must be excluded and whether all pages to be numbered can be placed in one section. Open the header or footer containing the existing Page X of Y numbering.

Solution 1Recommended

Use SECTIONPAGES to count only the numbered section

Use this method when the pages to be numbered can all be placed in one section before the final forms.

1
Create a section for the forms

Place the cursor at the end of the last page to be numbered. Select Layout > Breaks > Next Page under Section Breaks.

2
Unlink the final section

Double-click the header or footer on a form page, wherever the page number appears. On the Header & Footer tab, turn off Link to Previous, then delete the page-number text from that final section.

3
Replace the total-page field

Return to the header or footer in the numbered section. On Windows, press Alt+F9 to display field codes, replace the NUMPAGES field name with SECTIONPAGES, and press Alt+F9 again.

4
Check and update the numbering

If the numbered section should start at 1, select Page Number > Format Page Numbers and set Start at to 1. Select the numbering and press F9 to update the fields.

Use SECTIONPAGES to count only the numbered section
Check header and footer variants: If Different First Page or Different Odd & Even Pages is enabled, unlink and remove numbering from each applicable header or footer in the final section.
Free Microsoft Office alternative

Edit Word documents with WPS Writer

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Word documents. Its format compatibility helps you move existing files into WPS Writer; check complex field-based numbering after opening a document.

Edit document headers, footers, and page numbering in WPS WriterOpen and save Microsoft Word DOC and DOCX filesUse a familiar interface for an easier transition from Microsoft OfficeWork with a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does NUMPAGES include my final form pages?

NUMPAGES counts pages in the entire Word document, regardless of whether those pages display a page number. Use SECTIONPAGES when the numbered pages are all in one section.

Why did deleting the page number from the forms also remove it from earlier pages?

The headers or footers were probably linked. In the final section, open the relevant header or footer and turn off Link to Previous before deleting its numbering.

How do I show field codes in Word?

In Word on Windows, press Alt+F9 to toggle between field codes and their results. Select a field and press F9 to update it.

Can SECTIONPAGES count numbered pages across several sections?

No. SECTIONPAGES counts only the pages in its own section. For numbered content spanning multiple sections, consider a calculated NUMPAGES field that subtracts the final form pages.

What happens if the number of final form pages changes?

With the subtraction method, edit the number in the calculated field to match the new count, then select the field and press F9. SECTIONPAGES does not require a fixed subtraction.