SumIFs for two tables

Nissepiano

New Member
Joined
Nov 1, 2019
Messages
1
Hi everyone!

I need some help.

I have two tables (short version, see below). And I want put these together with the and want to have the total sum (from table 1) for the categories in table 2. The R and Z is the positions in a grid. So I want to sum up the weights in table 1 for every category in table 2 in new table total weights per category. I hope someone can help me, I can do it a via several tables, but it is not so nice with so many tables.

Regards
Nisspeiano


Weights
R393.333420446.667473.333
Z
7.6547584621659
44.552116225424012544
103.252116225424012544
161.952116225424012544
211.5331458155516511753
2521458155516511753
292.4671458155516511753

<colgroup><col span="4"><col></colgroup><tbody>
</tbody>


Categories
393.333420446.667473.333
7.6LLW-2aLLW-1RISKLOW RISK
44.55LLW-2aLLW-1RISKLOW RISK
103.25LLW-2aLLW-1RISKLOW RISK
161.95LLW-2aLLW-1RISKLOW RISK
211.533LLW-2bLLW-2aLLW-1LOW RISK
252LLW-2bLLW-2aLLW-1RISK
292.467LLW-3LLW-2aLLW-1RISK

<colgroup><col span="4"><col></colgroup><tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi,

Is this what you needed?


Book1
ABCDE
1Weights
2R393.333420446.667473.333
3Z
47.6547584621659
544.552116225424012544
6103.252116225424012544
7161.952116225424012544
8211.5331458155516511753
92521458155516511753
10292.4671458155516511753
11
12Categories
13393.333420446.667473.333
147.6LLW-2aLLW-1RISKLOW RISK
1544.55LLW-2aLLW-1RISKLOW RISK
16103.25LLW-2aLLW-1RISKLOW RISK
17161.95LLW-2aLLW-1RISKLOW RISK
18211.533LLW-2bLLW-2aLLW-1LOW RISK
19252LLW-2bLLW-2aLLW-1RISK
20292.467LLW-3LLW-2aLLW-1RISK
21
22CategoriesWeights
23LLW-112,299
24LLW-2a11,560
25LLW-2b2,916
26LLW-31,458
27LOW RISK10,044
28RISK11,330
Sheet1
Cell Formulas
RangeFormula
B23=SUMPRODUCT(($B$14:$E$20=A23)*$B$4:$E$10)
 
Last edited:
Upvote 0

Similar threads

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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