Problems with Count IF and SUMPRODUCT

degree01

New Member
Joined
Jul 24, 2012
Messages
32
I need to incorporate "Count IF" with the below formula. This formula looks at column A which is called "AV_GCSE_QCA". In column A it looks for any points between 52 to 55, if it falls between those figures it counts. I now need it to look at another column and see if the value is "B", if its B and between 52 to 55 than count.

=SUMPRODUCT((AV_GCSE_QCA>=52)*(AV_GCSE_QCA<55))

Please help.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Your second argument should be <=55 if you want to inlcude 55 as well and the whole formula:

=SUMPRODUCT((AV_GCSE_QCA>=52)*(AV_GCSE_QCA<=55)*(B2:B30="B"))
adjust the B rage to your needs

Excel >03
=COUNTIFS(AV_GCSE_QCA,">=52",AV_GCSE_QCA,"<=55",B2:B30,"B")
 
Upvote 0
I currently have the below formula to find out how many A grades a group of Turkish students are getting.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A"}))

Now I need to find out how many of them are getting grades As and Bs from a Column, I entered the below formula, it doesnt count B.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A","B"}))

Please help
 
Upvote 0
I currently have the below formula to find out how many A grades a group of Turkish students are getting.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A"}))

Now I need to find out how many of them are getting grades As and Bs from a Column, I entered the below formula, it doesnt count B.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A","B"}))

Please help

One way:

Excel 2010
ABI
16
2
3
4
5TurkishA
6
7Turkish CypriotA
8TurkishB
9
10
11TurkishA
12
13
14Kurdishb
15
16
17Turkish CypriotA
Sheet1
Cell Formulas
RangeFormula
A1=SUMPRODUCT(--(ISNUMBER(MATCH(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},0))),--(ISNUMBER(MATCH(I2:$I$84,{"A","B"},0))))
Named Ranges
NameRefers ToCells
Ethnicity=Sheet1!$A$2:A84
 
Upvote 0
I currently have the below formula to find out how many A grades a group of Turkish students are getting.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A"}))

Now I need to find out how many of them are getting grades As and Bs from a Column, I entered the below formula, it doesnt count B.

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A","B"}))

Please help

Try...

=SUM(COUNTIFS(Ethnicity,{"Turkish","Turkish Cypriot","Kurdish"},I2:I84,{"A";"B"}))
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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