logo
search
Formatting Issues

How to Fix Repeated Word Index Entries and Incorrect XE Fields

Olivia MillerOlivia Miller Sep 27, 2026 869 views

Question details

The user is encountering duplicated index entries in a long document, which are likely caused by corrupted or improperly nested XE (Index Entry) fields.

How to Fix Repeated Word Index Entries and Incorrect XE Fields
Product
Word
Device & OS
not provided
Scenario
Generating and updating an index for a lengthy document, such as a genealogical record or manuscript.
Observed behavior
The generated index displays repeated word entries starting after a specific page or section, due to damaged fields, bookmarks, or copied entries.
Before you start

Before modifying hidden formatting marks and index fields, make sure to create a backup copy of your long document to prevent accidental data loss.

Solution 1Recommended

Inspect and Remove Damaged XE Fields

Use hidden formatting marks to locate the corrupted index fields on the problematic pages, delete them, and manually recreate the index entries.

In Word documents, index entries are driven by hidden XE fields. When these fields become corrupted, nested, or accidentally duplicated via copy-pasting, the final index will generate repeated entries. Removing the damaged fields is the most direct fix.

1
Reveal formatting marks

Go to the 'Home' tab on the top ribbon and click the 'Show/Hide ¶' button in the Paragraph group to display hidden text and XE fields.

2
Locate the problematic fields

Scroll to the specific page or section where the indexing problem first appears. Look for the curly bracket formatting that denotes an index entry, which looks like { XE "Word" }.

3
Delete damaged entries

Highlight the entire corrupted or duplicated XE field (including the curly brackets) and press the 'Delete' key on your keyboard.

4
Recreate and update the index

Highlight the word again, go to the 'References' tab, and click 'Mark Entry' to recreate it properly. Finally, right-click your document's Index and select 'Update Field' to apply the changes.

Inspect and Remove Damaged XE Fields
Field Formatting: Ensure that capitalization and spacing in the recreated XE fields perfectly match, as Word treats 'Name' and 'name ' as two separate index entries.
Efficient Indexing with WPS Writer

Create and Manage Indexes Flawlessly in WPS Writer

WPS Writer provides a robust and user-friendly way to create, manage, and update document indexes, helping you avoid field corruption and duplication issues often found in long documents.

  1. 1. Open your document: Launch WPS Writer and open your long document.
  2. 2. Mark index entries: Navigate to the 'References' tab, select the text you want to index, and click 'Mark Entry'.
  3. 3. Insert the index: Go to the end of your document or wherever you want the index to appear, and click 'Insert Index' in the References tab.
  4. 4. Update seamlessly: Whenever you make changes, simply right-click the index and choose 'Update Field' to refresh your entries without duplicating them.
Easily insert and manage index entries without field duplicationHigh compatibility with Microsoft Word (.docx) index formats and XE fieldsLightweight application that handles long, complex documents smoothlyFree and intuitive interface for seamless document formatting
microsoft office alternative - wps office

Frequently Asked Questions

What is an XE field in Word?

An XE (Index Entry) field is a hidden formatting mark used to flag specific text that should appear in the document's generated index. It typically looks like { XE "Text" } when hidden marks are revealed.

How do I make hidden XE fields visible?

You can view hidden XE fields by navigating to the Home tab and clicking the Show/Hide ¶ button (the paragraph symbol). This toggles the visibility of all hidden formatting marks in your document.

Why does my index show duplicate entries for the exact same word?

Duplicate entries often occur if the word was marked multiple times with slightly different capitalization, extra trailing spaces, or if the XE field was accidentally copied and pasted. Word treats variations in spacing or casing as entirely different entries.