C
CJOHNSO92
Can I combine 2 IF/AND/OR statements? Below are the two formulas -
individually, they each calculate properly.
IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D24>Cust!C24),Cust!C24,Cust!D24)
IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D26>Cust!C26),Cust!C26,Cust!D26)
When combined, I get an error
IF((AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D24>Cust!C24),Cust!C24,Cust!D24),IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D26>Cust!C26),Cust!C26,Cust!D26))
Any assistance appreciated! Thanks-
individually, they each calculate properly.
IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D24>Cust!C24),Cust!C24,Cust!D24)
IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D26>Cust!C26),Cust!C26,Cust!D26)
When combined, I get an error
IF((AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D24>Cust!C24),Cust!C24,Cust!D24),IF(AND(OR(Cust!B5="X",Cust!B5="Y"),Cust!D26>Cust!C26),Cust!C26,Cust!D26))
Any assistance appreciated! Thanks-