Using Conditional Logic on a MS Word Merge Document

From SmartWiki
Jump to: navigation, search

MS Word Merge documents allow you to include conditional logic or IF...THEN statements. These allow you to vary the text within the MS Word document based on the contents of the fields merged from SmartSimple.

The example below does the following:

  • Adds the word "the" in front of the organization name if it starts with the word "University"
  • Uses the word "Payment" instead of "Payments" if there is only one payment:
MS Word Merge IF Statement Example


This is based on a function of Microsoft Word. More information can be found by searching the Microsoft Word support website for the terms IF Field.