counting

Spikenaylor

Board Regular
Joined
Apr 14, 2013
Messages
116
Office Version
  1. 365
Platform
  1. Windows
my table is like below

I need to count how many r there are for all process only for Quality (5)
I need to count how many r there are for all process only for SHE (2)

etc

Many thanks for any help


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Process[/TD]
[TD]Day[/TD]
[TD]01[/TD]
[TD]02[/TD]
[TD]03[/TD]
[TD]04[/TD]
[TD]05[/TD]
[TD]06[/TD]
[TD]07[/TD]
[TD]08[/TD]
[TD]09[/TD]
[/TR]
[TR]
[TD]Process 1[/TD]
[TD]Quality[/TD]
[TD]n[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Process 1[/TD]
[TD]SHE[/TD]
[TD]n[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Process 2[/TD]
[TD]Quality[/TD]
[TD]n[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Process 2[/TD]
[TD]SHE[/TD]
[TD]n[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]g[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
something like...

Unknown[TABLE="class: grid, width: 400"]
<tbody>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[TD]K[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD]Process[/TD]
[TD]Day[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD]Process 1[/TD]
[TD]Quality[/TD]
[TD]n[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD]Process 1[/TD]
[TD]SHE[/TD]
[TD]n[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD]Process 2[/TD]
[TD]Quality[/TD]
[TD]n[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]r[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD]Process 2[/TD]
[TD]SHE[/TD]
[TD]n[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]g[/TD]
[TD]a[/TD]
[TD]g[/TD]
[TD]r[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[/TR]
</tbody>[/TABLE]
Sheet1

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B7[/TH]
[TD="align: left"]=SUMPRODUCT((B2:B5="Quality")*(C2:K5="r"))[/TD]
[/TR]
[TR]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B8[/TH]
[TD="align: left"]=SUMPRODUCT((B2:B5="SHE")*(C2:K5="r"))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
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