Formula To COUNT IF looking up 2 columns

jereece

New Member
Joined
Mar 18, 2002
Messages
25
I have a spreadsheet with 2 collumns as below.

Column A = Group
-Shift A
-Shift B
-Shift C
-Shift D
-Shift E
-Staff

Column B - Survey Resonse
-Excellent
-Average
-Needs Improvement

On a seperate tab, I want to list each group with a count for each survey resoponse. For example, I need a formula that will Count if Column A = Shift A and Column B = Excellent. In another cell a formula to count If Column A = Shift A and Column B = Average and so on.

If someone can just get me started, I can modify for each cell.

I appreciate your help.

Jim
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

tactps

Well-known Member
Joined
Jan 20, 2004
Messages
3,459
You have two options:
1. Pivot table (see help file on this)
2. formulas

To do the formula:
In cell C1, type: Shift A
In cell D1, type: Excellent

In cell E1, use the following formula:
=SUMPRODUCT(--($A$1:$A$10=$C1),--($B$1:$B$10=$D1))
This will count all cells in A1:A10 that are equal to "Shift A" and where the corresponding cells in B1:B10 equal "Excellent".
 

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,316
Members
414,053
Latest member
Dual Showman

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
Top