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
- Customer Resources
- 67.1K Get Help
- 442 Global Discussions
- 154 Industry Talk
- 503 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!