Calculate a weighted grade
Combine a project, an exam and classwork with different weights.
Enter weights 40%, 40%, 20% in B1:D1 and scores 80, 90, 75 in B2:D2.
=SUMPRODUCT(B2:D2,$B$1:$D$1)Multiply each score by its weight and add the products. The fixed header references stay in place when you fill down.
Result 83 out of 100
Count days marked present
Count a learner’s attended sessions from a week of attendance codes.
Enter P, A, P, P, P in B2:F2.
=COUNTIF(B2:F2,"P")P is the attendance code for present in this example. COUNTIF counts its occurrences.
Result 4 sessions
Rank scores with tied marks
Find a learner’s place in the class, giving equal scores the same rank.
Enter 88, 95, 88, 72 in B2:B5.
=RANK.EQ(B2,$B$2:$B$5,0)Zero orders the list from highest to lowest. The two scores of 88 share second place.
Result 2
How to calculate weighted average in Excel (using SUMPRODUCT)
How To Count Attendance in Excel Using COUNTIF Formula | Tutorials
How to Find Student Ranks Using the RANK Function in Excel
Practice workspace
Calculate a weighted grade
The project, exam and classwork weights are in B1:D1. Combine the scores in B2:D2 into a grade out of 100.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | ||||
| 2 |
Show example formula
=SUMPRODUCT(B2:D2,$B$1:$D$1) Count days marked present
Count the sessions marked P for present in this week of attendance.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 |
Show example formula
=COUNTIF(B2:F2,"P") Rank scores with tied marks
Rank the learner in B2 against all four scores, with the highest score first and equal scores sharing a rank.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 |
Show example formula
=RANK.EQ(B2,$B$2:$B$5,0) Lesson quiz
Answer three questions to see your level in this lesson.
