sumproduct?

dsforbes

Board Regular
Joined
Mar 29, 2005
Messages
58
I inherited a spreadsheet that has 20 columns of values for our mutual funds. The top row contains the fee and the formula is as follows to calculated a total for all.

=(G8*$G$6)+(J8*$J$6)+(I8*$I$6)+(H8*$H$6)+(M8*$M$6)+(N8*$N$6)+(O8*$O$6)+(L8*$L$6)+(Q8*$Q$6)+(R8*$R$6)+(T8*$T$6)+(S8*$S$6)+(P8*$P$6) and so on


row 6 .0075 .0068 .005
Client Name Total Fee Fund 1 Fund 2 Fund 3 ....
value value value

There has to be an easier formula without adding an intermediary column and then summing for each fund.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Your subject line is actually the solution!

=SUMPRODUCT(G8:P8,$G$6:$P$6)
(extend the ranges out to the end of your actual data)
 
Upvote 0
Sumproduct should work here...

I'm assuming that's not the whole formula, L is the only column missing between G and T..

Try

=SUMPRODUCT(G8:T8,$G$6:$T$6)

If L was left out intentionally, just subtract it from the result..

=SUMPRODUCT(G8:T8,$G$6:$T$6)-(L6*$L$6)

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,557
Messages
6,179,510
Members
452,918
Latest member
Davion615

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