In Excel: calculate a weighted average with =SUMPRODUCT(A2:A10,B2:B10)/SUM(B2:B10), where column A holds the values and column B their weights — plain AVERAGE ignores the weights entirely.
On this page7
Put values in one column and their weights in the next, row-aligned.
Compute =SUMPRODUCT(values,weights)/SUM(weights).
Check: with all weights equal, the result must match plain AVERAGE.
Keep the ranges the same height, or SUMPRODUCT returns #VALUE!.
What this does
A weighted average counts some values more than others: each value is multiplied by its weight, the products are summed, and the total is divided by the sum of the weights. SUMPRODUCT does the multiply-and-sum in one step. Dividing by SUM(weights) makes the formula correct even when the weights do not add up to 1 or 100%. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. Treat “excel calculate weighted average” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
Grades 90, 80, 70 carry weights 50%, 30%, 20%. =SUMPRODUCT({90;80;70},{0.5;0.3;0.2})/SUM({0.5;0.3;0.2}) returns 83. The unweighted AVERAGE would say 80 — the heavier weight on the 90 pulls the true result up by three points. Course grades, portfolio returns, average purchase prices, survey scores — whenever observations matter unequally, the weighted average is the honest summary number. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “excel calculate weighted average”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Using
AVERAGEand silently ignoring the weights. - Skipping the division by
SUM(weights)when weights do not sum to 1. - Misaligned ranges (
A2:A10againstB2:B9) causing#VALUE!. - Blank weight cells counting as zero without anyone noticing the row dropped out.
Frequently asked questions
What is the weighted average formula in Excel?
=SUMPRODUCT(values,weights)/SUM(weights). There is no built-in WEIGHTEDAVERAGE function.
Do the weights have to add up to 100%?
No — the division by SUM(weights) normalizes any positive weights.
How do I do a weighted average in a pivot table?
Add a helper column value×weight, sum both in the pivot, and divide via a calculated field.
Other ways people ask this
On the way here you may have searched this as “how to calculate weighted average in excel”, “how do i calculate weighted average in excel”, “how to calculate a weighted average in excel” and “calculate a weighted average in excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to calculate weighted average in excel”, “how do i calculate weighted average in excel”, “how to calculate a weighted average in excel” all point at the one operation explained on this page, which is why they all lead here.