You need to sign in to do that
Don't have an account?
greg777
IF & OR statement help
I need help with the below. I am trying to have 3 separate OR conditions that return a different result into a custom field. Hopefully the below explains it.
IF(
OR(
ISPICKVAL(Purchase_Type__c , "CPAP" ) , CASE(Benefit_Code__c, "REG", 780, "ODS", 1040, "OWP", 1040, 0))
OR(
ISPICKVAL(Purchase_Type__c , "COMP" ) , CASE(Benefit_Code__c, "REG", 109.50, "ODS", 146, "OWP", 146, 0))
OR(
ISPICKVAL(Purchase_Type__c , "COMP-P" ) , CASE(Benefit_Code__c, "REG", 322.50, "ODS", 430, "OWP", 430, 0))
)
IF(
OR(
ISPICKVAL(Purchase_Type__c , "CPAP" ) , CASE(Benefit_Code__c, "REG", 780, "ODS", 1040, "OWP", 1040, 0))
OR(
ISPICKVAL(Purchase_Type__c , "COMP" ) , CASE(Benefit_Code__c, "REG", 109.50, "ODS", 146, "OWP", 146, 0))
OR(
ISPICKVAL(Purchase_Type__c , "COMP-P" ) , CASE(Benefit_Code__c, "REG", 322.50, "ODS", 430, "OWP", 430, 0))
)
Sure nice to have the support like this.
Greg