IF and IF/AND formula - Please help! thanks

Hello,

My current formula that I have is =IF(Status@row = "Complete", "Green", IF(Status@row = "On Target", "Green", IF(Status@row = "In Jeopardy", "Yellow", IF(Status@row = "On-Hold", "Yellow", IF(Status@row = "Past Due", "Red", IF(Status@row = "Archived", "Green", IF(Status@row = "Complete Past Due", "Green", IF(AND(Status@row <> "Complete", [End Date]@row <= TODAY(+7), "Yellow", IF(AND(Status@row = "In Jeopardy", [End Date]@row <= TODAY(-7), "Red", IF(AND(Status@row = "On Target", [End Date]@row <= TODAY(+7), "Red")))))))))))))


For some reason all the IF statements seem to work by the result I am getting but the IF/AND statements are being ignored.


I need to add the 3 following IF/AND conditions after all the IF statements on the above example:

  1. If Status is not "Complete" and within 7 days prior to the End Date, then it should be "Yellow
  2. If Status is "On Target" and within 7 days after the End Date then "Red"
  3. Lastly, If Status is "In Jeopardy" and within 7 days after the End Date then "Red"

Please help me complete my formula.

Thank you!

Romi

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!