Count by Month

Nanogirl21

Active Member
Joined
Nov 19, 2013
Messages
330
Office Version
  1. 365
Platform
  1. Windows
I have a set of data with dates in Col A and ranks in Col H.

How do you count how many entries/rows are for each month (Col A)?
How do you count how many times column H says "3" for each month and how many times it says "2"?

I know this is possible using a pivot table, but how would you accomplish this with basic formula?

Thank you for help.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Check out the COUNTIF and COUNTIFS functions.
 
Upvote 0
How about
+Fluff 1.xlsm
ABHIJKLMNOP
101/01/202101/02/202101/03/202101/04/202101/05/202101/06/2021
201/01/20213Total423343
311/01/202142002210
421/01/202113110020
531/01/20211
610/02/20215
720/02/20213
802/03/20214
912/03/20212
1022/03/20212
1101/04/20212
1211/04/20214
1321/04/20212
1401/05/20213
1511/05/20212
1621/05/20213
1731/05/20211
1810/06/20211
1920/06/20214
2030/06/20215
2110/07/20212
22
Data
Cell Formulas
RangeFormula
K2:P2K2=COUNTIFS($A:$A,">="&K$1,$A:$A,"<="&EOMONTH(K$1,0))
K3:P4K3=COUNTIFS($A:$A,">="&K$1,$A:$A,"<="&EOMONTH(K$1,0),$H:$H,$J3)
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top