Average of Sumproducts

jholme9

New Member
Joined
Nov 7, 2011
Messages
6
Hi all. I've just stumbled on this forum and am hoping for some help.

My goal is to obtain the average of sumproducts where I have a constant array as the first input of the sumproduct and several thousand rows as the second input of the sumproduct formula. As a simple example, let's assume that I have A1:C1 as my constant. I need the average of each of the sumproducts of A1:C1*A2:C2, A1:C1*A3:C3, ... ,An:Cn. As an added bit of complexity, I'm hoping to do these calculations in one cell, because this process will need to happen about 20,000 times.

I'm assuming I need an array formula for this, but I haven't been able to incorporate both the sumproduct AND the average component... just one or the other.

Any help is appreciated. Thanks!
John
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Not quite sure if i understood, but, assuming your data in A1:C10, maybe this array-formula

=AVERAGE($A$1*A2:A10+$B$1*B2:B10+$C$1*C2:C10)

Ctrl+Shift+Enter

M.
 
Upvote 0
You guys are awesome. Those actually both worked! I guess I was trying to come at it in too complex a manner.

Thanks so much for your help!

John
 
Upvote 0

Forum statistics

Threads
1,223,250
Messages
6,171,036
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top