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
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!