Weighted average

Weighted average

Related Functions

Sponsored Link

=SUMPRODUCT(numbers,weights)/SUM(weights)

To calculated a weighted average, you can use the SUMPRODUCT function together with the SUM function.

In the example shown, the formula in G7 is:

 
=SUMPRODUCT(C5:C11,D5:D11)/SUM(D5:D11)

How this formula works

The SUMPRODUCT function multiples arrays together and sums the result.

In this case, that means that SUMPRODUCT returns the total of each number times its corresponding weight. This number is divided by the sum of all weights, calculated by SUM.

A nice feature of this formula is that the weights don’t matter. In the example, they add up to 100%, but they can actually be any number that makes sense for your use case.

Sponsored Link

0 votes. 0 / 5

Excel - Excel Functions - Excel Formulas
Logo