RYG formula assistance

I have a formula in a RYG column that should change the color based on date and % complete. I think I am missing something. Only red or green will show, i have not successfully made it turn yellow. It will just be blank, red or green.

=IF(OR([% Complete]@row = 1, [Start Date]@row > TODAY()), "Green", IF([End Date]@row < TODAY(), "Red", IF([End Date]@row = TODAY(), IF([% Complete]@row < 0.25, "Red", IF([% Complete]@row < 0.75, "Yellow")), IF([End Date]@row = TODAY(), IF([% Complete]@row > 0.75, "Green", IF([% Complete]@row < 0.25, "Red", IF([% Complete]@row < 0.5, "Yellow")))))))


Best Answer

Answers

  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    I also find that sometimes it helps to reorder the iF statements. Try putting the yellow IF statement first in the list. What results do you get then?

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!