A family of Microsoft word processing software products for creating web, email, and print documents.
To create the index field, click Insert Index (found in the Index group on the References tab).
Once the Index field is present, you can customize it by displaying the field code and adding or editing switches. For example, you can customize some of the separators. See https://support.microsoft.com/en-gb/office/field-codes-index-field-adafcf4a-cb30-43f6-85c7-743da1635d9e.