Conditional formatting based on column date
Hello, I am trying to change the status of an action item to Red or Green based on the date it was completed.
The logic in my head, reads as follows (if (Completed>EndDate)) -> RED, else Green
but when using condition formatting , its not allowing me to select the EndDate column, instead its asking me to put a specific date.
I have attached a screen shot
Best Answer
-
Hi,
To do this you'll need an extra column that calculates that a task is late or not. You can target the cell you want to highlight or the whole row using conditional formatting.
You can keep the column hidden and just have it as a helper column or perhaps set it as a flag, so it's clear that the task is/was late.
The formula in the late column is:
=IF([Complete Date]@row > [End Date]@row, 1, 0)
And the conditional formatting rule is:
Hope that helps!
Tim
Answers
-
Hi,
To do this you'll need an extra column that calculates that a task is late or not. You can target the cell you want to highlight or the whole row using conditional formatting.
You can keep the column hidden and just have it as a helper column or perhaps set it as a flag, so it's clear that the task is/was late.
The formula in the late column is:
=IF([Complete Date]@row > [End Date]@row, 1, 0)
And the conditional formatting rule is:
Hope that helps!
Tim
-
Thank you for the help. I was able to add the helper column and highlight the completed column.
How do you get the FLAG? in the conditional formatting, I could not figure out how to say if Late is Flagged.
I Just said if Late equals to 1
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives