The result I am getting, when the opportunity is blank, I will always get the ship to field as my branch. I can get this to work if I take the OR statement out and have only ship to <> External Jobsite. I can do the same vice versa with Vendor too. So, I believe there is something I am not understanding about the OR function. Any help would be appreciated! Thanks
IF(ISBLANK(Opportunity__c) && (TEXT(Ship_To__c) <> 'EXTERNAL JOBSITE' || TEXT(Ship_To__c) <> 'VENDOR'),
TEXT(Ship_To__c),
IF(ISBLANK(Opportunity__c) && (TEXT(Ship_To__c) = 'EXTERNAL JOBSITE' || TEXT(Ship_To__c) = 'VENDOR'),
TEXT(Ship_From__c),Opportunity_Branch__c))
2 Antworten
IF(ISBLANK(Opportunity__c),
IF(TEXT(Ship_To__c) = 'EXTERNAL JOBSITE' || TEXT(Ship_To__c) = 'VENDOR',
TEXT(Ship_From__c),
/*ELSE*/
TEXT(Ship_To__c)
),
/*ELSE*/
Opportunity_Branch__c
)
Try this