Index - Lookup - Multiple Results - one cell / no VBA - 2 Dimensional table

belle888

New Member
Joined
Jan 5, 2017
Messages
1
Hello and Happy New Year!!

The target is: I like to have an array with the total costs per year (cost per unit (see table 2) * corresponding volume (see table 1)) for the entered cost positions.
Following constraints are given: I like to have the array with the total costs for each year in one cell (e.g. with array formula, index, sumifs, or whatever it takes). VBA is not possible.

My problem is that I cant "allocate" the volumes to the costs correspondingly.


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Table1[/TD]
[TD]Volumes per year[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Year 1
[/TD]
[TD]Year 2
[/TD]
[TD]Year 3
[/TD]
[TD]Year 4
[/TD]
[TD]Year 5
[/TD]
[/TR]
[TR]
[TD]Volume Scenario 1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Volume Scenario 2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Volume Scenario 3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Volume Scenario 4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: grid, width: 700"]
<tbody>[TR]
[TD]Table 2[/TD]
[TD][/TD]
[TD]Costs / per unit[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cost Description
[/TD]
[TD]Vol Scenario
[/TD]
[TD]Year 1
[/TD]
[TD]Year 2
[/TD]
[TD]Year 3
[/TD]
[TD]Year 4
[/TD]
[TD]Year5
[/TD]
[/TR]
[TR]
[TD]Cost Position 1[/TD]
[TD]Volume Scenario 3[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]Cost Position 2[/TD]
[TD]Volume Scenario 1[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]20[/TD]
[/TR]
</tbody>[/TABLE]


Expected array within one cell
{30,30,30,30,30
20,20,20,20,20}

Is this possible?

Thank You!!
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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