1. When merging a letter in Word 2007, select Mailings from the menu bar.
  2. In the Write and Insert Fields section, select Rules, If...Then...Else...
  3. On the Insert Word Field:IF screen:
    • In the Field name drop-down, select the field name on which to base the conditional statement.
    • In the Comparison drop-down, select the appropriate operator.
    • In the Compare to field, enter the appropriate value.
    • In the Insert this text field, enter the statement to use if the value is true.
    • In the Otherwise insert this text field, insert the statement to use if the value is false. 
  4. Click the Save icon or select Save from the Office button at the top left of the page. Or (if using the Mail Merge Wizard) click the Save and Return to RE7 button on the toolbar.

For example, the conditional statement is dependent on the fund selected. If the Annual fund is used, the statement is, 'Your monies will go to help those less fortunate.' If another fund is used, the statement is, 'With your generous donation, you have helped to restore the mansion to its original condition.'

In the Insert Word Field:IF screen:

  • In the Field name drop-down, select Fund_description_1 (this is the name that the Fund field receives in the merge document).
  • In the Comparison drop-down, select Equal to.
  • In the Compare to field, enter Annual.
  • In the Insert this text field, enter:
    Your monies will go to help those less fortunate.
  • In the Otherwise insert this text: box, enter:
    With your generous donation, you have helped to restore the mansion to its original condition.

Insert Word Field:IF screen