Skip to main content
I am trying to create a validation rule so that when an an opportunity greater than 2500 and is in stage of lost, closed lost, closed won, or 7. won requires competitor (picklist) field is required.

 

This is what I have but I am getting a syntax error

 

AND( 

 

OR( 

 

ISPICKVAL(StageName,"Lost"), 

 

ISPICKVAL(StageName,"Closed Lost"), 

 

ISPICKVAL(StageName,"Closed Won"),

 

ISPICKVAL(StageName, "7. Won") 

 

), 

 

Amount >= 2500, 

 

 

 

ISBLANK(TEXT(Competitor__c)) 

 

)
2 respuestas
  1. 10 dic 2018, 14:58
    Hi Jenny,

     

    Your formula looks ok, just copy paste the below

     

    or try using the insert field button and add each line of the formula

    AND(

    OR(

    ISPICKVAL(StageName,"Lost"),

    ISPICKVAL(StageName,"Closed Lost"),

    ISPICKVAL(StageName,"Closed Won"),

    ISPICKVAL(StageName,"7. Won")

    ),

    Amount >= 2500,

    ISBLANK(TEXT(Competitor__c))

    )

     

     
0/9000