Date Formula Q
Hi All.
Pretty easy one for you all, I think.
I'm trying to create a formula where in if the date in the "Date" column is < 12/31/2023, value of X is returned if true, and Y is returned if false (i.e, after the new year). Keep getting #UNPARSEABLE error. This is one that is easy in Excel, but can't get to work in SS.
=IF(Date@row<12/31/2023,x,[y])
Answers
-
Hi @mattimer,
Try this formula, it replaces your date of 12/31/2023 with a date creator function.
=IF(Date@row<DATE(2023,12,31),x,[y])
The date creator takes three arguments which are Year, Month then Day.
Hope this helps!
John
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 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!