How to Fix Word for Mac Index Entries, Sorting, and Page Numbers
Question details
The user is experiencing issues generating a document index, including duplicate entries, incorrect alphabetical sorting, missing page numbers, and mixed fonts.

- Product
- Microsoft Word for Mac
- Device & OS
- Mac
- Scenario
- Generating and formatting an index in a document on a Mac.
- Observed behavior
- The generated index contains duplicate entries, unmerged references, drops page numbers, and displays mixed fonts (such as Cambria instead of the document's default Times New Roman). Word Online cannot be used as a workaround because it lacks the Index feature.
Ensure your Microsoft Word for Mac is updated to the latest version (e.g., 16.66 or newer) and toggle on hidden formatting symbols (¶) on the Home tab to view your hidden index entry (XE) fields.
Verify and Edit Index Entry (XE) Fields
Incorrectly formatted XE fields are the primary cause of duplicate entries and sorting issues in Word indexes.
Word relies on exact text matching within XE fields to group page numbers. Any variation in capitalization, spelling, or hidden spaces will result in separate, duplicate entries in the final index.
Click the Show/Hide (¶) button on the Home tab to reveal hidden formatting marks, including your { XE } fields.
Scroll through your document to find the XE fields corresponding to the duplicate or missing entries.
Edit the text inside the quotation marks of the { XE } field. Ensure the capitalization and spacing match exactly across all instances of the same keyword.
If an entry is missing its page number, delete the corrupted { XE } field entirely, highlight the word again, and recreate it using the Mark Entry tool.

Fix Mixed Fonts and Inconsistent Formatting
If your index displays mixed fonts like Cambria instead of your default font, you need to modify the Index Style settings.
Rebuild the Index Completely
After correcting all XE fields and styles, generating a completely fresh index can resolve lingering unmerged references.
Create and Manage Document Indexes with WPS Writer
WPS Writer offers a stable and user-friendly References tool, allowing you to mark entries and generate perfectly formatted indexes without the formatting glitches often encountered on Mac.
- 1. Open your Document: Launch WPS Writer and open your existing document.
- 2. Mark Index Entries: Navigate to the References tab. Select the text you want to index and click 'Mark Entry' to define your keywords.
- 3. Insert the Index: Place your cursor where you want the index to appear, then click 'Insert Index' from the References ribbon.
- 4. Format and Complete: Choose your preferred layout format in the dialog box and click OK to generate a flawless index instantly.

Frequently Asked Questions
Why are my index page numbers missing in Word for Mac?
Missing page numbers usually occur if the XE (Index Entry) field is corrupted or placed inside a text box or shape that Word cannot properly paginate. Re-marking the text in the main document body usually resolves this.
Can I create an index using Word Online?
No, Word Online currently does not support the Index creation feature. You must use the desktop version of Word for Mac or Windows, or an alternative desktop processor like WPS Office, to build and update document indexes.
How do I stop duplicate index entries from appearing?
Duplicate entries happen when the text inside your XE fields doesn't match exactly. Word treats 'Apple' and 'apple', or entries with different trailing spaces, as entirely separate items. Reveal your hidden formatting marks (¶) and edit the XE fields so they are perfectly identical.




