Check if today is in between the date in two cells
I am trying to get a formula to return a specific value if today is in between the date of two cells in a sheet, but I'm getting an #UNPARSEABLE error. This is the formula I am using:
=IF(AND(TODAY() > [Temp Move 1 Move In Date]@row, TODAY() <= [Temp Move 1 Move Out Date]@row), "Temp Move 1", "Not Temp Move 1"))
The column names of the dates I am comparing are Temp Move 1 Move In Date and Temp Move 1 Move Out Date.
Best Answer
-
I'm not sure why it won't work the way you have it written, but try this...essentially the same thing, just flipping things around a bit:
=IF(AND([Temp Move 1 Move In Date]@row < TODAY(), [Temp Move 1 Move Out Date]@row >= TODAY()), "Temp Move 1", "Not Temp Move 1")
Answers
-
I'm not sure why it won't work the way you have it written, but try this...essentially the same thing, just flipping things around a bit:
=IF(AND([Temp Move 1 Move In Date]@row < TODAY(), [Temp Move 1 Move Out Date]@row >= TODAY()), "Temp Move 1", "Not Temp Move 1")
-
I think that is working, thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.3K Get Help
- 390 Global Discussions
- 212 Industry Talk
- 446 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
Check out the Formula Handbook template!