Row filter condition in slice by date, greater/lesser than

The date format is 30.07.2020 (day.month.year)

Here is what Iโ€™m trying to do, but I fail miserably. Iโ€™ve tried everything I could find on the subject.

[Start Date] should be newer than today. (Aka, In the future)
[END Date] should be older than today (Aka, In the past)

0 6 235
6 REPLIES 6

In generally the formula should be like AND([Start Date]>TODAY(),[End Date]<TODAY()), but Iโ€™m assuming that the Start Date is smaller than End Date. If that the case, there is no formula that could give you a result as TRUE.

Yes, that whas the results I got when I tried that. A blank page. They worked seperately when I tried. But not together.

Iโ€™m trying to filter out contracts that has not started yet and contracts that has ended, so the user doesnโ€™t see these rows. Any thoughts on a workaround?

EDIT: It was just a simple OR statement that was needed. Hashtag: Know when to take a breakโ€ฆ

AND(
[Tjeneste]<>โ€œMatteleieโ€,
[Tjeneste]<>โ€œSkadedyr-avt.โ€,
OR(
[Start Date]<TODAY(),
[End Date]>TODAY()
)
)

Excellent!

Just tested some more.

This is a really expensive formula. Look at the values in the middle. Before and after is without this formula.

3X_8_d_8d2fc82cf7cad3d6863625a1d9393deaa8e1b8af.png

I donโ€™t get it

Why wouldnโ€™t this work ? :

AND(
[Tjeneste]<>โ€œMatteleieโ€,
[Tjeneste]<>โ€œSkadedyr-avt.โ€,
[Start Date]<TODAY(),
[End Date]>TODAY()
)

I think that โ€œORโ€ will also give you contracts that started and ended in the past

Not sure why. I ended up with using apps script instead, adding โ€œ1โ€ to a column if I want that row to hide.

Top Labels in this Space