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]
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]