COUNTIFS formula in excel

ananddalal

New Member
Joined
Aug 8, 2017
Messages
1
Hello, Please advise how do I use multiple COUNTIFS formula to count the number of times individual name is displayed for each of the quarters. I have pasted the desired result below. Will appreciate your help.

[TABLE="width: 262"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD] [/TD]
[TD]3Q2019[/TD]
[TD]4Q2019[/TD]
[TD]1Q2020[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Harry[/TD]
[TD] [/TD]
[TD="align: right"]3[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Noel[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Scott[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/31/2020[/TD]
[TD]John[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]12/31/2019[/TD]
[TD]Harry[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10/31/2019[/TD]
[TD]Harry[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8/31/2019[/TD]
[TD]Noel[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/31/2020[/TD]
[TD]John[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]12/31/2019[/TD]
[TD]Harry[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10/31/2019[/TD]
[TD]Noel[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8/31/2019[/TD]
[TD]Scott[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3/31/2020[/TD]
[TD]Noel[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]12/31/2019[/TD]
[TD]Scott[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10/31/2019[/TD]
[TD]Scott[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8/31/2019[/TD]
[TD]Noel[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi & welcome to MrExcel.
How about


Book1
ABCD
13Q20194Q20191Q2020
2John002
3Harry030
4Noel211
5Scott120
6
7
831/03/2020John
931/12/2019Harry
1031/10/2019Harry
1131/08/2019Noel
1231/03/2020John
1331/12/2019Harry
1431/10/2019Noel
1531/08/2019Scott
1631/03/2020Noel
1731/12/2019Scott
1831/10/2019Scott
1931/08/2019Noel
Sheet1
Cell Formulas
RangeFormula
B2=COUNTIFS($B$8:$B$19,$A2,$A$8:$A$19,">=01/07/2019",$A$8:$A$19,"<01/10/2019")
C2=COUNTIFS($B$8:$B$19,$A2,$A$8:$A$19,">=01/10/2019",$A$8:$A$19,"<01/01/2020")
D2=COUNTIFS($B$8:$B$19,$A2,$A$8:$A$19,">=01/01/2020",$A$8:$A$19,"<01/04/2020")
 
Upvote 0
Cross posted https://www.excelforum.com/excel-fo...59-countifs-formula-in-excel.html#post5164468

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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