Using productsum with two different tables

lordlofgren

New Member
Joined
Aug 9, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hey everyone,

I'm trying to calculate the weighted average of several index baskets for construction projects. My problem is that the sheet containing index data isn't matching the rows of the index baskets. I've been trying to use a PRODUCTSUM without success. The PRODUCTSUM formula probably needs to be combined with kind of INDEX/MATCH and/or SUMIF formula, but not sure how to do it.

I simplified my data with examples in the attached picture. As you can see, each index basket contains many different indexseries, but no basket contains alla series. Data for the indexseries are downloaded monthly into a common sheet containing extra rows for titles.

As an example, the weighted average of the STREET basket for jan-22 is now calculated manually as: 10%*117+5%*135+50%*105+35%*109 = 109,1

Anyone know how I can create a single formula to be used on for the table "Weighted average index per basket" instead of doing all caluculations manually?

Thx in advance for any advice!

/ Martin
 

Attachments

  • Skärmklipp.PNG
    Skärmklipp.PNG
    26.8 KB · Views: 9

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,215,807
Messages
6,127,002
Members
449,351
Latest member
Sylvine

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