search
HomeSoftware TutorialOffice SoftwareHow to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

This tutorial shows you two simple ways to calculate weighted averages in Excel: using the SUM or SUMPRODUCT function.

Previous articles covered basic Excel averaging functions. But what if some values are more important than others, impacting the final average more significantly? That's where weighted averages come in.

While Excel lacks a dedicated weighted average function, other functions effectively handle this calculation, as shown below.

  • What is a weighted average?
  • Calculating weighted averages in Excel
    • Using the SUM function
    • Using the SUMPRODUCT function

What is a weighted average?

A weighted average is a type of mean where some data points hold more weight than others. Each value is assigned a weight reflecting its importance.

Student grades often use weighted averages, as seen in the example below. A standard average uses the AVERAGE function, but we need a formula that incorporates the weights (column C).

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

Mathematically, a weighted average is calculated by multiplying each value by its weight, summing the products, and dividing by the sum of all weights.

In this example, the weighted average (overall grade) is:

((910.1)+(650.15)+(800.2)+(730.25)+(68*0.3)) / (0.1+0.15+0.2+0.25+0.3) = 73.5

Note the difference between the standard average (75.4) and the weighted average (73.5).

Calculating weighted averages in Excel

Excel uses the same approach, but simplifies the process using built-in functions.

Using the SUM function

The SUM function provides a straightforward approach:

=SUM(B2*C2, B3*C3, B4*C4, B5*C5, B6*C6)/SUM(C2:C6)

This mirrors the manual calculation, using cell references instead of numbers.

The screenshot shows the formula producing the same result as the manual calculation. Observe the difference between the standard average (C8) and the weighted average (C9).

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

While simple, the SUM formula is inefficient for large datasets. The SUMPRODUCT function is better suited for this.

Using the SUMPRODUCT function

The SUMPRODUCT function is ideal because it sums products directly. Instead of individual multiplications, you provide two arrays (ranges of cells) and divide by the sum of weights:

=SUMPRODUCT(values_range, weights_range) / SUM(weights_range)

With values in B2:B6 and weights in C2:C6, the formula becomes:

=SUMPRODUCT(B2:B6, C2:C6) / SUM(C2:C6)

Selecting the array in the formula bar and pressing F9 shows the underlying values:

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

SUMPRODUCT multiplies corresponding values from the two arrays (e.g., 910.1, 650.15, etc.), sums the products, and returns the total.

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

Comparing SUMPRODUCT to the SUM formula verifies identical results.

Weights don't need to sum to 100% or be percentages. You can use a priority scale, assigning points to each item, as shown below:

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)

This concludes the tutorial on calculating weighted averages in Excel. Download the sample spreadsheet to practice. The next tutorial will cover moving averages. Practice workbook

Excel Weighted Average - examples (.xlsx file)

The above is the detailed content of How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas). For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Consolidate in Excel: Merge multiple sheets into oneConsolidate in Excel: Merge multiple sheets into oneApr 29, 2025 am 10:04 AM

This tutorial explores various methods for combining Excel sheets, catering to different needs: consolidating data, merging sheets via data copying, or merging spreadsheets based on key columns. Many Excel users face the challenge of merging multipl

Calculate moving average in Excel: formulas and chartsCalculate moving average in Excel: formulas and chartsApr 29, 2025 am 09:47 AM

This tutorial shows you how to quickly calculate simple moving averages in Excel, using functions to determine moving averages over the last N days, weeks, months, or years, and how to add a moving average trendline to your charts. Previous articles

How to calculate average in Excel: formula examplesHow to calculate average in Excel: formula examplesApr 29, 2025 am 09:38 AM

This tutorial demonstrates various methods for calculating averages in Excel, including formula-based and formula-free approaches, with options for rounding results. Microsoft Excel offers several functions for averaging numerical data, and this gui

How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)How to calculate weighted average in Excel (SUM and SUMPRODUCT formulas)Apr 29, 2025 am 09:32 AM

This tutorial shows you two simple ways to calculate weighted averages in Excel: using the SUM or SUMPRODUCT function. Previous articles covered basic Excel averaging functions. But what if some values are more important than others, impacting the f

Using Excel Find and Replace in the most efficient wayUsing Excel Find and Replace in the most efficient wayApr 29, 2025 am 09:07 AM

This tutorial demonstrates how to efficiently locate and modify data within Excel spreadsheets using the Find and Replace function. We'll cover basic and advanced techniques, including wildcard searches and modifications across multiple workbooks. W

How to make a chart (graph) in Excel and save it as templateHow to make a chart (graph) in Excel and save it as templateApr 28, 2025 am 09:31 AM

This Excel charting tutorial provides a comprehensive guide to creating and customizing graphs within Microsoft Excel. Learn to visualize data effectively, from basic chart creation to advanced techniques. Everyone uses Excel charts to visualize dat

Excel charts: add title, customize chart axis, legend and data labelsExcel charts: add title, customize chart axis, legend and data labelsApr 28, 2025 am 09:18 AM

After you have created a chart in Excel, what's the first thing you usually want to do with it? Make the graph look exactly the way you've pictured it in your mind! In modern versions of Excel, customizing charts is easy and fun. Microsof

Using Excel REPLACE and SUBSTITUTE functions - formula examplesUsing Excel REPLACE and SUBSTITUTE functions - formula examplesApr 28, 2025 am 09:16 AM

This tutorial demonstrates the Excel REPLACE and SUBSTITUTE functions with practical examples. Learn how to use REPLACE with text, numbers, and dates, and how to nest multiple REPLACE or SUBSTITUTE functions within a single formula. Last week, we ex

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version