I need to build a status column that registers when any due dates in a project are nearing certain parameters. This is for projects that could have between 1 and 10 due dates. Formula at the bottom (it's a doozy).
- Green if any due dates in a row are > than today(+7).
- Yellow if any due dates are between Today(+7) and today.
- Red if any due dates are =< Today.
My difficulties are with the Yellow status and getting the formula to ignore blank cells.
- How do I get the if statement to recognize a date range based on today and not specific dates?
- How do I get the formula to ignore blank cells instead of counting them as < today.
=IF((AND([Assets Due]1 = "", [White Papers Due]1 = "", [Deck Due Date]1 = "", [Rendering Due Date]1 = "", [Client Quote Due]1 > TODAY(+7), [Printing Deadline]1 > TODAY(+7), [Comp1 Due Date]1 = "", [Comp2 Due Date]1 = "", [Comp3 Due Date]1 = "", [Comp4 Due Date]1 = "", [Comp5 Due Date]1 = "", [Comp6 Due Date]1 = "", [Comp7 Due Date]1 = "", [Comp8 Due Date]1 = "", [Comp9 Due Date]1 = "", [Comp10 Due Date]1 = "")), "Green", IF((AND([Assets Due]1 > TODAY(+7), [White Papers Due]1 > TODAY(+7), [Deck Due Date]1 > TODAY(+7), [Rendering Due Date]1 > TODAY(+7), [Client Quote Due]1 > TODAY(+7), [Printing Deadline]1 > TODAY(+7), [Comp1 Due Date]1 > TODAY(+7), [Comp2 Due Date]1 > TODAY(+7), [Comp3 Due Date]1 > TODAY(+7), [Comp4 Due Date]1 > TODAY(+7), [Comp5 Due Date]1 > TODAY(+7), [Comp6 Due Date]1 > TODAY(+7), [Comp7 Due Date]1 > TODAY(+7), [Comp8 Due Date]1 > TODAY(+7), [Comp9 Due Date]1 > TODAY(+7), [Comp10 Due Date]1 > TODAY(+7))), "Green", IF((OR([Assets Due]1 = TODAY(), [White Papers Due]1 = TODAY(), [Deck Due Date]1 = TODAY(), [Rendering Due Date]1 = TODAY(), [Client Quote Due]1 = TODAY(), [Printing Deadline]1 = TODAY(), [Comp1 Due Date]1 = TODAY(), [Comp2 Due Date]1 = TODAY(), [Comp3 Due Date]1 = TODAY(), [Comp4 Due Date]1 = TODAY(), [Comp5 Due Date]1 = TODAY(), [Comp6 Due Date]1 = TODAY(), [Comp7 Due Date]1 = TODAY(), [Comp8 Due Date]1 = TODAY(), [Comp9 Due Date]1 = TODAY(), [Comp10 Due Date]1 = TODAY())), "Yellow", IF((OR([Assets Due]1 <= TODAY(), [White Papers Due]1 <= TODAY(), [Deck Due Date]1 <= TODAY(), [Rendering Due Date]1 <= TODAY(), [Client Quote Due]1 <= TODAY(), [Printing Deadline]1 <= TODAY(), [Comp1 Due Date]1 <= TODAY(), [Comp2 Due Date]1 <= TODAY(), [Comp3 Due Date]1 <= TODAY(), [Comp4 Due Date]1 <= TODAY(), [Comp5 Due Date]1 <= TODAY(), [Comp6 Due Date]1 <= TODAY(), [Comp7 Due Date]1 <= TODAY(), [Comp8 Due Date]1 <= TODAY(), [Comp9 Due Date]1 <= TODAY(), [Comp10 Due Date]1 <= TODAY())), ""))))