Skip to main content

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 respuestas
  1. 13 ago 2024, 16: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)

    )