sumproduct using offset formula by reversing column

kindi1000

New Member
Joined
May 2, 2005
Messages
26
I was trying to calculate the sumproduct of two arrays of data. The catch was I needed to reverse the order of one of the arrays and then multiply.

The formula I used was:

{=(OFFSET($E11,0,COLUMN()-COLUMN($E11:J11)))*($E62:J62)}

when it calculates, it returns just the product of the first item in each array.

I have not really used offset before and I do not understand why it does not calculate the sumproduct of both arrays. The data looks like:

E F G H I J
11: 1% 12% 23% 17% 14% 14%

62: 62,500 - 70,000 267,500 294,000 -


Please advise! Thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
kindi1000 said:
I was trying to calculate the sumproduct of two arrays of data. The catch was I needed to reverse the order of one of the arrays and then multiply.

The formula I used was:

{=(OFFSET($E11,0,COLUMN()-COLUMN($E11:J11)))*($E62:J62)}

when it calculates, it returns just the product of the first item in each array.

I have not really used offset before and I do not understand why it does not calculate the sumproduct of both arrays. The data looks like:

E F G H I J
11: 1% 12% 23% 17% 14% 14%

62: 62,500 - 70,000 267,500 294,000 -


Please advise! Thanks!

=SUMPRODUCT(N(OFFSET(E11,0,COLUMN(E11)+COLUMNS(E11:J11)-COLUMN(E11:J11)-1,1)),E62:J62)

Just needs enter. BTW, I assumed that you want to reverse E11:J11.
 
Upvote 0

Forum statistics

Threads
1,221,526
Messages
6,160,341
Members
451,638
Latest member
MyFlower

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