ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. How to Calculate a Weighted Average in Excel

How to Calculate a Weighted Average in Excel

By ExcelReady Team·Updated October 30, 2026·6 min read

The short answer

To calculate a weighted average in Excel, multiply each value by its weight, add the results, and divide by the total of the weights: =SUMPRODUCT(B2:B5,C2:C5)/SUM(C2:C5). B2:B5 holds the values and C2:C5 the weights. Dividing by SUM keeps the answer right even when the weights don't add up to 100%.

Key takeaways

  • A weighted average gives some values more influence than others, for example a final exam worth 40% of a grade.
  • The formula is =SUMPRODUCT(values,weights)/SUM(weights).
  • AVERAGE treats every value equally, so it gives the wrong answer when items have different weights.
  • Weights can be percentages, quantities or hours: anything that says how much each value counts.
  • Keep values and weights in ranges of the same size, or SUMPRODUCT returns #VALUE!.
On this page+
  1. What is a weighted average?
  2. How to calculate a weighted average in Excel with SUMPRODUCT
  3. Why AVERAGE gives the wrong answer here
  4. Weighted average when the weights don't add up to 100%
  5. How to do a weighted average without SUMPRODUCT
  6. Common weighted average mistakes
  7. Where weighted averages are used at work
  8. Practise it

A weighted average in Excel is an average where some values count more than others. You calculate it by multiplying each value by its weight, adding those results, and dividing by the total weight: =SUMPRODUCT(values,weights)/SUM(weights). This guide shows the formula on two real examples, course grades and average price paid, and explains why plain AVERAGE gets these wrong.

What is a weighted average?#

A weighted average gives each value a weight that says how much it counts. A normal average treats every value equally. A weighted average lets a final exam count four times as much as homework, or lets a large order count more than a small one.

The maths is simple:

  1. Multiply each value by its weight.
  2. Add up those results.
  3. Divide by the total of the weights.

Excel has no WEIGHTED.AVERAGE function, so you build it from SUMPRODUCT and SUM. If you need a refresher on how SUM adds a range, see our Excel SUM function guide.

How to calculate a weighted average in Excel with SUMPRODUCT#

Here is a student's course grade, where each part of the course has a different weight:

ABC
1ComponentScoreWeight
2Homework9210%
3Quizzes7820%
4Midterm8530%
5Final exam7040%

Type the weights as 10%, 20% and so on, or as decimals (0.1, 0.2). Excel stores them the same way.

In F2, type:

Excel formula
=SUMPRODUCT(B2:B5,C2:C5)/SUM(C2:C5)

What each part does:

  • SUMPRODUCT(B2:B5,C2:C5) multiplies each score by its weight and adds them: 92×0.1 + 78×0.2 + 85×0.3 + 70×0.4 = 9.2 + 15.6 + 25.5 + 28 = 78.3.
  • SUM(C2:C5) adds the weights: 0.1 + 0.2 + 0.3 + 0.4 = 1.
  • The result is 78.3 ÷ 1 = 78.3.

Our guide to SUMPRODUCT explains in more detail how it multiplies row by row.

Why AVERAGE gives the wrong answer here#

AVERAGE gives every value the same weight, so it ignores how much each part of the course is worth.

Excel formula
=AVERAGE(B2:B5)

This returns 81.25, which is (92 + 78 + 85 + 70) ÷ 4. It is almost 3 points higher than the true grade of 78.3, because the low final exam score (70) carries 40% of the grade but only a quarter of the weight in AVERAGE.

Use AVERAGE when every item really counts the same, like the average of five test scores of equal value. Use a weighted average when the items have different importance or different sizes.

Weighted average when the weights don't add up to 100%#

Weights don't have to be percentages. They can be units, hours, or any measure of size. A common example is the average price you paid across several orders:

ABC
8OrderUnitsPrice per unit
9PO-11002.50
10PO-24002.10
11PO-3503.00

Here the units are the weights. The big order of 400 units should pull the average toward 2.10.

Excel formula
=SUMPRODUCT(B9:B11,C9:C11)/SUM(B9:B11)

SUMPRODUCT gives the total cost: 250 + 840 + 150 = 1,240. SUM gives the total units: 550. The weighted average price is 1,240 ÷ 550 = 2.2545..., about 2.25 per unit. Plain AVERAGE of the prices would say 2.53, which overstates what you really paid.

This is why you always divide by SUM(weights). When the weights happen to add up to 1 (100%), the division changes nothing. When they don't, it is the step that turns a weighted total into an average. To show two decimal places, wrap it: =ROUND(SUMPRODUCT(B9:B11,C9:C11)/SUM(B9:B11),2) returns 2.25.

How to do a weighted average without SUMPRODUCT#

You can also use a helper column, which some people find easier to check.

Step 1: Multiply each value by its weight#

In D2, type =B2*C2 and fill down to D5 with Ctrl+D (Windows) or ⌘D (Mac). Column D now shows 9.2, 15.6, 25.5 and 28.

Step 2: Divide the total by the total weight#

In F2, type:

Excel formula
=SUM(D2:D5)/SUM(C2:C5)

The result is again 78.3. The helper column shows each step, which is handy when you have to explain your work in a test. SUMPRODUCT does the same job in one cell and leaves the sheet tidier. Both are correct.

Common weighted average mistakes#

These are the errors that come up most often:

  • Dividing by the number of items. =SUMPRODUCT(B2:B5,C2:C5)/4 is wrong unless every weight is 1. Always divide by the sum of the weights.
  • Forgetting to divide at all. With weights that are units, the result is a total cost, not an average. If your "average" is far bigger than every value, this is the cause.
  • Ranges of different sizes. =SUMPRODUCT(B2:B5,C2:C6) returns #VALUE!. Both ranges must cover the same rows.
  • Weights typed as whole numbers by mistake. Typing 10 instead of 10% makes the weights add to 100, not 1. The formula still works if you divide by SUM, which is one more reason to always include it.
  • Blank weights. An empty weight counts as 0, so that value is ignored. That may be right (a test not taken yet) or a data gap: check before you report.

When you copy a weighted average down to other rows, lock the weights range with dollar signs, for example $C$2:$C$5, so it doesn't shift.

Where weighted averages are used at work#

Weighted averages appear wherever items have different sizes: average price per unit in purchasing, average salary across teams of different headcounts, scores in a supplier or performance review, and blended interest or commission rates. In job tests, a typical task gives you scores and weights and asks for the overall result, so expect the SUMPRODUCT/SUM pattern. The Excel skills for admin jobs guide lists other calculations that appear in office tests.

Two related calculations come up alongside this one: a running total that grows row by row, and MOD and INT for remainders and whole numbers. If formulas are still new to you, start with your first Excel formula.

Practise it#

Try the live exercise on this page to build the weighted grade yourself. Then practise AVERAGE, MIN and MAX in a live spreadsheet to see how a plain average behaves, and use the SUM and AutoSum lesson to get fast at selecting the ranges these formulas need.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

In F2, calculate the student's weighted average. Multiply each Score (B2:B5) by its Weight (C2:C5) with SUMPRODUCT, then divide by the SUM of the weights.

fx
ABCDEFG
1
Component
Score
Weight
Weighted average
2
Homework
92
0.1
3
Quizzes
78
0.2
4
Midterm
85
0.3
5
Final exam
70
0.4
6
7
8

Tip: SUMPRODUCT(scores, weights) gives the weighted total. Divide it by SUM(C2:C5).

Practise this in a lesson

LessonAVERAGE, MIN and MAXSummarize a list with its average, smallest and largest values.LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.Function guideAVERAGECalculate the mean in Excel with AVERAGE. See how it treats blanks and zeros, avoid common errors, and practice in a live sheet.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.

Frequently asked questions

What is the formula for a weighted average in Excel?

+

Use =SUMPRODUCT(values,weights)/SUM(weights). SUMPRODUCT multiplies each value by its weight and adds the results, and SUM of the weights scales the answer back to an average.

Is there a WEIGHTED AVERAGE function in Excel?

+

No. Excel has no built-in weighted average function, so you combine SUMPRODUCT and SUM. AVERAGE always gives each value the same weight.

Do the weights have to add up to 100%?

+

No, as long as you divide by SUM of the weights. If they do add up to 100%, SUMPRODUCT alone gives the same answer, but dividing by SUM is safer.

How do I calculate a weighted average without SUMPRODUCT?

+

Add a helper column that multiplies each value by its weight, such as =B2*C2, fill it down, then divide its SUM by the SUM of the weights.

Why is my weighted average higher than every value?

+

You probably skipped the division, or divided by the count of values instead of the sum of the weights. Check that the formula ends with /SUM(weights).

Sources

  • SUMPRODUCT function - Microsoft Support
  • AVERAGE function - Microsoft Support
  • SUM function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is a weighted average?
  2. How to calculate a weighted average in Excel with SUMPRODUCT
  3. Why AVERAGE gives the wrong answer here
  4. Weighted average when the weights don't add up to 100%
  5. How to do a weighted average without SUMPRODUCT
  6. Common weighted average mistakes
  7. Where weighted averages are used at work
  8. Practise it

Keep reading

Math· 6 min read

MOD and INT in Excel: Remainders and Whole Numbers

MOD returns the remainder after division: =MOD(127,12) gives 7, because 12 goes into 127 ten times with 7 left over. INT rounds a number down to a whole number: =INT(127/12) gives 10. Use them together to split a quantity into full groups and what's left, such as boxes and spare items, or hours and minutes.

Math· 6 min read

How to Make a Running Total in Excel

To make a running total in Excel, type =SUM($B$2:B2) in the first row next to your numbers and fill it down. The dollar signs lock the start of the range at B2, while the end moves down one row at a time, so each row adds everything from the top to itself. The last row equals the grand total.

Tests & careers· 5 min read

Excel Skills for Admin and Office Jobs

The core Excel skills for admin jobs are entering and editing data quickly, moving and selecting with the keyboard, totals with SUM, counts with COUNTIF, sorting and filtering lists, and clear formatting for currency, dates and headers. Add SUMIF and a simple lookup and you can handle most trackers, logs and reports an office uses.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free