Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Conditional formatting based on the current date?

Hi,
I'd like to highlight tasks (specifically the Start date cell) a color when that date is less than the current date (today) and Completion is 0% or null. Β In other words, which tasks were supposed to start but have not yet started. Β I realize this is a complex condition that uses two fields but it would be helpful as a PM tool. Β
Β
SS doesn't seem to allow a date condition to be defined using the current date.Β Β Meaning, it should recognize today's datestamp as part of the condition and not require me to enter a specific date as a new condition every time I want to run it. Β
Β
Similarly, this would be helpful to apply to Finish dates that are less than the current date.
Β
Am I missing something? Β If not, this seems to be an enhancement opportunity.
Β
Thanks.
Β
Β
Comments
-
Hi,
Smartsheet can do this. Β When you are setting up your Condition, there are two ways to set the criteria for a column. Β 1) pick from a list, or 2) Define custom criteria. Β If you define custom criteria you can select "is in the past", "is in the future", or "is today" from a drop down.
Β
checkout step 4 here:
http://help.smartsheet.com/customer/portal/articles/516359-conditional-formatting
Β
That step talks about this option.
-
Hello -- I would like to do something similar with conditional formatting. Β But I would like to be able to select how far in the past (or future) the condition applies. Β Such as apply XYZ formatting if the start date is more than 3 days in the past. Β This would require "today" to be variable, so that something like "Start Date is less than Today-3days" would be possible.
Β
Any work-arounds for this?
Β
Thanks!
-
Polly, conditional formatting can be used to say "if its in the last 3 days, apply this format" but it cannot say, "if its more than 3 days in the past, apply this format". There is a way to do this though...
Β
Add a checkbox column to your sheet with a formula that will check the box if the corresponding date is less than today - 3. Like this:
Β
=IF([Start Date]13 < TODAY(-3), 1)
Β
Then set your formatting rule based on the checkbox column (apply formatting if checkbox is checked).