Trying to change colours based on dates
Hi
I am currently using this formula to highlight upcoming tasks to be completed:
=IF(Expiry@row < TODAY(45), "Red", IF(Expiry@row < TODAY(50), "Yellow", "Green"))
Now to need to add more logic that changes the colour to white once the task is complete. Should this be part of the same IF statement field or should I create a new column?
any assistance is appreciated.
Answers
-
You can totally do it in the same column. How are you indicating the project completion? What is the column name and the "complete" indicator?
-
There is a column that has a stated called "Bound" that once reached it should change to white.
This is the formula I added but it isn't working, I am sure I am doing something wrong but need HELP!
=IF(Expiry@row < TODAY(45), "Red", IF(Expiry@row < TODAY(50), "Yellow", "Green", IF([Renewal Status (UW)]@row = "Bound", "White")))
-
I hope you're well and safe!
Try changing the order of the different IF parts and maybe add the Bound part first.
The IF function checks and stops as soon as something is true.
Make sense?
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or 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.
-
Yes, I agree with @Andrée Starå
Try this formula which leaves the symbol column blank (white) for items that are bound.
=IF([Renewal Status (UW)]@row = "Bound", "", IF(Expiry@row < TODAY(45), "Red", IF(Expiry@row < TODAY(50), "Yellow", "Green")))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!