Hi Experts :),
I need help with my formula.
Principles I am trying to achieve are:
- if Min Variance column is blank AND the Minister Due Date is past today by less than 2 days, OR the Min Variance@row is Less than 2, then flag Yellow.
- If the Min Variance column is blank, AND the Minister Due Date is past today by more than 2 days OR the Min Variance@row is greater than 2, then flag Red
- If the Min Variance column is blank AND the Minister due date has not yet been reached OR the Min Variance @row is less than or equal to 0, then flag Green
- If no conditions are met flag gray.
I am very stuck on the brackets. But there may be a simpler way?
= IF(ISBLANK(AND([Min Variance]@row), [Minister Due Date]@row > TODAY(3), OR[Min Variance]@row >= 2)), "Red", IF(ISBLANK(AND(OR([Min Variance]@row), [Minister Due Date]@row > TODAY, [Min Variance]@row < 2))),"Yellow", IF(ISBLANK(AND([Min Variance]@row), [Min Due Date]@row <=0, "Green", "Gray"))
Really appreciate your help.