SUMPRODUCT() challenge: Spanning multiple worksheets

DKowalski

New Member
Joined
Aug 4, 2011
Messages
3
Hello.

I am trying to calculate a weighted average from 2 sets of data: 1 set is an array in a worksheet, and the 2nd set is a range of values that share a specific location across multiple worksheets.

I was trying to use the following (example) formula to calculate the weighted average from these datasets:
= SUMPRODUCT(B4:B6, C4:C6) / SUM(C4:C6)
where the range B4:B6 is the array of values that spans multiple worksheets, and
where C4:C6 is the array of weights on a single worksheet.

I have just learnt that SUMPRODUCT can only handle arrays, and that an array can NOT span multiple worksheets. As such, when B4:B6 was replaced with 'Weather Ticker:Weather Ticker (10)'!M7 , a #REF! error was generated.

As there is considerable data volume on each worksheet, I'd like to know if I can use a workaround or an alternative to get the weighted average (as described above) WITHOUT reorganising my data layout.

Thanks for your help.....
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,217,251
Messages
6,135,483
Members
449,942
Latest member
Gitad

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