How to make a weighted gradebook in Excel

This is not a transcript, and it is not the school’s official grade. The weights and the bands are the numbers Naomi Brooks typed for Algebra 1 at North High, posted 03/20/2026.

Homework is 20%, quizzes are 30%, and tests are 50%. The weights add to 100%.

Ava Singh’s homework marks are 92, 88, and 90. AVERAGEIFS of Homework is 90. Her quizzes are 84 and 90, which average 87. Her tests are 91 and 95, which average 93.

AVERAGEIFS
=AVERAGEIFS(scores,category,"Homework")
=AVERAGEIFS(B2:B4,A2:A4,"Homework")B5
Ava's homework
AB
1CategoryScore
2Homework92
3Homework88
4Homework90
5Homework90.00
92, 88, and 90 average to 90. AVERAGEIFS keeps the quiz and the test out of that average. The file does this for every student and every category.

SUMPRODUCT of those three averages and the three weights is the course grade. The file rounds it to the hundredth.

SUMPRODUCT
=ROUND(SUMPRODUCT(averages,weights),2)
=SUMPRODUCT(B2:B4,C2:C4)B5
Ava's course grade
ABC
1CategoryAverageWeight
2Homework90.000.20
3Quiz87.000.30
4Test93.000.50
5Course90.60
0.20 times 90 is 18. 0.30 times 87 is 26.10. 0.50 times 93 is 46.50. The sum is 90.60. An ordinary average of 90, 87, and 93 is 90, which ignores the test being half the course.

0.20 × 90 + 0.30 × 87 + 0.50 × 93 = 18 + 26.10 + 46.50 = 90.60. An ordinary average of 90, 87, and 93 is 90. That 90 treats the test as the same size as the homework. It is not.

Benito Ruiz is 75.00, 70.00, and 79.00. 0.20 × 75 + 0.30 × 70 + 0.50 × 79 = 15 + 21 + 39.50 = 75.50. Chloe Park is 95.00, 90.00, and 72.00. 0.20 × 95 + 0.30 × 90 + 0.50 × 72 = 19 + 27 + 36 = 82.00. Evan Cho is 60.00 in every category, so his course grade is 60.00.

LOOKUP reads bands that are sorted from 0. 90 is an A, 80 is a B, 70 is a C, 60 is a D, and anything under 60 is an F.

LOOKUP
=LOOKUP(score,floors,letters)
=LOOKUP(D2,A2:A6,B2:B6)D5
90.60 is an A
ABCD
1At leastLetterScore
20F90.60
360D
470C
580BA
690A
The bands are sorted from 0. 90.60 is at least 90, so the letter is A. 82.00 is a B, 75.50 is a C, and 60.00 is a D. A score under 0 is #N/A.

Ava’s 90.60 is an A. Chloe’s 82.00 is a B. Benito’s 75.50 is a C. Evan’s 60.00 is a D. The passing line is 70, so three students are at or above it and one is under it.

The four course grades add to 90.60 + 75.50 + 82.00 + 60.00 = 308.10. Divided by 4 that is 77.025, which displays as 77.03.

A different pair of scores, a 90 on 40 points and an 80 on 60 points, is 84 and a B. That walkthrough is How to calculate weighted grades in Excel. It is not this class.

In Microsoft 365, xl.weighted.average would return the course grade. This file uses SUMPRODUCT, so it opens in Excel 2010.

The worked file is the Teacher Gradebook.


Template for this article

Teacher Gradebook

More from the blog