Activity Forums Salesforce® Discussions How to use If condition with picklist in formula field?

  • Avnish Yadav

    Member
    August 6, 2018 at 5:04 am

    Hello Anjali,

    You can use ISPICKVAL() with IF condition.

    Example-

    IF(ISPICKVAL(API__c1, "Option1"), Sobject.field_name,
    IF(ISPICKVAL(API__c2, "Option2"), Sobject.field_name
    IF(ISPICKVAL(API__c3, "Option3"), NULL))).

    Thanks.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos