Conditional Formatting based on Status and End Date
Hello,
I know this may be have been answered before but I would like some help with the following.
I have a sheet with
- % complete
- Status (Not Started, In Progress, Blocked, and Complete)
- Start Date and End Date
I would like to create some sort of FLAG or conditional formatting with the following logic.
- If due date is in 3 days & status not in "Complete" —> yellow flag or yellow formatting
- if due date is today or in the past & status not in "Complete" —> Red flag or red formatting
There may be other scenarios, but I think I might be able to add those in.
Thanks for all the help.
RN
Answers
-
Hello @RolandN,
Would something like below get you started using a symbols column? If you need the formula tailoring to your needs, I or someone from here will happily help you.
Formula below will….
- If [Due Date] is less than today and [Status] is anything other than complete - Red,
- If [Due Date] is within the next 3 days and [Status] is anything other than complete - Yellow
- If anything else - Green
=IF(AND([Due Date]@row <= TODAY(), Status@row <> "Complete"), "Red", IF(AND([Due Date]@row <= TODAY() + 3, [Due Date]@row > TODAY(), Status@row <> "Complete"), "Yellow", "Green"))
I hope that is helpful to you in some way,
Protonsponge
-
Give this a try:
=IF(Status@row <> "Complete", IF([Due Date]@row <= TODAY(), "Red", IF([Due Date]@row <= TODAY(3), "Yellow")))
The above will do exactly what you have outlined in your post.
- If due date is in 3 days & status not in "Complete" —> yellow flag or yellow formatting
- if due date is today or in the past & status not in "Complete" —> Red flag or red formatting
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!