Hello,
I am using the formula below to count all instances of rows that contain "ADCVD" in my "2022 Archive RFI Reason" with my "2022 Archive Created Date Range".
My problem is that my Jan 21 data is located in in my "2021 Archive Created Date Range" sheet.
How can I modify this formula to look back 30 days in both archives?
=IF(MONTH(TODAY()) = 1, COUNTIFS({2022 Archive Created Date Range}, IFERROR(MONTH(@cell), 0) = 12, {2022 Archive Created Date Range}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()) - 1), COUNTIFS({2022 Archive Created Date Range}, IFERROR(MONTH(@cell), 0) = MONTH(TODAY()) - 1, {2022 Archive Created Date Range}, IFERROR(YEAR(@cell), 0) = YEAR(TODAY()), {2022 Archive RFI Reason}, CONTAINS("ADCVD", @cell)))