bcloud
2 years agoQrew Member
Case Statement with Dates always returns inital value
I am trying to use the following formula, but no matter what my Departure and Return dates are, the formula always returns the first value (ACTIVE). What am I missing here?
Case(true,
([Departure Date]<=Today() and [Return Date]>=Today()), "ACTIVE",
([Departure Date]<Today() and [Return Date]<Today()), "PENDING",
[Return Date]<Today(), "INACTIVE")
Thanks in advance for the help!
------------------------------
Brian Cloud
------------------------------
Case(true,
([Departure Date]<=Today() and [Return Date]>=Today()), "ACTIVE",
([Departure Date]<Today() and [Return Date]<Today()), "PENDING",
[Return Date]<Today(), "INACTIVE")
Thanks in advance for the help!
------------------------------
Brian Cloud
------------------------------