Hi all...
I've gotten some good help on this forum before, so hopefully you all can help me out.
I'm trying to create a stoplight formula for tasks in a project plan. I would like to trigger colors of red, yellow, green based on the percentage complete of that task, and how far we are from the expected finish date of that task (column titled "Baseline Finish"). Someone here suggested I create a checkbox column that flags when today's date is within 7 days of baseline finish, which along with percentage complete would trigger the stoplight color. The formula we landed on is:
=IF(AND([7 Day Flag]@row = true, [% Complete]@row <= 0.25), "Red", IF(AND([7 Day Flag]@row = true, [% Complete]@row >= 0.75), "Green", IF(AND([7 Day Flag]@row = true, [% Complete]@row > 0.25, [% Complete]@row < 0.75), "Yellow", IF(AND[7 Day Flag]@row = false, [% Complete]@row <= 0.75), "Yellow", IF(AND([7 Day Flag]@row = false, [% Complete]@row > 0.75), "Green"))))
It was working fine until I added the "flag = false" functions, and now it is unparseable.
Does anything jump out as wrong? I'd appreciate any help. Thanks!