Counting Grades

timetabler

New Member
Joined
Jun 15, 2010
Messages
27
I am trying to count the number of grades a student has acheived that are above a grade C.

I have a named range called gcsegrades which have each grade and their relevant point value on another sheet. d=34 c=40 b=46 a=52

Rather than doing a a vlookup against each and every-cell is there a better procedure that can do this?
data example:

Smith, John, C, C, B, D, A would give the answer 4
Blggs, Fred, D, , E, B, A would give the answer 2

(note Fred Bloggs did not have a result for the second exam).

Many Thanks
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Do you mean "C or above" rather than "above a grade C"? I can't see why John Smith would return a result of 4 otherwise...

Here's one way:
Excel Workbook
ABCDEF
1NameGrade1Grade2Grade3Grade4Grade5
2SchollarCCDA3
3JenningsBAD2
4SongECDE1
5Tom0
Sheet1
Excel 2002
Cell Formulas
RangeFormula
F2=COUNTIF(B2:E2,"<=C")
 
Upvote 0

Forum statistics

Threads
1,223,231
Messages
6,170,884
Members
452,364
Latest member
springate

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