Weighted Average in Excel โ€“ Shiksha Online

Weighted Average in Excel โ€“ Shiksha Online

4 mins read428 Views Comment
Rashmi
Rashmi Karan
Manager - Content
Updated on Mar 3, 2023 13:41 IST

This tutorial will teach you how to calculate a weighted average, also known as a weighted mean.

2022_04_weighted-average-in-Excel-1.jpg

The weighted average in Excel is one of the most critical inventory valuation methods since it is used to determine the cost of sale if we have implemented a permanent inventory system.

Before continuing, letโ€™s look at a definition of weighted average in Excel.

Content

What is the Weighted Average?

A weighted average is an average to the most identical figure or closest to the arithmetic mean. Usually, when calculating an average, all the numbers have the same weightage. The numbers are added together and divided by the number of values. Each value is assigned a weightage with a weighted average, so some values โ€‹โ€‹influence the result more than others.

We can say that the weighted average is used when, within a series of data, one of the values โ€‹โ€‹has additional importance, or there is data with greater weight than the rest. In addition, it helps us establish the said weight through the method known as weighting and use this value to perform the average calculation.

How To Remove Duplicates In Excel
How To Remove Duplicates In Excel
While working on spreadsheets, you may come across instances where you will see duplicate values. This may arise for different reasons, like multiple people working on the same document, unification...read more
How To Calculate Percentage In Excel
How To Calculate Percentage In Excel
Percentages are a very powerful tool for data analysis. They can be used to make data more concise, easier to understand, and more comparable. In this tutorial, we will learn...read more
Data Validation in Excel โ€“ Shiksha Online
Data Validation in Excel โ€“ Shiksha Online
Data validation in Microsoft Excel is a feature that allows you to control what can be entered into a cell or range of cells. It helps ensure that data entered...read more
Recommended online courses

Best-suited MS Excel courses for you

Learn MS Excel with these high-rated online courses

โ‚น5.5 K
18 hours
โ‚น3.2 K
28 hours
โ‚น1 L
6 months
โ‚น59.54 K
10 months
โ‚น4.3 K
2 months
โ€“ / โ€“
45 hours
โ‚น1.34 L
300 hours
โ€“ / โ€“
1 month
โ‚น6.4 K
104 hours

How to Calculate Weighted Average in Excel

We can use the SUMPRODUCT and SUM functions to calculate the weighted average in Excel. Note that no default Excel function calculates the weighted average. However, we can make use of the functions mentioned above to do the calculation of a weighted average in Excel.

Read all our MS Excel Tutorials

Weighted Average Example

To make this concept clear, letโ€™s look at the following example. Suppose a company has sold 10,000 technology products in a single day. 

  • 3,000 cell phones were sold at a price of Rs. 60,000
  • 1,500 laptops at Rs. 90,000
  • 1700 headphones at Rs. 20,000
  • 800 tablets at Rs. 800,000
  • 3000 computers at Rs. 80,000

What is the weighted average price of the 10,000 products?

The first thing we must do is determine the relative weight of the units sold. To obtain this data, we only have to divide the units sold by the total sold, as shown in the following image.

To calculate the weighted average price of product sales, we only have to multiply the price by the weighting obtained, that is, what we have calculated as the relative weight of the units sold, and add the results obtained.

However, we can simplify this process; the idea is that we do not have to do this manually and that it is Excel itself, which helps us be more efficient and productive when working in the spreadsheet. Therefore, we will show you how to do the same operation with a single formula.

How To Create A Pivot Table In Excel?
How To Create A Pivot Table In Excel?
A pivot table is a powerful tool in Excel that allows you to summarize and analyze large amounts of data. It is essentially a way of reorganizing and manipulating data...read more
Tutorial โ€“ VLOOKUP in Excel โ€“ Shiksha Online
Tutorial โ€“ VLOOKUP in Excel โ€“ Shiksha Online
VLOOKUP, or vertical lookup, is one of Excelโ€™s most commonly used functions for data analysis. This function belongs to the Search and Reference group, which has other search functions in...read more
How to Use HLOOKUP in Excel
How to Use HLOOKUP in Excel
The HLOOKUP in Excel enables finding data in a dataset horizontally. HLOOKUP stands for Horizontal and searches for a value in the top row of a table. The function then...read more

Weighted Average with SUMPRODUCT and SUM functions

If we want to obtain the weighted average, we only have to use the combination of the SUMPRODUCT and SUM functions. And in the example where we have calculated the weighting, we can use the SUMPRODUCT function, and thatโ€™s it. But letโ€™s see the two cases to have more clarity and options when working with the weighted average in Excel.

Example 1: SUMPRODUCT

Letโ€™s first see the case where we have the weighting data, remember that we have obtained this data (weighting) by dividing the units over the total number of units sold.

To calculate the weighted mean, we would only have to use the SUMPRODUCT formula โ€“

=SUMPRODUCT (array1; [array2] for the proposed case, our formula would be as follows: 

=SUMPRODUCT (Price, Weightage)

=SUMPRODUCT(B2:B6,D2:D6)

The SUMPRODUCT function has a punctual characteristic since it behaves like two functions. On the one hand, it performs the multiplication of the values โ€‹โ€‹of the given array, and then it does the sum of all those values.

Must Explore โ€“ MS Excel Courses

Example 2: SUMPRODUCT and SUM

Now letโ€™s look at the case where we can find the weighted mean using the SUMPRODUCT function and SUM. For this exercise, we will only have the specific data of the price at which we have sold the products and the units sold of each item or product.

General Formula

=SUMPRODUCT(array1, array2)/SUM(array2)

For our example, the formula would be as follows:

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

Observe how the result obtained with the SUMPRODUCT and SUM function has been the same as the previous options that we used to get the weighted average. Just that we did not have to calculate the weightage of units.

Hope this article helped you understand how weighted average in Excel works.


Top Trending Articles in MS Excel:

Most Useful Excel Formulas | Min Max Functions in Excel | Average Functions in Excel | Introduction to MS Excel | Financial Modelling in Excel | MS Excel interview questions | Sum Function in Excel | Trim Function in Excel | Pivot Table in Excel | Percentage in Excel | Vlookup in Excel | Median Function in Excel | Types of Charts in Excel | Count Function in Excel | MS Excel Vs. Google Sheet | Remove Duplicates in Excel | Create Graph in Excel

About the Author
author-image
Rashmi Karan
Manager - Content

Rashmi is a postgraduate in Biotechnology with a flair for research-oriented work and has an experience of over 13 years in content creation and social media handling. She has a diversified writing portfolio and aim... Read Full Bio