Consolidate multiple tabs with different formats into summary page

Nicole87

New Member
Joined
Feb 18, 2014
Messages
35
Hi,

I need to consolidate multiple tabs into a summary tab however they are set up differently but they all have the same account heading & country type, can anyone help with a formula or macro?

Thanks!

Example of tab 1


[TABLE="width: 996"]
<colgroup><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][TABLE="width: 515"]
<colgroup><col><col span="5"></colgroup><tbody>[TR]
[TD][/TD]
[TD]GBP[/TD]
[TD]USD[/TD]
[TD]CAD[/TD]
[TD]EUR[/TD]
[TD]AUD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Resource[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD] 20.00[/TD]
[TD] 50.00[/TD]
[TD] 80.00[/TD]
[TD] 10.00[/TD]
[TD] 3.00[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD] 40.00[/TD]
[TD] 100.00[/TD]
[TD] 160.00[/TD]
[TD] 20.00[/TD]
[TD] 6.00[/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD] 30.00[/TD]
[TD] 90.00[/TD]
[TD] 150.00[/TD]
[TD] 10.00[/TD]
[TD]- 4.00[/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD] 170.00[/TD]
[TD] 200.00[/TD]
[TD] 230.00[/TD]
[TD] 160.00[/TD]
[TD] 153.00[/TD]
[/TR]
</tbody>[/TABLE]

Example tab 2

[TABLE="width: 996"]
<colgroup><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][TABLE="width: 515"]
<colgroup><col><col span="5"></colgroup><tbody>[TR]
[TD][TABLE="width: 387"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD]GBP[/TD]
[TD]CAD[/TD]
[TD]AUD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Resource[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD] 20.00[/TD]
[TD] 80.00[/TD]
[TD] 3.00[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD] 40.00[/TD]
[TD] 160.00[/TD]
[TD] 6.00[/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD] 30.00[/TD]
[TD] 150.00[/TD]
[TD]- 4.00[/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD] 170.00[/TD]
[TD] 230.00[/TD]
[TD] 153.00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 996"]
<colgroup><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][TABLE="width: 515"]
<colgroup><col><col span="5"></colgroup><tbody>[TR]
[TD][/TD]
[TD]GBP[/TD]
[TD]USD[/TD]
[TD]CAD[/TD]
[TD]EUR[/TD]
[TD]AUD[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Resource[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Account 1[/TD]
[TD] 20.00[/TD]
[TD] 50.00[/TD]
[TD] 80.00[/TD]
[TD] 10.00[/TD]
[TD] 3.00[/TD]
[/TR]
[TR]
[TD]Account 2[/TD]
[TD] 40.00[/TD]
[TD] 100.00[/TD]
[TD] 160.00[/TD]
[TD] 20.00[/TD]
[TD] 6.00[/TD]
[/TR]
[TR]
[TD]Account 3[/TD]
[TD] 30.00[/TD]
[TD] 90.00[/TD]
[TD] 150.00[/TD]
[TD] 10.00[/TD]
[TD]- 4.00[/TD]
[/TR]
[TR]
[TD]Account 4[/TD]
[TD] 170.00[/TD]
[TD] 200.00[/TD]
[TD] 230.00[/TD]
[TD] 160.00[/TD]
[TD] 153.00[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
 

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,098
Messages
6,170,100
Members
452,301
Latest member
QualityAssurance

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