Trying to combine if and statements in formula and keep getting incorrect syntax

Trying to return three different results for the above statements.

This is the formula I have been using:

=IF(AND(Status@row = "Open", [Targeted Completion Date]@row < TODAY(), "Red", =IF(AND(Status@row = "Open", [Targeted Completion Date]@row <= TODAY(+3)), "Yellow", "Green")))

What am I doing wrong?


  • Mike TV
    Mike TV ✭✭✭✭✭✭


    =IF(AND(Status@row, "Open", [Target Completion Date]@row, <TODAY()), "Red", IF(AND(Status@row, "Open", [Target Completion Date]@row, <=TODAY(3)), "Yellow", "Green"

    What you were doing wrong was not separating your range with criteria in your AND statements. You also do not start a nested IF with another equals sign.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!