20.2 C
London
Sunday, June 22, 2025
HomeSoftware TutorialsGoogle SheetsHow to Calculate a Weighted Average in Google Sheets

How to Calculate a Weighted Average in Google Sheets

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use one of the following methods to calculate a weighted average in Google Sheets:

Method 1: Use AVERAGE.WEIGHTED

=AVERAGE.WEIGHTED(B2:B5, C2:C5)

Method 2: Use SUMPRODUCT

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

Both formulas assume the values are in the range B2:B5 and the weights are in the range C2:C5.

Both formulas will return the same results, but the AVERAGE.WEIGHTED method requires less typing.

The following examples show how to use each formula in practice with the following dataset in Google Sheets:

Example 1: Calculate Weighted Average Using AVERAGE.WEIGHTED

We can type the following formula into cell E2 to calculate the weighted average of exam scores for this particular student:

=AVERAGE.WEIGHTED(B2:B5, C2:C5)

The following screenshot shows how to use this formula in practice:

weighted average in Google Sheets

From the output we can see that the weighted average of exam scores is 79.5.

Here’s how the AVERAGE.WEIGHTED formula actually calculated this value:

Weighted Average = (90*.15 + 80*.15 + 85*.15 + 75*.55) / (.15 + .15 + .15 + .55) = 79.5.

Example 2: Calculate Weighted Average Using SUMPRODUCT

We could also type the following formula into cell E2 to calculate the weighted average of exam scores for this particular student:

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

The following screenshot shows how to use this formula in practice:

From the output we can see that the weighted average of exam scores is 79.5.

This matches the weighted average that we calculated in the previous example.

Additional Resources

The following tutorials explain how to perform other common operations in Google Sheets:

How to Calculate Average If Cell Contains Text in Google Sheets
How to Calculate Average by Month in Google Sheets
How to Average Filtered Rows in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories