Counting events per month

cpotts13

New Member
Joined
Feb 5, 2013
Messages
23
I am trying to figure out this count function but am having some trouble.

I have many rows of events and Column A has the date in m/d/yy format.
I want to count the number of occurances for each month.
The function I tried was COUNTIF(A2:A512, "1/??/12") for January 2012
I then tried reformatting the date column to mm/dd/yy format making the criteria "01/??/12"
This didn't work. Any ideas?
I would really like this to work with just a formula I can copy down and without creating new rows or tables.

Here is an example of the data: https://www.box.com/s/jssyn7hen4yzybjrm5g1
The yellow highlighted area is where the issue is (Column M)

Thanks!
 
maybe something like...

=SUMPRODUCT(--(MONTH(A1:A10)=MONTH(D1)))

assuming D1 contains the date of the month you are counting
 
Upvote 0

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