so I have 2 sheets and need to create a third one as follows:
Sheet1
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]ID[/TD]
[TD="width: 64"]Name [/TD]
[TD="width: 64"]Code [/TD]
[/TR]
[TR]
[TD]A001[/TD]
[TD]A[/TD]
[TD]C1[/TD]
[/TR]
[TR]
[TD]A002[/TD]
[TD]B[/TD]
[TD]C2[/TD]
[/TR]
[TR]
[TD]A003[/TD]
[TD]C[/TD]
[TD]C3[/TD]
[/TR]
[TR]
[TD]A004[/TD]
[TD]D[/TD]
[TD]C4
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Code[/TD]
[TD="width: 64"]ID_2[/TD]
[TD="width: 64"]Data[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B001[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B002[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B003[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B004[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B005[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]B006[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]B007[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B008[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B009[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B010[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B011[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B012[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B013[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B014[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B015[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B016[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B017[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B018[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
I need sheet3 to be created as:
ID ID_2 Data
Many thanks in advance.
Sheet1
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]ID[/TD]
[TD="width: 64"]Name [/TD]
[TD="width: 64"]Code [/TD]
[/TR]
[TR]
[TD]A001[/TD]
[TD]A[/TD]
[TD]C1[/TD]
[/TR]
[TR]
[TD]A002[/TD]
[TD]B[/TD]
[TD]C2[/TD]
[/TR]
[TR]
[TD]A003[/TD]
[TD]C[/TD]
[TD]C3[/TD]
[/TR]
[TR]
[TD]A004[/TD]
[TD]D[/TD]
[TD]C4
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet2
[TABLE="width: 192"]
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Code[/TD]
[TD="width: 64"]ID_2[/TD]
[TD="width: 64"]Data[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B001[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B002[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B003[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B004[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C1[/TD]
[TD]B005[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]B006[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C2[/TD]
[TD]B007[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B008[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B009[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C3[/TD]
[TD]B010[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B011[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B012[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B013[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B014[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B015[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B016[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B017[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C4[/TD]
[TD]B018[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
I need sheet3 to be created as:
ID ID_2 Data
Many thanks in advance.