# IF FUNCTION

Options
✭✭✭✭✭

HI Everyone,

Good day. I cant seem to figure out the correct way to plot my and/or formula for grade C and B.

Could you help me figure out the correct statement?

thank you

• ✭✭✭✭✭✭
Options

Grade C formula (in [Co. C]1 cell?)

=IF(AND([Co. C]2 = "YES", [Co. C]3 = "YES", [Co. C]4 = "YES", OR([Co. C]5 = "NO", [Co. C]6 = "NO")), "C", "")

You're basically embedding the OR inside the AND, to say "if these three things are true, and at least one of these other two things is true, then it's grade C."

Same thing for Grade B formula (in [Co. D]1 cell?)

=IF(AND([Co. D]2 = "YES", [Co. D]3 = "YES", [Co. D]4 = "YES", [Co. D]5 = "YES", [Co. D]6 = "YES", [Co. D]9 = "YES",OR([Co. D]7 = "YES", [Co. D]8 = "YES")), "B", "")

Regards,

Jeff Reisman

If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!