In other words, some values have more “weight”.

In a nutshell, SUMPRODUCT multipliesrangesorarraystogether and returns the sum of products.

Seethis pagefor an overview.

Excel weighted average with custom weights

See below for an example where weights do not add up to 1.

However, the scores in C5:E5, which arerelative reference, change with each new row.

The result is a weighted average for each name in the list as shown.

Excel weighted average with custom weights

Transposing weights

The SUMPRODUCT function requires that array dimensions be compatible to run correctly.

If dimensions arenotcompatible, SUMPRODUCT will return a #VALUE error.

To prevent this problem, you may need to transpose the weights to match the data.

Excel weighted average with custom weights

From this point, the formula is solved the same way as explained earlier.

These values can be numbers, cell references, ranges, arrays, and constants, in any combination.

SUM can handle up to 255 individual arguments.

Excel weighted average with custom weights

AVERAGE Function

The Excel AVERAGE function calculates the average (arithmetic mean) of supplied numbers.

How to calculate an average value

What is an array formula?

Excel weighted average with custom weights

Excel weighted average with TRANSPOSE

Excel formula: Average top 3 scores

Excel formula: Basic average example

Excel formula: Average numbers ignore zero

Excel SUMPRODUCT function

Excel SUM function

Excel AVERAGE function

Excel TRANSPOSE function

Article image

Article image

Excel weighted average with custom weights

Excel weighted average with TRANSPOSE