Pinterest Pixel

Sumproduct & Weighted Averages

John Michaloudis
Sumproduct & Weighted Averages.
What does it do?

Sumproduct & Weighted Averages

What does it do?

It returns the sum of the products of corresponding ranges or arrays

Formula breakdown:

=SUMPRODUCT(array1, [array2], [array3]…)

What it means:

=SUMPRODUCT(this array, with that array…)


A quick way to calculate the weighted average of two lists of data is to use the SUMPRODUCT formula.  A weighted average can be used to determine the average salary of employees, the average grade of an exam or the average selling price of a company´s stock list, as can been seen below.

Download excel workbookSumproduct_Easy.xlsx

We want to get the average selling price of our total stock items. This is easily achievable with the SUMPRODUCT formula! We will use this to calculate the total value of the items, then divide this by the total number of units to get the average selling price.

See also  Cleaning Data with Excel's TRIM Formula

STEP 1: We need to enter the SUMPRODUCT function in a blank cell:
=SUMPRODUCT(
Sumproduct & Weighted Averages

 

STEP 2: The SUMPRODUCT arguments:

Array1

What is the first array that contains the data?

We want to get the units sold so select those values.
=SUMPRODUCT(C14:C17,
Sumproduct & Weighted Averages

Array2

What is the second array that contains the data?

We want to get the sale price sold so select those values. The values will be multiplied against the first array that we got.
=SUMPRODUCT(C14:C17, D14:D17)
Sumproduct & Weighted Averages

 

STEP 3: Now we have the total value, we can easily get the average value by dividing by the total number of items.
=SUMPRODUCT(C14:C17, D14:D17) / SUM(C14:C17)
Sumproduct & Weighted Averages

With just this single formula, we are able to get the average selling price without the need of extra helper columns!

Sumproduct & Weighted Averages

 

 

If you like this Excel tip, please share it


See also  How to Use Substrings in Microsoft Excel

Founder & Chief Inspirational Officer

at

MyExcelOnline.com

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship Academy Online Course.

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...