If statement based on date
Mary Ayers
✭✭✭✭
I am trying to create a formula within my "Academic Year" field so that if the "Date" is more than August 25, 2019, the Academic Year field contents will be "2019-20" -- otherwise, the field contents will be "2018-19".
=IF([Date]1 > (2019, 8, 25), "2019-20", "2018-19"
I am using the date format (2019, 8, 25) based on what I found online for working with dates in Excel. Not sure if that's the same for Smartsheet.
Advice appreciated!
Tags:
Comments
-
Try this...
=IF([Date]1 > Date(2019, 8, 25), "2019-20", "2018-19"
-
Perfect!! Thanks so much!
Mary
-
You're welcome!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.4K Get Help
- 446 Global Discussions
- 144 Industry Talk
- 478 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 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!