Document Editing Problems

Create a Microsoft Word Index with Table Row Numbers

Rana GarciaRana Garcia Nov 13, 2026 869 views

Question details

The user wants a Word index that lists the table row numbers associated with each term instead of page numbers.

Create a Microsoft Word Index with Table Row Numbers
Product
Microsoft Word
Device & OS
not provided
Scenario
Creating an index of terms that appear in numbered table rows.
Observed behavior
A native Word index normally references pages, not table row numbers.
Before you start

Decide how each table row will be numbered and identify the terms to include in the index. If your document has multiple tables, use distinct labels such as “Table 1, Row 3” to avoid ambiguity.

Solution 1Recommended

Use Word index fields with custom row reference text

Use this workaround to display manually entered row labels in a generated index instead of page numbers.

Word does not have a standard index option that automatically retrieves table row numbers. An XE field with the \t switch can supply custom text for an index entry, but that text will not change automatically when rows move.

1
Insert an index entry field

Click near a term in the table. In Word for Windows, press Ctrl+F9 to insert a pair of field braces; do not type the braces yourself.

2
Enter the term and row label

Inside the braces, type XE "Budget" \t "Row 3", replacing Budget and Row 3 with the actual term and row label. Repeat for each term and row you want to reference.

3
Insert the index

Place the cursor where the index should appear, then select References > Insert Index. Choose a layout and select OK.

4
Review and maintain the references

Check the generated index against the table. If a row moves or its number changes, edit the corresponding XE field text, then right-click the index and select Update Field.

Use Word index fields with custom row reference text
Row labels are manual: The custom text is not linked to the table's row position. Test entries for terms that appear in multiple rows and verify the resulting index meets your needs.
Free Microsoft Office alternative

Edit table documents with WPS Writer

WPS Office is a free, lightweight Office alternative with a familiar interface for editing documents and tables. Open compatible Word files in WPS Writer to make moving between office suites easier; it does not fix Word's lack of automatic row-number indexing.

Edit table content and maintain a manual list of row references in WPS Writer.Open and save Microsoft Word formats, including DOCX.Use a familiar document-editing interface for an easier transition.Work with a free, lightweight office suite.
microsoft office alternative - wps office

Frequently Asked Questions

Can Word automatically index table row numbers?

Word's standard index feature uses page references and does not automatically retrieve table row numbers. Custom fields or VBA may be needed for a more automated solution.

How do I show a row label instead of a page number in an index?

Insert an XE field with the \t switch, such as XE "Budget" \t "Row 3", using Word's field braces. Then use References > Insert Index to generate the index.

Will the index update row labels when I move rows?

No. Custom row labels in XE fields are text. Edit the affected labels after moving rows, then right-click the index and select Update Field.

Can I use the same term for more than one row?

You can add an XE field for each occurrence with its own row label. Generate the index through References > Insert Index and check how Word displays the combined entries.