Countif based upon 'subject' appearing in a column on a different sheet.

mtaylor

Board Regular
Joined
May 1, 2013
Messages
73
Platform
  1. Windows
  2. MacOS
Hi all,

I have a huge number of records downloaded for the last academic year's reports.

I am currently using this: =COUNTIF(Results!K7:K1462,">2.5")

To count the results across the entire cohort, however, what I'm after is for it to only select cells which match up to a particular subject - i.e. Maths

I've had half a play and have got no-where apart from some tasty errors.

Here's what I put so far: =COUNTIFS(Results!$K$2:$K$1462,Results!$G$2:$G$1462,$E7)

Results is the name of the tab containing all the results.
E7 is the name of the subject I'd like to cross-reference with
Column G contains the different subjects we want to select from
Column K contains the grades achieved.

1602409858052.png



Many thanks in advance

Matt
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
How about
Excel Formula:
 =COUNTIFS(Results!$K$2:$K$1462,">2.5",Results!$G$2:$G$1462,$E7)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,558
Messages
6,114,297
Members
448,564
Latest member
ED38

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