Nested if RYG

I am trying to write the easiest "if" statement and It will not work.... All I am trying to is the following:

Red if the "action due date" is in the past and the "Status 2" is either Open, In Planning, In Testing, Monitoring.

Yellow if he "action due date" is Today and the "Status 2" is either Open, In Planning, In Testing, Monitoring.

Green for everything else

Answers

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭

    @rodney.alexander2

    =IF(AND(([Date 1]@row < TODAY()), (OR([Status 2]@row = "OPEN", [Status 2]@row = "In Planning", [Status 2]@row = "In Testing"))), "Red", IF(AND(([Date 1]@row = TODAY()), (OR([Status 2]@row = "OPEN", [Status 2]@row = "In Planning", [Status 2]@row = "In Testing"))), "Yellow", "Green"))

    ... seems to work ... (I don't think I have nested ORs inside an AND before, at least not in SmartSheet)

    Btw, the colours needed to be lower case or the symbols/bubbles didn't appear.

    dm

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!