Skip to main content
Melissa Arce Villalobos 님이 #Formulas에 질문했습니다

Hi, I would like to make a formula that states: If an opportunity is type POV and the field MSA= Requested and the probability is higher than 0.99, and is not an admin user (super admin profile) who is trying to make this update to show an error message

Not sure, how to work with IF and AND statements together

답변 3개
  1. 2024년 8월 13일 오후 4:48

    Hi,

     

    Try this,

     

    AND(

    ISPICKVAL(Opportunity.Type, "POV"),

    ISPICKVAL(Opportunity.MSA__c, "Requested"),

    Opportunity.Probability > 0.99,

    NOT($Profile.Name = "Super Admin"),

    ISCHANGED(Opportunity.StageName)

    )