Document Editing Problems

Use IF Fields Instead of Bookmarks in Word Mail Merge

Steven ParkerSteven Parker Nov 22, 2026 868 views

Question details

Use a merge value to conditionally display text when bookmarks do not persist in merged documents.

Use IF Fields Instead of Bookmarks in Word Mail Merge
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.
Before you start

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.

Solution 1Recommended

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.

1
Place the insertion point

In the mail merge main document, click where the conditional text should appear.

2
Open the IF rule

On the Mailings tab, select Rules > If...Then...Else.

3
Set the condition

In the dialog, select the relevant field name, choose Equal to, and enter yes in the Compare to box.

4
Enter the output text

Enter the desired text in Insert this text, leave Otherwise insert this text blank, and select OK.

5
Preview and finish the merge

Select Mailings > Preview Results and browse records with different values. Then select Finish & Merge > Edit Individual Documents to review the merged output.

Insert an IF rule in the Word mail merge main document
Conditional text is not a bookmark: The IF rule controls what text appears; it does not preserve or recreate a bookmark in the merged document.
Free Microsoft Office alternative

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.

Open and edit Microsoft Word DOC and DOCX filesWork with mail merge documents in WPS WriterUse a familiar interface for a smoother transition from Microsoft OfficeGet a free, lightweight office suite
microsoft office alternative - wps office

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.