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
- Smartsheet Customer Resources
- 64.1K Get Help
- 412 Global Discussions
- 221 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!