Countif formula with 3 criteria selection

sdm2211

New Member
Joined
Nov 24, 2014
Messages
23
I have below data
[TABLE="width: 361"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]Status
[/TD]
[TD]Assigned Group
[/TD]
[TD]Response
[/TD]
[TD]Resolve
[/TD]
[/TR]
[TR]
[TD]Closed
[/TD]
[TD]Java
[/TD]
[TD]Met
[/TD]
[TD]Missed
[/TD]
[/TR]
[TR]
[TD]Cancelled
[/TD]
[TD]C++
[/TD]
[TD]Met
[/TD]
[TD]Missed
[/TD]
[/TR]
[TR]
[TD]Closed
[/TD]
[TD]C++
[/TD]
[TD]Missed
[/TD]
[TD]Met
[/TD]
[/TR]
[TR]
[TD]Closed
[/TD]
[TD]SAP
[/TD]
[TD]Missed
[/TD]
[TD]Met
[/TD]
[/TR]
[TR]
[TD]Closed
[/TD]
[TD]SAP
[/TD]
[TD]Met
[/TD]
[TD]Met
[/TD]
[/TR]
[TR]
[TD]Cancelled
[/TD]
[TD]Java
[/TD]
[TD]Missed
[/TD]
[TD]Met
[/TD]
[/TR]
[TR]
[TD]Cancelled
[/TD]
[TD]SAP
[/TD]
[TD]Met
[/TD]
[TD]Met
[/TD]
[/TR]
</tbody>[/TABLE]

Pivot Result of the above
[TABLE="width: 361"]
<tbody>[TR]
[TD]Status
[/TD]
[TD]Closed
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Count of Status
[/TD]
[TD]Column Labels
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Row Labels
[/TD]
[TD]Met
[/TD]
[TD]Missed
[/TD]
[TD]Grand Total
[/TD]
[/TR]
[TR]
[TD]C++
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Java
[/TD]
[TD][/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]SAP
[/TD]
[TD]2
[/TD]
[TD][/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Grand Total
[/TD]
[TD]3
[/TD]
[TD]1
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]

I want above result not in pivot but with formula like countifs etc.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
[TABLE="width: 1086"]
<colgroup><col><col><col><col><col span="10"></colgroup><tbody>[TR]
[TD]Status[/TD]
[TD]Assigned Group[/TD]
[TD]Response[/TD]
[TD]Resolve[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Closed[/TD]
[TD]Java[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cancelled[/TD]
[TD]C++[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Closed[/TD]
[TD]C++[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]closed[/TD]
[TD]closed[/TD]
[TD]cancelled[/TD]
[TD]cancelled[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Closed[/TD]
[TD]SAP[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]met[/TD]
[TD]missed[/TD]
[TD]met[/TD]
[TD]missed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Closed[/TD]
[TD]SAP[/TD]
[TD]Met[/TD]
[TD]Met[/TD]
[TD][/TD]
[TD][/TD]
[TD]C++[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cancelled[/TD]
[TD]Java[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[TD][/TD]
[TD]Java[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cancelled[/TD]
[TD]SAP[/TD]
[TD]Met[/TD]
[TD]Met[/TD]
[TD][/TD]
[TD][/TD]
[TD]SAP[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 2"]Pivot Result of the above[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Status[/TD]
[TD]Closed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Count of Status[/TD]
[TD]Column Labels[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Row Labels[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD]Grand Total[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C++[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]this is a simple sumproduct table[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Java[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]SAP[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]the top left 1 obtained by[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 7"]=SUMPRODUCT(($A$2:$A$8=H$4)*($B$2:$B$8=$G6)*($D$2:$D$8=H$5))[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]easy to add sub totals to it[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
[TABLE="class: grid"]
<tbody>[TR]
[TD][/TD]
[TD]
A
[/TD]
[TD]
B
[/TD]
[TD]
C
[/TD]
[TD]
D
[/TD]
[TD]
E
[/TD]
[/TR]
[TR]
[TD]
1
[/TD]
[TD]status[/TD]
[TD]Assigned Group[/TD]
[TD]Response[/TD]
[TD]Resolve[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
2
[/TD]
[TD]Closed[/TD]
[TD]Java[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
3
[/TD]
[TD]Cancelled[/TD]
[TD]C++[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
4
[/TD]
[TD]Closed[/TD]
[TD]C++[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
5
[/TD]
[TD]Closed[/TD]
[TD]SAP[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
6
[/TD]
[TD]Closed[/TD]
[TD]SAP[/TD]
[TD]Met[/TD]
[TD]Met[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
7
[/TD]
[TD]Cancelled[/TD]
[TD]Java[/TD]
[TD]Missed[/TD]
[TD]Met[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
8
[/TD]
[TD]Cancelled[/TD]
[TD]SAP[/TD]
[TD]Met[/TD]
[TD]Met[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
9
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
11
[/TD]
[TD]Status[/TD]
[TD]Closed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
12
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
13
[/TD]
[TD]Row Labels[/TD]
[TD]Met[/TD]
[TD]Missed[/TD]
[TD]Grand Total[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
14
[/TD]
[TD]C++[/TD]
[TD]
1​
[/TD]
[TD][/TD]
[TD]
1​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
15
[/TD]
[TD]Java[/TD]
[TD][/TD]
[TD]
1​
[/TD]
[TD]
1​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
16
[/TD]
[TD]SAP[/TD]
[TD]
2​
[/TD]
[TD][/TD]
[TD]
2​
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
17
[/TD]
[TD]Grand Total[/TD]
[TD]
3​
[/TD]
[TD]
1​
[/TD]
[TD]
4​
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


b14=
COUNTIFS($A$2:$A$8,$B$11,$B$2:$B$8,$A14,$D$2:$D$8,B$13) copy across and down

di14=SUM(B14:C14) copy down

b17==SUM(B14:B16) copy across until missed

hide 0 custom formating=[=0]""
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,205
Members
452,618
Latest member
Tam84

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