Calculating the weighted average of letter grades

Megefl

New Member
Joined
Nov 30, 2017
Messages
1
Hi all,

I'm something of an Excel neophyte, and while I've mostly been able to cobble together some clunky algorithms to do what I need, I'm stuck on one point which has a few more variables than I can sort through, and have come up dry after scouring the internet.

Basically, I'm preparing a grading spreadsheet into which my TAs can enter student grades for each individual student and each assignment.
That looks a bit like this:

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Midterm[/TD]
[TD]Paper[/TD]
[TD]Final Exam[/TD]
[TD]Course Average[/TD]
[/TR]
[TR]
[TD]Student 1[/TD]
[TD]A[/TD]
[TD]B+[/TD]
[TD]A-[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Student 2[/TD]
[TD]A-[/TD]
[TD]B[/TD]
[TD]B+[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to find out how to get them a weighted average letter grade for the final column.

For each of 7 assignments, students receive letter grades with +s or -s.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<tbody>[TR]
[TD]A[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]A-[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]B+[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]B+[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]B-[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C+[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C-[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]D+[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD="align: right"]10[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]11[/TD]
[/TR]
</tbody>[/TABLE]

Each assignment is weighted differently:

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<tbody>[TR]
[TD]Assignment[/TD]
[TD]Weight factor[/TD]
[/TR]
[TR]
[TD]Midterm 1[/TD]
[TD="align: right"]10%[/TD]
[/TR]
[TR]
[TD]Midterm 2[/TD]
[TD="align: right"]10%[/TD]
[/TR]
[TR]
[TD]Paper[/TD]
[TD="align: right"]25%[/TD]
[/TR]
[TR]
[TD]Participation[/TD]
[TD="align: right"]20%[/TD]
[/TR]
[TR]
[TD]Final 1[/TD]
[TD="align: right"]11.67%[/TD]
[/TR]
[TR]
[TD]Final 2[/TD]
[TD="align: right"]11.67%[/TD]
[/TR]
[TR]
[TD]Final 3[/TD]
[TD="align: right"]11.67%[/TD]
[/TR]
</tbody>[/TABLE]


Because the weight factors and number of grade values are a bit complicated, I'd love it if Excel could average this for them.
Any insight into how I can make this happen would be hugely appreciated.
 

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.
Hi,

as a first step this might help:

Code:
function AvGrade(rng as range) as double
for each r in rng
select case r.value
case is "A" : Av = Av + 1
case is "A-" : Av = Av +2

etc

end select
AvGrade = Av / 3
end function

regards
 
Upvote 0
Hi all,

I'm something of an Excel neophyte, and while I've mostly been able to cobble together some clunky algorithms to do what I need, I'm stuck on one point which has a few more variables than I can sort through, and have come up dry after scouring the internet.

Basically, I'm preparing a grading spreadsheet into which my TAs can enter student grades for each individual student and each assignment.
That looks a bit like this:

MidtermPaperFinal ExamCourse Average
Student 1AB+A-
Student 2A-BB+

<tbody>
</tbody>

I want to find out how to get them a weighted average letter grade for the final column.

For each of 7 assignments, students receive letter grades with +s or -s.

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
A1
A-2
B+3
B+4
B-5
C+6
C7
C-8
D+9
D10
F11

<tbody>
</tbody>

Each assignment is weighted differently:

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
AssignmentWeight factor
Midterm 110%
Midterm 210%
Paper25%
Participation20%
Final 111.67%
Final 211.67%
Final 311.67%

<tbody>
</tbody>

https://gwacalculator.ph/
Because the weight factors and number of grade values are a bit complicated, I'd love it if Excel could average this for them.
Any insight into how I can make this happen would be hugely appreciated.
Hi,

I am working on an evaluation sheet in excel 2010. Which looks as following:

Criteria Weighfactor Score (A/B/C/D) Weighted score
1.Housekeeping 40% A ...
2.QHSE 20%
3. ...
4. ...
5. ...
6. ...
7. ...
8. ...

Every criteria has a weight factor which is a number. The rating that the evaluator is giving the criteria is a letter grade.
I do have the formula to calculate the average of all letters which is

=CHAR(INT(SUM(IF(E25:E78<>"",CODE(E25:E78))/COUNTA(E25:E78))))

Does anybody have an idea how to implement the weight factor (for example 40%) to the letter grade so at the end at the right average is calculated.

Thanks for your help,
 
Upvote 0
@bimatmpmet

It would have been better to start a new thread. Many helpers on the Forum search for unanswered threads, and so may have missed your question.

Your question is not totally clear, but does this help?

ABCDEF
1Weights
240301020
3
4CriteriaWeightedWeighted
5(1)(2)(3)(4)CodeChar
6DCC67.4C
7ADDD66.8B
8  
9ACDD66.5B
10ACCD66.4B
11BD66.7B
12CCCD67.2C
13DDC67.8C
14CDBD67.4C
15CBCD66.9B
16
17
18AverageWeighted
19BCCCCB
Sheet1
Cell Formulas
RangeFormula
E6:E15E6=IF(COUNTA(A6:D6),SUMPRODUCT(IF(LEN(A6:D6),CODE(A6:D6)),A$2:D$2)/SUMPRODUCT(A$2:D$2,LEN(A6:D6)),"")
F6:F15F6=IF(E6="","",CHAR(E6))
A19:D19,F19A19=CHAR(AVERAGE(IF(A6:A15<>"",CODE(A6:A15))))
E19E19=CHAR(AVERAGE(E6:E15))

I have followed your method of averaging. In column D this gives an average grade of C for criterion 4, even though 9 out 10 grades are D. This is because the average CODE for the column is 67.9, i.e. closest to 68 which is D. But CHAR(67.9) is the same as CHAR(67) which is C. Perhaps you could consider rounding to the nearest integer?

For similar reasons, the weighted grades in E19 and F19 may differ, depending on whether or not you convert the weighted CODE into a CHAR for each line.
 
Upvote 0
@bimatmpmet

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Calculating the weighted average of letter grades
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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