vincetaylor
Senior Member
- Outlook version
- Outlook 2016 64 bit
- Email Account
- Exchange Server
I have a formula that checks for two conditions. Both conditions 1 and 2 must be met. If the condition is met, an error message is displayed
1. Rank is set to "High" or "Medium"
AND
2. Disposition is blank.
I am able to get condition 1 and 2 to work separately as follows:
1. IIF( Rank] ="High" OR [Rank]="Medium" ,"Invalid Entry","")
2. len([Disposition])>0
However and I try to combine the "OR" with the "AND", nothing works. I have tried to combine the OR with the AND using several techniques such as the following:
IIF( ( [Rank] ="High" OR [Rank]="Medium") AND (len([Disposition])>0) ,"Invalid Entry","")
Any help will be highly appreciated
1. Rank is set to "High" or "Medium"
AND
2. Disposition is blank.
I am able to get condition 1 and 2 to work separately as follows:
1. IIF( Rank] ="High" OR [Rank]="Medium" ,"Invalid Entry","")
2. len([Disposition])>0
However and I try to combine the "OR" with the "AND", nothing works. I have tried to combine the OR with the AND using several techniques such as the following:
IIF( ( [Rank] ="High" OR [Rank]="Medium") AND (len([Disposition])>0) ,"Invalid Entry","")
Any help will be highly appreciated