Formula help: =IF with dates and single-select dropdown
Hi Community,
I'm trying to create an =IF statement with a date column and single-select dropdown column to achieve the following output:
- If the input date is greater than 30 days in the future, select "Future" from dropdown
- If the input date is less than 30 days in the future, select "Upcoming" from dropdown
- If the input date is less than today's date, select "Past" from dropdown
Thanks for the help!
Best Answer
-
Try this...
=IF(Date Column]@row < TODAY(), "Past", IF([Date Column]@row < TODAY(30), "Upcoming", "Future"))
Answers
-
Try this...
=IF(Date Column]@row < TODAY(), "Past", IF([Date Column]@row < TODAY(30), "Upcoming", "Future"))
-
That worked perfect - thanks so much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!