Sum more than 2 tables based on 1st row and column names

BioPA

New Member
Joined
Oct 26, 2013
Messages
30
Hi there!

I wish everyone has a very happy new year and my special wishes to Mr.Excel staff for supporting us!

I would be grateful, if you could help me on the problem below:

Imagine that on week 1 i have a new table like this below :

[TABLE="width: 50"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]5
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

and on the following week a new table arrives:

[TABLE="width: 50"]
<tbody>[TR]
[TD][/TD]
[TD]F
[/TD]
[TD]A
[/TD]
[TD]W
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]F
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD]4
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]2
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]W
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]5
[/TD]
[TD]1
[/TD]
[TD]1
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

And actually every week a similar table arrives which may have from 5 to 14 (named rows and columns on any order. I exclude the 1st top left cell as it is always blank)


How can i Create a new table with the sums of the values above:

[TABLE="width: 50"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]F
[/TD]
[TD]W
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S[/TD]
[TD][/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[/TR]
[TR]
[TD]F
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[TD]S
[/TD]
[/TR]
[TR]
[TD]W
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD]S
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
*S=Sum

Remark: It's up to you to instruct me of how i will sort the weekly tables (horizontally or vertically) on a single sheet
The new sum table to be placed on a 2nd sheet


Thank you very much!

Regards
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
edit:

Apart from the new table, it will be very useful to have 2 columns with the possible combinations and their sum value

A A 0
A B 5
A C 6
A D 14
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,453
Members
452,514
Latest member
cjkelly15

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