Create a Microsoft Word Index with Table Row Numbers
Question details
The user wants a Word index that lists the table row numbers associated with each term instead of page 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.
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.
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.
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.
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.
Place the cursor where the index should appear, then select References > Insert Index. Choose a layout and select OK.
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.

Create a manual index of terms and table rows
For a short document, a manually maintained list can be simpler than working with fields.
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.

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.




