Count The Number Of Yes Entries & Complete The Month Based On A Date

npsnps

New Member
Joined
Sep 23, 2015
Messages
7
Hi,

Wonder if someone might be able to help me out with a formula based on the below.

I have a list of information and the answer is either yes or no, and comes with a corresponding date when the work was completed.

I would like to create a month summary that looks down the list of the Yes/No, and only counts the Yes entries and counts them in the correct month, so if there were three entries with any date in January, two yes and one no, there would be a 2 in the january summary box?

JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember
How Many Correct?101000000001
Correct?When?
Yes01/01/2017
No15/01/2017
Yes10/03/2017
No24/07/2017
No25/09/2017
No26/09/2017
Yes01/12/2017
No09/12/2017

<colgroup><col><col><col><col span="3"><col><col span="2"><col><col><col><col></colgroup><tbody>
</tbody>

Thanks
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Assuming row 1 contains actual dates (e.g 01/01/18 rather than "January")...
=SUMPRODUCT(--($B$6:$B$13="Yes"),--(MONTH($C$6:$C$13)=MONTH(B1)))
 
Upvote 0
Hi, if you can make you month headers a date, specifically the first of the month (you can format them as mmmm if you wish), then you can try something like this:


Excel 2013/2016
ABCDEFGHIJKLM
101/01/201701/02/201701/03/201701/04/201701/05/201701/06/201701/07/201701/08/201701/09/201701/10/201701/11/201701/12/2017
2How Many Correct?101000000001
3
4Correct?When?
5Yes01/01/2017
6No15/01/2017
7Yes10/03/2017
8No24/07/2017
9No25/09/2017
10No26/09/2017
11Yes01/12/2017
12No09/12/2017
Sheet2
Cell Formulas
RangeFormula
B2=COUNTIFS($B$5:$B$12,"Yes",$C$5:$C$12,">="&B1,$C$5:$C$12,"<"&EOMONTH(B1,0)+1)
 
Upvote 0

Forum statistics

Threads
1,215,635
Messages
6,125,942
Members
449,275
Latest member
jacob_mcbride

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