Count number of cells that contain the month name entered in another cell

pct5003

New Member
Joined
Nov 6, 2013
Messages
4
Hello Friends,

I am struggling with creating the proper formula. I am trying to be able to display the count of cells that contain dates for a specific month I enter in another cell. Also I am using a separate tab to convert the month into a number. I tried using countif, but it does not appear to work. Below is an example of some of the data. I want to be able to display the count next to the month. Thanks in advance for the help!

Projects CompletedCountOverall StatusCompletion Date
Year to Date8Completed10/5/2015
OctoberCompleted11/19/2015
Completed12/18/2015
In Progress
Pending
Completed12/18/2015
Completed10/6/2015
Completed11/18/2015
Completed11/18/2015

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
One way

=SUMPRODUCT((TEXT(E2:E10,"mmmm")=A3)*1)

or

=SUMPRODUCT(--(TEXT(E2:E10,"mmmm")=A3))
 
Last edited:
Upvote 0
maybe...

B3=SUMPRODUCT(--(MONTH(A3&1)=MONTH($E$2:$E$10)))


Row\Col
A​
B​
C​
D​
E​
1​
Projects CompletedCountOverall StatusCompletion Date
2​
Year to Date
8
Completed
10/5/2015
3​
October
2
Completed
11/19/2015
4​
Completed
12/18/2015
5​
In Progress
6​
Pending
7​
Completed
12/18/2015
8​
Completed
10/6/2015
9​
Completed
11/18/2015
10​
Completed
11/18/2015

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,830
Members
449,096
Latest member
Erald

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