If statement based on date paired with Smartsheet Symbol
I have a sheet that lists due dates in one column, and I was wondering if there is a way to use an If/then statement within the symbol column to indicate the following:
If the due date is within last 12 months, the symbol is green
If the due date is between last 12-18 months, the symbol is yellow
If the due date is longer than last 18 months, the symbol is red
Is this possible?
Answers
-
You can absolutely do this, just need to nest a few IF( ) statements and utilize the Today( ) function with a negative number argument to get your ranges. Give this a shot:
=IF(ISBLANK([Due Date]@row), "", IF([Due Date]@row >= TODAY(-365), "Green", IF([Due Date]@row >= TODAY(-548), "Yellow", "Red")))
-MCS
-
Unfortunately, I'm receiving an #UNPARSEABLE error message when trying to use the above recommended formula.
-
@Michelle Tivis Did you update the column names to match exactly what you have in your sheet? If so, a screenshot of the formula in the sheet (similar to the screenshot below) would be helpful with troubleshooting.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!