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
- 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
Check out the Formula Handbook template!