Hi,
I am trying to analyze some data for my company but the manner which the manner which the data is being arranged now makes it difficult for me to plot charts. What I need is to change the format from the original to the new table (see below). Any help will be much appreciated!
Original table
[TABLE="width: 429"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]ITEM CODE[/TD]
[TD]LOCATION A[/TD]
[TD]LOCATION B[/TD]
[TD]LOCATION C[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[/TR]
</tbody>[/TABLE]
New table
[TABLE="width: 352"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]ITEM CODE[/TD]
[TD]LOCATION[/TD]
[TD]QUANTITY[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]90[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
</tbody>[/TABLE]
Regards,
Shaun Lin
I am trying to analyze some data for my company but the manner which the manner which the data is being arranged now makes it difficult for me to plot charts. What I need is to change the format from the original to the new table (see below). Any help will be much appreciated!
Original table
[TABLE="width: 429"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]ITEM CODE[/TD]
[TD]LOCATION A[/TD]
[TD]LOCATION B[/TD]
[TD]LOCATION C[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]80[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD="align: right"]90[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]100[/TD]
[/TR]
</tbody>[/TABLE]
New table
[TABLE="width: 352"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]ITEM CODE[/TD]
[TD]LOCATION[/TD]
[TD]QUANTITY[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD]ITEM A[/TD]
[TD]LOCATION A[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]90[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]ITEM B[/TD]
[TD]LOCATION B[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]ITEM C[/TD]
[TD]LOCATION C[/TD]
[TD="align: right"]100[/TD]
[/TR]
</tbody>[/TABLE]
Regards,
Shaun Lin