• Go back-and-forth until satisfied Ameen Khan,
Category: Programming
Satisfied Customers: 6622
Experience:  Senior IT Support Specialist at Brookfield Asset Management
101830517
Ameen Khan is online now

# I am generating an excel based site report. I want to make

Hi, I am generating an excel based site report. I want to make an opverall site % scorewhich would be system weighted (i.e. 15 observations would equal 100% until one or numerous of those observations were negative for which a minus scroe would be deducted.
JA: When did you last update Excel?
Customer: office updated today
JA: What have you tried so far with your Excel?
Customer: ive got formulas in that workded until I decdied to give a + score for anything whioch was above good practice (as a boost)
JA: Anything else you want the Microsoft Office Expert to know before I connect you?
Customer: I dont think so

Hi! My name is Ameen and I'll be assisting you. Secure Remote Assistance is NOT REQUIRED (But Helpful)

I am sorry you are having this concern, I will do my best to help you today.

Example 1. Calculating weighted average by using the SUM function

If you have basic knowledge of the Excel SUM function, the below formula will hardly require any explanation:

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

In essence, it performs the same calculation as described above, except that you supply cell references instead of numbers.

As you can see in the screenshot, the formula returns exactly the same result as the calculation we did a moment ago. Notice the difference between the normal average returned by the AVERAGE function (C8) and weighted average (C9).

Although the SUM formula is very straightforward and easy to understand, it is not a viable option if you have a large number of elements to average. In this case, you'd better utilize the SUMPRODUCT function as demonstrated in the next example.

Example 2. Finding weighted average with SUMPRODUCT function

Excel's SUMPRODUCT function fits perfectly for this task since it is designed to sum products, which is exactly what we need. So, instead of multiplying each value by its weight individually, you supply two arrays in the SUMPRODUCT formula (in this context, an array is a continuous range of cells), and then divide the result by the sum of weights:

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

Supposing that the values to average are in cells B2:B6 and weights in cells C2:C6, our Sumproduct Weighted Average formula takes the following shape:

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

To see the actual values behind an array, select it in the formula bar and press the F9 key. The result will be similar to this:

So, what the SUMPRODUCT function does is multiply the 1st value in array1 by the 1st value in array2 (91*0.1 in this example), then multiply the 2nd value in array1 by the 2nd value in array2 (65*0.15 in this example), and so on. When all of the multiplications are done, the function adds up the products and returns that sum.

To make sure that the SUMPRODUCT function yields a correct result, compare it to the SUM formula from the previous example and you will see that the numbers are identical.

When using either the SUM or SUMPRODUCT function to find weight average in Excel, weights do not necessarily have to add up to 100%. Nor do they need to be expressed as percentages. For example, you can make up a priority / importance scale and assign a certain number of points to each item, as demonstrated in the following screenshot:

Well, that's all about calculating weighted average in Excel. You can download the Weighted Average spreadsheet and try the formulas on your data. In the next tutorial, we are going to have a close look at calculating moving average. I thank you for reading and look forward to seeing you next week!

-------------

Customer: replied 2 months ago.
I amanged the basic as described but its got beyond my level of excel knowledge. is there anyway you can log on and show me or complete the document?
Customer: replied 2 months ago.
im working on two screens but can show you where the document is

Lets connect in 15 minutes - Kindly open this link on your device and Join - https://join.zoho.com/627965003 