M
macropod
Hi Lara,
Part of the limitation of Word's OR test is that it only supports two
conditions, as others have pointed out. This applies to AND tests also.
There is another way, though. Instead of using OR, you could use a numeric
test. For example:
{IF{={IF{MAILMERGE County}= "County1" 1 0}+{IF{MAILMERGE County}= "County2"
1 0}+{IF{MAILMERGE County}= "County3" 1 0}+{IF{MAILMERGE County}= "County4"
1 0}+{IF{MAILMERGE County}= "County5" 1 0}+{IF{MAILMERGE County}= "County6"
1 0}+{IF{MAILMERGE County}= "County7" 1 0}+{IF{MAILMERGE County}= "County8"
1 0}}> 0 "True Statement" "False Statement"}
In this case, adding the result of each IF test works the same as a series
of OR tests. Granted, you'll have nine IF tests, but you only need one true
(and perhaps one false) output statement.
Cheers
Part of the limitation of Word's OR test is that it only supports two
conditions, as others have pointed out. This applies to AND tests also.
There is another way, though. Instead of using OR, you could use a numeric
test. For example:
{IF{={IF{MAILMERGE County}= "County1" 1 0}+{IF{MAILMERGE County}= "County2"
1 0}+{IF{MAILMERGE County}= "County3" 1 0}+{IF{MAILMERGE County}= "County4"
1 0}+{IF{MAILMERGE County}= "County5" 1 0}+{IF{MAILMERGE County}= "County6"
1 0}+{IF{MAILMERGE County}= "County7" 1 0}+{IF{MAILMERGE County}= "County8"
1 0}}> 0 "True Statement" "False Statement"}
In this case, adding the result of each IF test works the same as a series
of OR tests. Granted, you'll have nine IF tests, but you only need one true
(and perhaps one false) output statement.
Cheers