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
- 63.3K Get Help
- 392 Global Discussions
- 213 Industry Talk
- 447 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 292 Events
- 35 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!