Assigning Weights to Variables in Excel (3 Useful Examples)

In many cases, the exams in a school, or products in a company carry equal weight or significance. In that case, the average is very easy to calculate. But, in some practical scenarios, the weights aren’t equivalent to each other. For that purpose, the weighted average is necessary to find out the average. But before that, we need to assign the weights to the variables. In this article, we’ll show you the practical examples of assigning weights to variables in Excel and thus calculate the weighted average.


3 Useful Examples of Assigning Weights to Variables in Excel

1. Assigning Weights to Variables in Excel When Total Weight Is 100%

We know that various assessment systems prevail in educational institutions to evaluate the students’ performance. In our first example, we’ll assign the Weights to different types of exams present in a school. Here, in the following dataset, the Weightages add up to 100% in total. Therefore, follow the steps below to figure out the weighted average.

Assigning Weights to Variables in Excel When Total Weight Is 100%

STEPS:

  • First, select cell C11.
  • Then, type the formula:
=SUMPRODUCT(C5:C9,D5:D9)
  • After that, press Enter.
  • Lastly, it’ll return the accurate value.

NOTE: The SUMPRODUCT function multiplies the C5:C9 array with the D5:D9 array at first. Next, it sums the product outputs.

Read More: How to Calculate Weighted Average with Percentages in Excel


2. Allot Weights Whereas Total Weight Differs from 100%

However, there are some events where the Total Weight doesn’t add up to 100%. See the below dataset for Assigning Weights to variables in Excel and there, the total Weight is 200%. So, learn the following steps to compute the average.

STEPS:

  • Firstly, select cell C11.
  • Subsequently, type the formula:
=SUMPRODUCT(C5:C9,D5:D9)/SUM(D5:D9)
  • At last, press Enter and it’ll return the average.

Allot Weights Whereas Total Weight Differ from 100%

NOTE: At first, the SUMPRODUCT function multiplies the C5:C9 and D5:D9 array and then, sums the product outputs. After that, the result is divided by the output of the SUM function which finds the total of the D5:D9 array.


3. Use SUM Function to Assign Weights in Excel

In our last method, we’ll use the SUM function for Assigning Weights to variables in Excel and determine the weighted average. This process is a kind of a manual process. So, with a smaller dataset, we can apply this method without any difficulties. But, if we have to deal with a large number of data values, this process may not be a suitable option. Now, learn the steps given below to carry out the operation.

To illustrate, we’ll use the following dataset which is the same as the first 2 examples.

Use SUM Function to Assign Weights in Excel

STEPS:

  • Select cell C11 at first. Type the formula:
=SUM(C5*D5,C6*D6,C7*D7,C8*D8,C9*D9)
  • Then, press Enter. It’ll return the precise result.

Use SUM Function to Assign Weights in Excel

NOTE: The SUM function adds the products of the cells specified in the argument. Each cell is applied manually here.

Moreover, we can apply the function in another way to get the same output. For that, follow the below steps.

STEPS:

  • Select cell C11 to type the formula:
=SUM(C5:C9*D5:D9)
  • Eventually, press Enter.

Here, inside the SUM function argument, we are multiplying the arrays C5:C9 and D5:D9 at first.


Download Practice Workbook

Download the following workbook to practice by yourself.


Conclusion

Henceforth, you will be able to carry out the operation for assigning weights to variables in Excel following the above-described examples. Keep using them and let us know if you have any more ways to do the task.


Related Articles


<< Go Back to Weighted Average Excel | How to Calculate Average in Excel | How to Calculate in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Aung Shine
Aung Shine

Aung Shine completed his bachelor’s in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. It has been almost 2 years since he joined SOFTEKO and actively working on the ExcelDemy project. Currently he works as a Team Leader where he guides his team members to create technical content. He has published 150+ articles and reviewed 50+ articles. He has also solved various user problems before. He has interests in Data Analysis, Power Query, Advanced Excel,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Close the CTA

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo