Free Excel templates · People and school

Gradebook template

Record points for homework, quizzes, exams and projects, and get weighted category scores, an overall percentage, a letter grade and a class rank for each student.

Intermediate SUMPRODUCT ISNUMBER INDEX MATCH RANK.EQ IFERROR SUBTOTAL UPPER

Download the template

.xlsx, 20 KB · no macros · works in Excel 2016 and later (Windows and Mac), Microsoft 365 and Excel for the web. Built and checked in Excel: 8 calculations verified.

Preview of the Gradebook sheet

ABCDEFGH
1Gradebook
2Yellow cells are yours to change. Everything else calculates.
3
4ClassYear 9 Mathematics, autumn term
5CategoryHomeworkHomeworkHomeworkQuizzesQuizzesExamsProject
6Max points101010202010050
7StudentHW 1HW 2HW 3Quiz 1Quiz 2MidtermProject
8Ana910818178846
9Ben7815167440
10Chloe1091019209548
11David67512115833
12Elena89916188144

The sample data in the file. Replace it with your own.

What is inside

SheetWhat it does
How to useSteps and a link back to this page.
GradebookOne row per student: points per assignment, category percentages, overall %, grade and rank, with class averages.
SettingsCategory weights and the grade scale.

Any number of assignments per category Weights you set (checked to add up to 100%) Missing and excused work handled Letter grades from your own scale Rank in the class Low scores in red, class averages in the total row

How to use it

  1. On the Settings sheet, set the weight of each category (they should add up to 100%) and your grade scale, from the lowest minimum to the highest.
  2. On the Gradebook sheet, rename the assignment headings in row 7 and pick a category for each one in row 5.
  3. Type the maximum points for each assignment in row 6.
  4. List the students and type their points. Leave a cell empty if the work is not marked yet, or type EX if the student is excused.
  5. Category percentages, overall %, grade and rank fill in. The total row shows the class average for each column.
  6. Add a student in the first empty row under the table; add an assignment by inserting a column inside the assignment block.

How it works

Each category percentage is points earned divided by points possible, but only for the assignments in that category and only where the student has a mark. Two SUMPRODUCTs do this. The first adds the student's points where the category in row 5 matches. The second adds the maximum points of the same assignments, multiplied by ISNUMBER so empty and EX cells add nothing:

Formula
=IFERROR(SUMPRODUCT(--($B$5:$I$5=J$5),tblGrades[@[HW 1]:[Final exam]])/SUMPRODUCT(--($B$5:$I$5=J$5),--ISNUMBER(tblGrades[@[HW 1]:[Final exam]]),$B$6:$I$6),"")
Gradebook!J8: Homework % for the first student.
J9fx=IFERROR(SUMPRODUCT(--($B$5:$I$5=J$5),tblGrades[@[HW 1]:[Final exam]])/SUMPRODUCT(--($B$5:$I$5=J$5),--ISNUMBER(tblGrades[@[HW 1]:[Final exam]]),$B$6:$I$6),"")
ABCDEFGHIJ
5CategoryHomeworkHomeworkHomeworkQuizzesQuizzesExamsProjectExamsHomework
6Max points10101020201005010020% weight
7StudentHW 1HW 2HW 3Quiz 1Quiz 2MidtermProjectFinal examHomework %
8Ana9108181788469190.0%
9Ben7815167440EX75.0%

Ben has no mark for HW 3 yet, so his homework is 15 out of 20 possible points (75.0%), not 15 out of 30.

Result: 75.0%

Ben is also excused from the final exam (EX), so his exam score is the midterm alone: 74 out of 100.

The overall percentage is a weighted average of the category percentages, with the weights from row 6. The bottom part again uses ISNUMBER, so if a category has no marks yet, its weight is left out instead of counting as zero:

Formula
=IFERROR(SUMPRODUCT($J$6:$M$6,tblGrades[@[Homework %]:[Project %]])/SUMPRODUCT($J$6:$M$6,--ISNUMBER(tblGrades[@[Homework %]:[Project %]])),"")
Overall % column.

The grade uses MATCH with match type 1, which finds the largest minimum that is not above the score. That is why the scale must be sorted from low to high:

Formula
=IF([@[Overall %]]="","",INDEX(tblScale[Grade],MATCH([@[Overall %]],tblScale[Minimum %],1)))
Grade column.

Ana scores 90.0% on homework and 89.7% overall, just below the 90% needed for an A, so she gets a B. Chloe ranks first with 96.4%; the class average is 80.6%. Rank uses RANK.EQ, so two students with the same score share a place.

Customise it

  • Change the categories on the Settings sheet; the category drop-down in row 5 and the weights follow. Keep four category columns, or add one by copying the formulas.
  • Use a different scale, for example 1 to 10 or pass/merit/distinction: edit the grade table, keeping it sorted.
  • Add an assignment by inserting a column between the first and last assignment columns, then give it a category and maximum points. The formulas refer to the whole block, so they include it (How to calculate a weighted average in Excel explains the weighted average behind the overall %).
  • Hide the rank column if you do not share ranks with students.

Common questions

What is the difference between an empty cell and 0?

An empty cell means not marked yet and is left out. A 0 means the work was marked and got no points, so it counts. Use 0 for work that was not handed in.

What if the weights do not add up to 100%?

The total row on the Settings sheet adds them so you can check. The overall percentage divides by the weights actually used, so it is still a correct weighted average, but the balance between categories may not be what you intended.

Is Excel 365 needed?

No. SUMPRODUCT, RANK.EQ and the table references work in Excel 2010 and later, on Mac and on the web.

More free templates