How to specify multiple conditions with a nested IF field in Word (211363)
The information in this article applies to:
- Microsoft Word 2002
- Microsoft Word 2000
This article was previously published under Q211363 For a Microsoft Word 98 Macintosh Edition version of
this article, see
189026. For a Microsoft Word 97 version of this article, see
177287. SUMMARY In a mail merge main document, you can use an IF
(IF...THEN...ELSE) conditional statement to check whether one condition or
multiple conditions are met. This article provides a method of
nesting COMPARE statements in an IF field to test whether the conditions you
want are met. For additional information about
evaluating MERGEFIELDS without using the COMPARE field, click the article
numbers below to view the articles in the Microsoft Knowledge Base: 214827 WD2000: How to Use Nested IF Fields in a Mail Merge Document
212028 WD2000: How to Use Conditional Field to Specify Number of Digits
212178 WD2000: Cannot Merge a Barcode Field Based on a Condition
220250 WD2000: Err Msg: "Fields Are Nested Too Deeply" in Mail Merge
Modification Type: | Minor | Last Reviewed: | 7/27/2006 |
---|
Keywords: | kbProgramming kbfield kbhowto kbmerge KB211363 |
---|
|