Create an index
An index lists the terms and topics that are discussed in a document, along with the pages that they appear on. To create an index, you mark the index entries by providing the name of the main entry and the cross-reference in your document, and then you build the index.In this article
Mark index entries and create an index
About index entries
You can create an index entry:
- For an individual word, phrase, or symbol
- For a topic that spans a range of pages
- That refers to another entry, such as "Transportation. See Bicycles"
When you select text and mark it as an index entry, Microsoft Office Word adds a special XE (Index Entry) field that includes the marked main entry and any cross-reference information that you choose to include.
After you mark all the index entries, you choose an index design and build the finished index. Word collects the index entries, sorts them alphabetically, references their page numbers, finds and removes duplicate entries from the same page, and displays the index in the document.
Mark index entries and create an index
To create an index, you mark the entries, select a design, and then build the index.
Step 1: Mark index entries
To mark index entries, do one of the following:
Mark words or phrases
- To use existing text as an index entry, select the text. To enter your own text as an index entry, click where you want to insert the index entry.
- On the
References
tab, in theIndex
group, clickMark Entry
. - To create the main index entry that uses your own text, type or edit the text in the
Main entry
box. - If you want, you can customize the entry by creating a subentry , a third-level entry, or a cross-reference to another entry:
- To create a subentry, type the text in the
Subentry
box. - To include a third-level entry, type the subentry text followed by a colon (:), and then type the text of the third-level entry.
- To create a cross-reference to another entry, click
Cross-reference
underOptions
, and then type the text for the other entry in the box.
- To create a subentry, type the text in the
- To format the page numbers that will appear in the index, select the
Bold
check box or theItalic
check box belowPage number format
.To format the text for the index, select the text in the
Main entry
orSubentry
box, right-click, and then clickFont
. Select the formatting options that you want to use. - To mark the index entry, click
Mark
. To mark all occurrences of this text in the document, clickMark All
. - To mark additional index entries, select the text, click in the
Mark Index Entry
dialog box, and then repeat step 3 through step 6.
Mark entries for text that spans a range of pages
- Select the range of text that you want the index entry to refer to.
- On the
Insert
tab, in theLinks
group, clickBookmark
. - In the
Bookmark name
box, type a name, and then clickAdd
.In the document, click at the end of the text that you marked with a bookmark.
- On the
References
tab, in theIndex
group, clickMark Entry
. - In the
Main entry
box, type the index entry for the marked text. - To format the page numbers that will appear in the index, select the
Bold
check box or theItalic
check box belowPage number format
.To format the text for the index, select the text in the
Main entry
orSubentry
box, right-click, and then clickFont
. Select the formatting options that you want to use. - Under
Options
, clickPage range
. - In the
Bookmark
box, type or select the bookmark name that you typed in step 3, and then clickMark
.
Step 2: Create the index
After you mark the entries, you are ready to select an index design and insert the index into your document.
- Click where you want to add the index.
- On the
References
tab, in theIndex
group, clickCreate Index
, and then clickInsert Index
. - Do one of the following:
- Click a design in the
Formats
box to use one of the available index designs. - Design a custom index layout:
- In the
Formats
box, clickFrom template
, and then clickModify
. - In the
Style
dialog box, click the index style that you want to change, and then clickModify
. - Under
Formatting
, select the options that you want. - To add the style changes to your template , click
All documents based on the template
. - Click
OK
twice.
- In the
- Click a design in the
- Select any other index options that you want.
Notes:
- To update the index, click the index, and then press F9. Or click
Update Index
in theIndex
group on theReferences
tab. - If you find an error in the index, locate the index entry that you want to change, make the change, and then update the index.
- If you create an index in a master document , expand the subdocuments before you insert or update the index.
Edit or format an index entry
- If you don't see the XE fields, click
Show/Hide
in the
Paragraph
group on theHome
tab. - Find the XE field for the entry that you want to change, for example, { XE "Callisto" \t "See Moons" }.
- To edit or format an index entry, change the text inside the quotation marks.
- To update the index, click the index, and then press F9. Or click
Update Index
in theIndex
group on theReferences
tab.
Notes:
- If you find an error in the index, locate the index entry that you want to change, make the change, and then update the index.
- To quickly find the next XE field, press CTRL+F, click
Special
, and then clickField
. If you don't see theSpecial
button, clickMore
.
Delete an index entry
- Select the entire index entry field, including the braces (
{}
), and then press DELETE.If you don't see the XE fields, click
Show/Hide
in the
Paragraph
group on theHome
tab. - To update the index, click the index, and then press F9. Or click
Update Index
in theIndex
group on theReferences
tab.