Today is between Two Dates

I need to do leave calendar, so if today is included in the leave duration, show “On Leave”.
Technically, the formula would be =IF(AND(B1<=TODAY(),C1>=TODAY()),“On Leave”," ").

So first, what i made is using the if-then column (Start Date), turn up as “Yes”,
image

Second, if-then column (End Date), turn up as “Yes”,
image

Third, template column (Start - End),
image

Fourth, if-then column , will show who on leave,
image

But why some not applicable :
eg: row 211
my question is why ?
image

You could do this with a single if-then-else column.

  • If Start Date is after today, then false
  • If End Date is before today, then false
  • Else true
4 Likes

Oh how small my brain is…

Hey, if you asked me a year ago, I probably would have done something similar to what you were trying to do. Except I would have used about 4 extra columns :wink::crazy_face:

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.