Forum Discussion

Eddy_the_Surveyor's avatar
Eddy_the_Surveyor
Copper Contributor
Feb 01, 2021

Countifs based on specific months and selected criteria

Hi Excel Guru's,

 

How do I count up the number of cells, in a column, based on dates and a specific word? I want to count up how many reports are ISSUED each month, starting in January 2020 through until December 2020.

 

What is the simplest way to do this? I have attached an example of what I am trying to do. Maybe countifs isn't the most appropriate formula.

 

Any help would be greatly appreciated.

 

Thanks, 

 

Eddy

2 Replies

  • JMB17's avatar
    JMB17
    Bronze Contributor
    You could also try this in H57 and copy down.

    =SUMPRODUCT(--(TEXT($G$2:$G$255,"mmyy")=TEXT(F257,"mmyy")),--($H$2:$H$255="Issued"))
  • mathetes's avatar
    mathetes
    Silver Contributor

    Eddy_the_Surveyor 

     

    Your table is, to be blunt, something of a mess. If there were good dates in the first column (in each row) a simple Pivot Table could count the various actions by month. And it would do it easily.

     

    COUNTIF could do the same, but also would require clean data. That's where you need to begin.

Resources