Count if /Count ifs help

Imran Azam

Board Regular
Joined
Mar 15, 2011
Messages
103
Hi Guys

I have the below data , i am trying to do a formula that would count the number of "open" status the Manager "roy" has.

i tried a countifs but could get it right

can any one provide any help?

[TABLE="width: 200"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]name[/TD]
[TD]manager[/TD]
[TD]id[/TD]
[TD]status[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]james[/TD]
[TD]roy[/TD]
[TD]1[/TD]
[TD]open[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]jack[/TD]
[TD]roy[/TD]
[TD]1[/TD]
[TD]closed[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]alex[/TD]
[TD]Ian[/TD]
[TD]1[/TD]
[TD]open[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]jack[/TD]
[TD]roy[/TD]
[TD]1[/TD]
[TD]open[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]jones[/TD]
[TD]Ian[/TD]
[TD]1[/TD]
[TD]open[/TD]
[/TR]
</tbody>[/TABLE]


Thank you in advance
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Book1
ABCD
1namemanageridstatus
2jamesroy1open
3jackroy1closed
4alexIan1open
5jackroy1open
6jonesIan1open
7
8
9royopen2
Sheet4
Cell Formulas
RangeFormula
C9=COUNTIFS(B2:B6,A9,D2:D6,B9)
 
Upvote 0
ABCD
namemanageridstatus
jamesroyopen
jackroyclosed
alexIanopen
jackroyopen
jonesIanopen
royopen

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]3[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]4[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]5[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]6[/TD]

[TD="align: right"]1[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=E2EFDA]#E2EFDA[/URL] , align: right"]2[/TD]
[TD="align: right"][/TD]

</tbody>
Sheet4

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C9[/TH]
[TD="align: left"]=COUNTIFS(B2:B6,A9,D2:D6,B9)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
thank you
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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