Hi There, please can someone put me out of my misery as I am scratching my head on this.
I was sent a worksheet that was basically pasted values from a pivot table, the problem I have is that the header and subheading are duplicating the qty values and i need to display them differently or transpose them
example here
[TABLE="width: 278"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]PRODUCT[/TD]
[TD]QTY[/TD]
[/TR]
[TR]
[TD]PRODUCT A[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]product a description[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PRODUCT B[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product b description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT C[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product c description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT D[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product d description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT E[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product e description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT F[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]product f description[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]PRODUCT G[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]product g description[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]PRODUCT H[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product h description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT I[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product i description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT J[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product j description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT K[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product k description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT L[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]product l description[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
I need to display the product title and description in adjacent cells as below
[TABLE="width: 384"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]PRODUCT[/TD]
[TD]PRODUCT DESCRIPTION[/TD]
[TD]QTY[/TD]
[/TR]
[TR]
[TD]PRODUCT A[/TD]
[TD]product a description[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PRODUCT B[/TD]
[TD]product b description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT C[/TD]
[TD]product c description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT D[/TD]
[TD]product d description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT E[/TD]
[TD]product e description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT F[/TD]
[TD]product f description[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]PRODUCT G[/TD]
[TD]product g description[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]PRODUCT H[/TD]
[TD]product h description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT I[/TD]
[TD]product i description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT J[/TD]
[TD]product j description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT K[/TD]
[TD]product k description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT L[/TD]
[TD]product l description[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Has anyone got any suggestions that may help, I feel it may not be as simple as I am thinking and may need some VBA coding
thanks for the help
I was sent a worksheet that was basically pasted values from a pivot table, the problem I have is that the header and subheading are duplicating the qty values and i need to display them differently or transpose them
example here
[TABLE="width: 278"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]PRODUCT[/TD]
[TD]QTY[/TD]
[/TR]
[TR]
[TD]PRODUCT A[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]product a description[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PRODUCT B[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product b description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT C[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product c description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT D[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product d description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT E[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product e description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT F[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]product f description[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]PRODUCT G[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]product g description[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]PRODUCT H[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]product h description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT I[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product i description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT J[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product j description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT K[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]product k description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT L[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]product l description[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
I need to display the product title and description in adjacent cells as below
[TABLE="width: 384"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]PRODUCT[/TD]
[TD]PRODUCT DESCRIPTION[/TD]
[TD]QTY[/TD]
[/TR]
[TR]
[TD]PRODUCT A[/TD]
[TD]product a description[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]PRODUCT B[/TD]
[TD]product b description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT C[/TD]
[TD]product c description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT D[/TD]
[TD]product d description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT E[/TD]
[TD]product e description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT F[/TD]
[TD]product f description[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]PRODUCT G[/TD]
[TD]product g description[/TD]
[TD="align: right"]33[/TD]
[/TR]
[TR]
[TD]PRODUCT H[/TD]
[TD]product h description[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]PRODUCT I[/TD]
[TD]product i description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT J[/TD]
[TD]product j description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT K[/TD]
[TD]product k description[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]PRODUCT L[/TD]
[TD]product l description[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]
Has anyone got any suggestions that may help, I feel it may not be as simple as I am thinking and may need some VBA coding
thanks for the help