RYGB status formula - some issues

Hoping to get some help! I'm new to Smartsheet and have been piecing together formulas from the community posts but running into an issue. I'm using the following formula to auto format the Schedule Health column with Red, Yellow, Green, Blue balls or just display "future" (the screen shot shows the criteria in column Task Name). I'm struggling with rows 77 and 79, somehow if the End Date is greater than 1 week from today, it will show "Future", instead of the corresponding Yellow or Green ball. I think I need to add one more condition to the formula for Yellow and Green but can't seem to process the info in my head!


= IF([Actual % Complete]@row = 1, "Blue", IF(OR(AND([Actual % Complete]@row <= 0.3, [Start Date]@row < TODAY(), [End Date]@row >= TODAY(), [End Date]@row <= TODAY(7)), AND([Actual % Complete]@row <> 1, [End Date]@row < TODAY())), "Red", IF(AND([Actual % Complete]@row < 0.75, [Start Date]@row < TODAY(), [End Date]@row >= TODAY(), [End Date]@row <= TODAY(7)), "Yellow", IF(AND([Actual % Complete]@row >= 0.75, [End Date]@row >= TODAY(), [End Date]@row <= TODAY(7)), "Green", "Future"))))


Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!