Formula Help, please
Good afternoon, everyone:
I'm trying to write a formula that will do the following:
If the end date is 14 days or less from today give me a yellow stoplight if the end date is past due give me a red stoplight, if the end date is greater than 14 days from today give me a green light and if the % complete=100% regardless of the dates give me a green stoplight regardless and if the end date is blank give me a blue stoplight.
I've been trying but have had no luck. Appreciate any assistance. Thank you so much.
Best Answer
-
Try the below:
=IF([%Complete]@row = "100%", "Green", IF(ISBLANK([End Date]@row), "Blue", IF( [End Date]@row < TODAY(), "Red", IF( ([End Date]@row - TODAY()) <= 14, "Yellow"))))
Answers
-
Try the below:
=IF([%Complete]@row = "100%", "Green", IF(ISBLANK([End Date]@row), "Blue", IF( [End Date]@row < TODAY(), "Red", IF( ([End Date]@row - TODAY()) <= 14, "Yellow"))))
-
I hope you're well and safe!
To add to Sameer's excellent advice/answer.
Try something like this.
=IF([%Complete]@row = 1, "Green", IF(ISBLANK([End Date]@row), "Blue", IF( [End Date]@row < TODAY(), "Red", IF( ([End Date]@row - TODAY()) <= 14, "Yellow"))))
Smartsheet looks at the numbers in a column formatted for percentage as values between 0 and 1. You'd need to use decimal values instead for it to work
25% = 0,25 (0.25)
50% = 0,5 (0.5)
100% = 1
Depending on your country/region, you'll need to exchange the comma for a period.
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 support the Community by marking it Insightful/Vote Up or/and as the accepted answer. 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.
-
Thank you both. Appreciate the assistance. Enjoy your day!
-
Happy to help!
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!