Weighted Averages in Excel

    Calculate and check a weighted average in Excel with SUMPRODUCT and SUM.

    Free to download. No sign-up needed.

    Weighted Averages in Excel PDF cover

    A weighted average gives each value a share of the result based on its weight. This guide shows how to calculate one in Excel using SUMPRODUCT and SUM, compare it with an ordinary average, and check the inputs before relying on the result.

    Set up the scores and weights

    Label column A Score and column B Weight. Enter 60, 80 and 90 in A2:A4. Enter their matching weights of 1, 3 and 2 in B2:B4. The score of 80 has the largest weight, so it has the most influence on the result.

    Check the total weight in B6. With these inputs, it should be 6.

    =SUM(B2:B4)

    Calculate the weighted average with SUMPRODUCT and SUM

    Enter this formula in D2, outside the input ranges.

    =SUMPRODUCT(A2:A4,B2:B4)/SUM(B2:B4)

    SUMPRODUCT multiplies each score by its matching weight and adds the results. Here, 60 × 1, 80 × 3 and 90 × 2 add up to 480. SUM adds the weights, so the formula divides 480 by 6 and returns 80.

    Compare it with an ordinary average

    Use AVERAGE when every score should count equally.

    =AVERAGE(A2:A4)

    The ordinary average displays as 76.67 to two decimal places. The weighted average is 80 because the three scores carry different weights.

    Check how much each row contributes

    To see how much the first score contributes to the weighted average, enter this formula in a spare column.

    =A2*B2/SUM($B$2:$B$4)

    The first row contributes 10 points. Copy the formula down to check the remaining rows. The dollar signs keep the total weight range fixed, and the three contributions add up to 80.

    Check the weights before using the result

    Keep the two ranges the same size and make sure every score is on the same row as its weight. Check that scores and weights are stored as numbers, since text or blank cells can distort the result.

    Use weights of zero or above. A zero weight excludes a score. If all weights are zero, the average is undefined and Excel returns a division-by-zero error. Check the inputs if that happens.

    Percentage weights use the same formula. For example, 10%, 30% and 20% give the same result as weights of 1, 3 and 2. The formula divides by the total weight, so the percentages can add up to 60% and still give a weighted average of 80.

    Download the PDF to keep the worked example and formula checks beside your workbook.