Why won't my COUNTIF formula not count anything from source sheet?

Hi all,

I currently have a system for three spreadsheets: 1) Masterlist for open/closed actions that feeds a 2) Open Actions sheet, and a 3) Closed Actions sheet. The formulas for the first two sheets work perfectly, however, when it comes to the third sheet (Closed Actions), my COUNTIFS formula will not count anything on it. I've tried several formulas to try and understand the cause of this issue, but nothing works. Below I've attached an example of my issue, along with the formula I'm using:

=COUNTIFS({date_closed}, IFERROR(YEAR(@cell), 0) = 2020, {date_closed}, IFERROR(MONTH(@cell), 0) = 1)

Thanks in advance!


Best Answer


  • Thanks David!

    I figured it was better to just copy the data into a new sheet and update the formulas, which somehow solved the issue.

  • David Tutwiler
    David Tutwiler Overachievers

    Interesting. Well, glad you got it working.

  • Marc Roussel
    Marc Roussel ✭✭✭✭✭✭


    I came across a similar situation with metrics production. In some cases COUNTIFS give me a value and if I use COUNT(COLLECT( and apply teh same criteria, I get another value, usually +1 from COUNTIFS. When I check the source data, teh COUNT(COLLECT( produces the right tally but COUNTIFS doesn't. I can't figure it out because it doesn't always happen. I can't find rhyme or reason. I decided to use COUNT(COLLECT(... going forward.

    Best regards,

    Marc Roussel