How to to do IF AND(x , y) using MERGEFIELD

E

EricS

I am trying to do the following to work with no luck:

{IF AND( {MERGEFIELD TeamNum} = 3 , {MERGEFIELD BrchTyp}
= "HE") {MERGEFIELD PostFeeAmt} {MERGEFIELD PubFeeAmt}}

The above shows nothing. Any advise would be appreciated.

TIA,
Eric.-
 
D

Doug Robbins - Word MVP

Hi Eric,

You can't use AND. You will have to nest to IF statements

{ IF { MERGEFIELD TeamNum } = 3 { IF{ MERGEFIELD BrchTyp } = "HE" {
MERGEFIELD PostFeeAmt } { MERGEFIELD PubFeeAmt } } }

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top