How to Use the Weighted Average Formula in Excel

Download Now: 10 Free Excel Templates
Martina Bretous
Martina Bretous

Published:

When you're calculating the average for a set of values, you're generally working with values that have the same weight and importance.

Excel user tries weighted average formula

 

But what happens if some values weigh more than others? This is where the weighted average formula comes in.

Download 10 Excel Templates for Marketers [Free Kit]

In this article, we will break down how to use this formula in Excel, plus provide some examples.

How to Calculate Weighted Average in Excel

sumproduct weighted average formula

To calculate the weighted average in Excel, you must use the SUMPRODUCT and SUM functions using the following formula:

=SUMPRODUCT(X:X,X:X)/SUM(X:X)

This formula works by multiplying each value by its weight and combining the values. Then, you divide the SUMPRODUCT but the sum of the weights for your weighted average.

Still confused? Let's go over the steps in the next section.

We're committed to your privacy. HubSpot uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.

Free Excel Marketing Templates

10 free templates to help you master marketing with Excel.

  • Marketing Reporting Template
  • Email Planning Template
  • SEO Template
  • And More!
Loading your download form

You're all set!

Click this link to access this resource at any time.

Access now
Learn more

Using SUMPRODUCT to Calculate Weighted Average in Excel

1. Enter your data into a spreadsheet then add a column containing the weight for each data point.

sumproduct to calculate weighted average in excel step 1

2. Type =SUMPRODUCT to start the formula and enter the values. sumproduct to calculate weighted average in excel step 2

3. Click enter to get your results.

sumproduct to calculate weighted average in excel step 3

How to Find Weighted Moving Averages in Excel

A weighted moving average is a technique used to keep the time period of the average the same as you add new data or give more weight to certain time periods. This can allow you to identify trends and patterns more easily.

For instance, say you have the number of views your website got in the last five days, you can easily determine the average views in a five-day period.

Now, say the next week, I ask for the five-day average, you would use data from the last five days, not the original five days from the previous week.

As such, you're still relying on the same time period but updating the data to generate the moving average.

For a weighted moving average, you give more weight to certain time periods than others. You may say that day 5 weights 60% with the remaining percentages decreasing by day.

As such, you'll need to manually calculate this formula.

WMA = [value 1 x (weight)] + [value 2 x (weight)] + [value 3 x (weight)] + [value 4 x (weight)]

Once you get the hang of it, using the weighted average formula is easy. All it takes is a little practice.

We're committed to your privacy. HubSpot uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.

Free Excel Marketing Templates

10 free templates to help you master marketing with Excel.

  • Marketing Reporting Template
  • Email Planning Template
  • SEO Template
  • And More!
Loading your download form

You're all set!

Click this link to access this resource at any time.

Access now
Learn more

 

 

Topics: Excel

Related Articles

We're committed to your privacy. HubSpot uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.

Tired of struggling with spreadsheets? These free Microsoft Excel templates can help.

Marketing software that helps you drive revenue, save time and resources, and measure and optimize your investments — all on one easy-to-use platform

START FREE OR GET A DEMO