Skip to main content
Looking for some assistance with a validation rule for the following scenario:

 

If Billing Country (a text field) contains "Australia" or "New Zealand", picklist field "Account Business Unit" can't be blank.

 

Thank you.
2 risposte
  1. 14 feb 2017, 22:43

    Norm, just use this:

    AND(

    ISBLANK(Account_Business_Unit__c),

    OR(

    BillingCountry = 'Australia',

    BillingCountry = 'New Zealand'

    )

    )

     

    If account business unit is a picklist field,

    AND(

    ISBLANK(TEXT(Account_Business_Unit__c)),

    OR(

    BillingCountry = 'Australia',

    BillingCountry = 'New Zealand'

    )

    )

     

    That's it. Please insert the field names using the Insert Field button on the formula editor since I just assumed them.
0/9000