Forum Discussion
spencer_g
9 years agoHelper I
Filter Page to Exclude Current Month
Hi everyone and thanks in advance. I have 3 years-worth of data that is continually being added to on a daily basis. At the end of each month I generate a report comparing that month and all mon...
- 9 years ago
One way would be to do something like this:
IsCurrentMonth = IF(MONTH([Date]) = MONTH(TODAY()),1,0)
Then just filter the page with IsCurrentMonth set to equal 0 only.
Greg_Deckler
9 years agoCommunity Champion
One way would be to do something like this:
IsCurrentMonth = IF(MONTH([Date]) = MONTH(TODAY()),1,0)
Then just filter the page with IsCurrentMonth set to equal 0 only.
spencer_g
9 years agoHelper I
Thanks smoupre!
Since I have multiple years worth of data, I had to make one small edition so it ended up looking like:
IF(MONTH([Date]) = MONTH(TODAY()) && YEAR([Date]) = YEAR(TODAY()), 1, 0)
But otherwise your formula worked like a charm.
Thanks again.