A family of Microsoft word processing software products for creating web, email, and print documents.
If you have people's names in the document in given-name-surname order, select a whole name and click the Mark Entry button, then the whole name will appear in the Main Entry box. Select the given name and press Ctrl+X to cut it to the clipboard; then click in the Subentry box and click Ctrl+V to paste the given name there. Then you can click the Mark All button, and Word will create XE fields for all the occurrences of the whole name in the document. In the picture below, I did this for the name Jane Smith where it's highlighted, and the second one was marked by the Mark All button.
The other way to get the same result is to work without the Mark Entry button. First turn on display of hidden text by clicking the ¶ button on the Home ribbon (because XE fields are automatically marked as hidden text).
Click in the document after a name and press Ctrl+F9 to insert a pair of field braces { }. Between the braces, type the letters XE and a pair of double quotes. Between the quotes, type the surname, a colon, and the given name, like the ones shown in the picture above.
You can copy the field to the clipboard, and then use the Find function in the Navigation pane to locate other occurrences in the document and paste copies of the field there.