How to Control Word Mail Merge Checkboxes Using Excel Yes/No Values
Question details
The user wants to dynamically display checked or unchecked checkboxes in a Word mail merge document based on "Yes" or "No" values stored in an Excel data source.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Setting up a mail merge where specific visual indicators, such as checkboxes, need to toggle based on the source data from Excel.
- Observed behavior
- A method is needed to translate textual "Yes/No" data from an Excel spreadsheet into visual checkbox symbols during the Word mail merge process.
Ensure your Excel data source is properly formatted with clear "Yes" and "No" columns, and that the file is saved and closed before starting the mail merge process in Word.
Use an IF Field to Display Checkbox Symbols
Use Word's built-in IF field code to evaluate the Excel value and insert a checked or unchecked box symbol accordingly.
This is the most reliable method for visual mail merges. Instead of attempting to use actual interactive form controls (which do not map easily to merge data), Word evaluates the merge field and inserts Wingdings or Segoe UI Symbol characters representing checked and unchecked boxes.
Press Alt + F9 on your keyboard in your Word document to reveal the underlying field codes.
Place your cursor where you want the checkbox to appear and press Ctrl + F9 to insert a set of blank field braces { }.
Inside the braces, construct the IF statement. It should look like this: { IF { MERGEFIELD YourColumnName } = "Yes" "☑" "☐" }. Note: You must press Ctrl + F9 again to create the braces around MERGEFIELD. Copy the symbols from the Insert > Symbol menu.
Press Alt + F9 again to hide the field codes, then click 'Preview Results' on the Mailings tab to see your dynamic checkboxes.

Filter the Mail Merge Recipients
If you only need to generate documents for the "Yes" records, you can filter the Excel data source directly within Word instead of using checkboxes.
Easily Create Dynamic Mail Merges with WPS Writer
WPS Writer provides a robust and user-friendly Mail Merge feature fully compatible with Excel spreadsheets. You can easily insert IF fields, symbols, and manage data sources to create dynamic documents with checkboxes without complex setups.
- 1. Open data source: Open your document in WPS Writer, navigate to the 'Mailings' tab, click 'Open Data Source', and select your WPS Spreadsheet containing the Yes/No values.
- 2. Insert Word field rules: Click the 'Insert Word Field' button and select 'If...Then...Else...'.
- 3. Configure the rule: Set the field name to your Yes/No column, comparison to 'Equal to', and compare to 'Yes'. Paste your checked symbol in the 'Insert this text' box and the unchecked symbol in the 'Otherwise insert this text' box.
- 4. Preview and merge: Click 'View Merged Data' to test your dynamic checkboxes, then click 'Merge to New Document'.

Frequently Asked Questions
Why do my IF fields show the code instead of the checkbox symbol?
You likely have field codes toggled on in your document. Press Alt + F9 on your keyboard to toggle between viewing the raw field codes and the actual merged results.
Can I use actual clickable form checkboxes in a mail merge?
Standard mail merge does not easily support interactive form controls (like legacy forms or content controls) that toggle based on merge fields. Using symbol characters with an IF field is the recommended workaround to visually display the data.
What if my Excel data uses 1 and 0 instead of Yes and No?
You can simply adjust the IF field code to evaluate those numbers instead. For example: { IF { MERGEFIELD Status } = "1" "☑" "☐" }. Ensure you match the exact data output coming from your spreadsheet.
Where can I find the checked and unchecked box symbols in Word?
Go to the Insert tab, click on Symbol, and select More Symbols. Choose 'Wingdings' or 'Segoe UI Symbol' from the Font drop-down menu to find and insert the checkbox characters.




