I need to count how many times an event occurred for each month of the year. In column F, I have the months listed as 1, 2, 3, 4 etc. instead of Jan, Feb, Mar, Apr, etc. They may repeat and aren't sorted. In column H, I have the event date. This date may repeat. Dates, also, aren't sorted. I need to count the number of events that occur in a certain month. I looked up on this forum and found a formula which works to count each distinct date, however I haven't been able to modify it correctly to give me the counts for just a particular month

=SUMPRODUCT(($H$14:$H$1014<>"")/COUNTIF($H$14:$H$1014,$H$14:$H$1014&""))

I forgot to mention, some of the cells in column H may be blank (not contain a date). Here's a sample:

Column F Column H
1
2
3
4
5
6
7
8
9
10
11
12
2
2
2 2/13/12
2 2/13/12
2 2/13/12
2 2/17/12
2 2/17/12
2 2/13/12
2 2/13/12
3 3/15/12
3 3/15/12
4 4/9/12
4 4/9/12
3 3/15/12
3 3/21/12


Any suggestions are welcomed.