Counting number of occurances in a month

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
563
Office Version
  1. 2016
I am creating a spreadsheet with data on sheet called "MAIN" and a seperate sheet called "SUMMARY"

On sheet MAIN - column A contains a date in dd/mm/yy format. I need a formula to put into a cell in SUMMARY worksheet that will count the number of cells in column H that are from a particaular month, ie I will have 12 cells, one for Jan, one for Feb etc etc, and I need it to count the number of instances per month (ideally Oct 2011, November 2011, December 2011, January 2012) etc so when we start the new year it does not mix up 2011 and 2012 data

Can anyone help?

I have tried adding a column next to it, and running a COUNTIF command but that does not seem to work
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hiya, this is bringing up random numbers! (Its column H not A, but have substituted this) - with regards to the second part of the formula when it just has A1 this is selecting a cell on the SUMMARY sheet- is this correct or is that where the problem lies.
 
Upvote 0

Forum statistics

Threads
1,203,462
Messages
6,055,562
Members
444,799
Latest member
CraigCrowhurst

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