How to Calculate a Weighted Average in Excel

Microsoft Excel Logo

A weighted average is one that takes into account the importance, or weight, of each value. This article will show you how to use Excel’s SUMPRODUCT and SUM functions individually and how to combine the two to calculate a weighted average.

What is a Weighted Average?

A weighted average is an average that takes into account the importance, or weight, of each value.  A good example would be calculating a student’s final grade based on their performance on a variety of different assignments and tests. Individual assignments usually don’t count as much towards a final grade as the final exam—things like quizzes, tests, and final exams will all have different weights. The weighted average is calculated as the sum of all of the values multiplied by their weights divided by the sum of all of the weights.

The following example will demonstrate how to use Excel’s SUMPRODUCT and SUM functions to calculate a weighted average.

Let’s Look at an Example

For our example, let’s look at a student’s quiz and exam scores. There are six quizzes each worth 5% of the total grade, two exams each worth 20% of the total grade, and one final exam worth 30% of the total grade.  The student’s final grade will be a weighted average, and we will use the SUMPRODUCT and SUM functions to calculate it.

As you can see in our table below, we’ve already assigned the relative weights to each quiz and exam in the D column.

Excel table showing scores and weights assigned to several quizzes and exams

Step One: Calculate the SUMPRODUCT

First, let’s look at how the SUMPRODUCT function works. Start by selecting the cell where you want the result to appear (in our example, that’s cell D13). Next, navigate to the “Formulas” menu, select the “Math & Trig” drop-down, scroll to the bottom, and click on the “SUMPRODUCT” function.

On the Formulas tab, click Math & Trig, then select SUMPRODUCT

Read the remaining 27 paragraphs