Conditional Formatting based on due date
I have a due date and want to have the "Risk" green if the due date is more than 15 days out and the Status is not "Complete". How do I do this?
Comments
-
Within the Conditional Formatting dialog box (button in the middle of your toolbar, looks like a grid with some colour to the squares) you can click on the drop down arrow on the left hand side and select the AND condition to add a second condition.
I have added a screen shot to show you what I mean.
Hope this helps.
Debbie Sawyer Consultant & Training Manager
-
If you are talking about the RYGB symbol column... you will want to use a formula in the symbol column,
=IF([Due Date]@row - Today() > 15, "Green", IF([Due Date]@row < Today(), "Red", "Yellow")
The formula will count everything greater than 15 as Green, Due dates in the past as REd and everything inbetween as Yellow.
-
Hi
Is it possible to compare 2 date columns in IF statement and do colouring based on that?
I would like to have separate delivery date for each row.
Regards,
Areg
-
Hi Areg,
Yes, it is. We’d use a so-called helper column to make it work. In my example I use a checkbox helper column. You can then use that in the conditional formatting.
Try something like this.
=IF(AND(ISDATE(DateA@row); ISDATE(DateB@row)); IF(NOT(DateA@row = DateB@row); 1; ""))
The same version but with the below changes for your and others convenience.
=IF(AND(ISDATE(DateA@row), ISDATE(DateB@row)), IF(NOT(DateA@row = DateB@row), 1, ""))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Areg Vrtanesyan It is very possible. You would need to put the IF statement in it's own column, then set up the Conditional Formatting to run based on this third column.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives