Document Editing Problems

Fix a Last-Page-Only Footer Field in Word 2016

Emma BrownEmma Brown Nov 20, 2026 869 views

Question details

The user needs a Word 2016 footer field that displays text only on the document's final page.

Fix a Last-Page-Only Footer Field in Word 2016
Product
Microsoft Word 2016
Device & OS
not provided
Scenario
A conditional footer compares the current page number with the total number of pages.
Observed behavior
The footer field may not work as intended when its field braces are incorrect or document-specific settings affect the comparison.
Before you start

Check whether page numbering starts at 1 and runs continuously throughout the document. If the document uses different first-page or odd-and-even footers, identify which footer appears on the final page.

Solution 1Recommended

Recreate the Conditional Footer Field in Word 2016

Use this method when the footer field does not display the expected text on the final page.

The IF field compares PAGE with NUMPAGES and returns text only when the two values match. Every pair of field braces must be inserted as a Word field, not typed as ordinary characters.

1
Open the footer

Double-click the footer area on the page where you want to edit the field. If Word displays field results instead of codes, press Alt+F9 to show field codes.

2
Insert the outer field

Place the cursor in the footer and press Ctrl+F9 to insert the outer pair of field braces. Inside them, type IF followed by a space.

3
Add the nested fields

After IF, press Ctrl+F9 and type PAGE inside the new braces. After that field, type =, press Ctrl+F9 again, and type NUMPAGES inside the new braces.

4
Enter the results

After the NUMPAGES field, type a space followed by "This is the last-page text" and "". The complete field should read: { IF { PAGE } = { NUMPAGES } "This is the last-page text" "" }.

5
Update and inspect

Right-click the outer field and select Update Field. Press Alt+F9 to show results, then use File > Print to inspect the first and last pages in print preview.

Recreate the Conditional Footer Field in Word 2016
Check page numbering: PAGE reflects the displayed page number, while NUMPAGES counts pages in the document. Restarted or custom page numbering can make the comparison unsuitable. A section break is not normally needed for this field.
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 support for common Word formats can make migration straightforward, though complex fields and layouts should be checked after opening.

Edit documents and work with headers and footers in WPS WriterOpen and save Microsoft Word DOC and DOCX filesUse a familiar interface for everyday document editingMove existing documents without rebuilding them from scratch
microsoft office alternative - wps office

Frequently Asked Questions

Why do typed braces not work in my Word field?

Word field braces are special delimiters. Press Ctrl+F9 for the outer IF field and again for each nested PAGE and NUMPAGES field; typing braces on the keyboard creates ordinary text.

Do I need a section break to show footer text only on the last page?

A section break is not normally necessary. A conditional IF field can show text when PAGE equals NUMPAGES, provided the page numbering makes that comparison valid.

Why does the field fail when page numbering restarts?

PAGE uses the displayed page number, while NUMPAGES counts pages in the whole document. If numbering restarts or begins at another value, the two may not match on the final page. Check the numbering through Insert > Page Number > Format Page Numbers.

How can I check the field without sharing the original document?

Create a sample with File > New, preferably from the same template, add enough sample text for several pages, and insert the field in its footer. Check the result in File > Print.

Can different footer settings affect the result?

Yes. Different First Page and Different Odd & Even Pages can use separate footers. Double-click the final-page footer and check these options on the Header & Footer Tools Design tab, then ensure the appropriate footer contains the field.