IF, AND, and OR equation

Options
✭✭

Hello. I am trying to make an IF, AND equation with one of the constituents in the AND equation to have an OR function. The equation would go for the "Amount paid" column. The constituents would be "# of pets", "Talent" and "Time". The "Amount paid" would be \$125 if # of pets=1, Talent= External OR Rescue and Time=Half.

Here is what I have: =IF(AND(Talent@row = "External", OR(Talent@row = "Rescue"), [# of pets]@row = 1, Time@row = "Half"), 125)

The equations does not show any errors but does not populate the number.

• ✭✭✭✭✭✭
Options

@mpajuelo Try this instead: =IF(AND(AND(OR(Talent@row = "External", Talent@row = "Rescue"), [# of pets]@row = 1), Time@row = "Half"), "125", "")

• ✭✭✭✭✭✭
Options

@mpajuelo Try this instead: =IF(AND(AND(OR(Talent@row = "External", Talent@row = "Rescue"), [# of pets]@row = 1), Time@row = "Half"), "125", "")

• ✭✭
Options

Works perfectly, thank you!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!