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
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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".
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,220
Members
448,876
Latest member
Solitario

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