How to Add Adjusted Automatic Page Numbering in a Word Header
Question details
The user needs to insert calculated or customized automatic page numbers into a document header because standard sequence fields do not function directly in headers.

- Product
- Word Processor
- Device & OS
- not provided
- Scenario
- Formatting a document header to display page numbers with a specific mathematical adjustment or sequence.
- Observed behavior
- Standard SEQ (Sequence) fields are restricted to the main document story and cannot normally be inserted directly into the header to calculate page numbers.
Ensure you are familiar with toggling field codes in your document (typically by pressing Alt+F9) so you can view and edit the formula brackets manually.
Use Calculated PAGE Fields for Adjusted Numbering
This is the most reliable method for adding a mathematical adjustment (such as +1 or -1) to the current page number in a header.
Since standard SEQ fields cannot directly calculate page numbers in the header, you can use a formula field wrapped around the standard PAGE field to achieve adjusted numbering.
Double-click the top margin of your document to open the Header and Footer editing area.
Press Ctrl+F9 (or Cmd+F9 on Mac) to insert a pair of field code brackets { }. Type an equals sign '=' inside them.
While inside the brackets after the equals sign, press Ctrl+F9 again to insert a nested set of brackets. Type the word 'PAGE' inside this new set.
Click outside the inner { PAGE } brackets but inside the outer brackets. Type your adjustment, for example, '+ 1' or '- 1'. Your final field code should look exactly like this: { = { PAGE } - 1 }.
Select the entire field code you just created and press F9 to update the calculation. Press Alt+F9 to hide field codes and display the calculated page number.

Use Section Breaks to Restart Numbering
If you just want page numbering to start at '1' on a later page, using section breaks is much easier than writing formula fields.
Use the SEQ Field with the \c Switch
Use this method if you need the header to repeat the last sequence number generated in the main body text.
Easily Manage Page Numbering with WPS Writer
Dealing with nested field codes and complex formulas can be frustrating. WPS Writer offers an intuitive, user-friendly interface to manage headers, footers, and page numbers directly from the toolbar, making document formatting effortless.
- 1. Open your document: Launch WPS Writer and open the document you wish to edit.
- 2. Access Page Number tools: Navigate to the Insert tab and click on 'Page Number' to see quick placement options.
- 3. Format the numbering: Select 'Format Page Numbers' from the drop-down menu to easily set starting numbers and sequences without typing formulas.

Frequently Asked Questions
Why can't I insert a standard SEQ field directly into my document header?
Standard Sequence (SEQ) fields are designed to incrementally number items within the main text layer of a document. Because headers and footers exist in a separate structural layer, the application cannot track incremental sequences dynamically across them, restricting SEQ fields to the main document story.
How do I edit a calculated PAGE field once I have created it?
To edit a field code, press Alt+F9 on your keyboard. This toggles the display from the calculated results (like a page number) back to the underlying formula brackets. Make your adjustments, then press Alt+F9 again and press F9 to update the result.
Is there a way to start page numbering at a specific number without using formulas?
Yes. You can insert a 'Next Page' Section Break before the page where you want the numbering to change. Then, double-click the header, unlink it from the previous section, and use the 'Format Page Numbers' menu to set 'Start at' to your desired number.
What does the \c switch do in a sequence field?
The \c switch tells the field to repeat the current or most recent sequence number rather than generating a new, incremented number. This is particularly useful in headers to reference a chapter or section number from the body text on that page.




