Hi I'm trying to report on the number of cases which were opened: last month, the month before , two months ago and all others before that BUT where the status is NOT 'closed'. This needs to take into account those opened in the previous years (some cases go back to 2017)
I have used the following formula for last month (without the status bit) but can't figure out the other date ranges and how to exclude the closed cases
=COUNTIFS({PSL Dev Request MASTER Range 4}, AND(IFERROR(MONTH(@cell), 0) = IF(MONTH(TODAY()) = 1, 12, MONTH(TODAY()) - 1), IFERROR(YEAR(@cell), 0) = IF(MONTH(TODAY()) = 1, YEAR(TODAY()) - 1, YEAR(TODAY()))))