Use IF Fields Instead of Bookmarks in Word Mail Merge
Question details
Use a merge value to conditionally display text when bookmarks do not persist in merged documents.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- A mail merge main document needs to display text only for records with a specified field value.
- Observed behavior
- Bookmarks may not persist in documents created by the mail merge.
Open the mail merge main document and connect its recipient list using Mailings > Select Recipients. Check the name of the column containing the yes or no values.
Insert an IF rule in the Word mail merge main document
Use this method to insert text conditionally without relying on a bookmark in the merged output.
In the mail merge main document, click where the conditional text should appear.
On the Mailings tab, select Rules > If...Then...Else.
In the dialog, select the relevant field name, choose Equal to, and enter yes in the Compare to box.
Enter the desired text in Insert this text, leave Otherwise insert this text blank, and select OK.
Select Mailings > Preview Results and browse records with different values. Then select Finish & Merge > Edit Individual Documents to review the merged output.

Edit mail merge documents with WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface and support for Word formats, making it easier to move existing documents into WPS Writer. It does not fix Microsoft Word's bookmark behavior; check conditional fields and merged output when moving a mail merge document between applications.

Frequently Asked Questions
How do I show text only when a merge field says yes?
In the main document, select Mailings > Rules > If...Then...Else. Choose the field, set the comparison to Equal to yes, enter the text to show, and leave the otherwise text blank.
Does an IF field preserve the original bookmark?
No. An IF field inserts conditional text but does not preserve or recreate the bookmark. Use it when the goal is to control displayed content rather than retain a bookmark.
How can I check the conditional text before finishing the merge?
Select Mailings > Preview Results and use the record navigation controls to inspect records with different values.
Does Word create separate files when I select Edit Individual Documents?
Finish & Merge > Edit Individual Documents creates a merged document containing the selected records, not necessarily a separate file for each record. A mail-merge add-in may be needed to create individual Word or PDF files.




