Skip to main content
I am trying to create avalidation rule that says if a picklist value is any one of these selections, then another picklist field has to be "YES."  Please take a look at my rule and tell me where I am going wrong.  Appreciate it! 

 

AND(

 

ISPICKVAL(Compliance_Approved__c ,"YES"), 

 

CASE(Status,

 

"Open - Compliance Approved",1,

 

"Open - Board Approved",1,

 

"Open - GA Sent",1,

 

"Open - GA Received",1,

 

"Open - Wire/Check Instructions Confirmed",1,

 

"Open - Wire Sent",1,

 

"Closed",1,

 

"Open - Grant Receipt Letter Received",1,

 

0) = 1)

 

Thanks, 

 

Mike
4 个回答
  1. 2019年9月19日 19:20
    Hi Mike,

     

    You will have to reverse the condition-:

     

    NOT(ISPICKVAL(Compliance_Approved__c ,"YES"))

     

     As you want to throw error when Compliance approved is not equal to yes.

     

    Hope it helps!