Transpose rows to column for fixed template

sonkar

New Member
Joined
Nov 10, 2014
Messages
5
Hi,

I have large set of data to convert rows into columns as per below template
existing data.Also is it possible to have new sheet when the current sheet is full.[TABLE="width: 448"]
<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Header1[/TD]
[TD="width: 64"]Header2[/TD]
[TD="width: 64"]Header3[/TD]
[TD="width: 64"]Header4[/TD]
[TD="width: 64"]Header5[/TD]
[TD="width: 64"]…..[/TD]
[TD="width: 64"]Header 80[/TD]
[/TR]
[TR]
[TD]data 1[/TD]
[TD]Data 2[/TD]
[TD]Data 3[/TD]
[TD]Data 4[/TD]
[TD]data 5[/TD]
[TD][/TD]
[TD]data 80[/TD]
[/TR]
</tbody>[/TABLE]

Required Data
[TABLE="width: 225"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Header1[/TD]
[TD]Data 1[/TD]
[TD]data 1[/TD]
[/TR]
[TR]
[TD]Header2[/TD]
[TD]Data 1[/TD]
[TD]Data 2[/TD]
[/TR]
[TR]
[TD]Header3[/TD]
[TD]Data 1[/TD]
[TD]Data 3[/TD]
[/TR]
[TR]
[TD]Header4[/TD]
[TD]Data 1[/TD]
[TD]Data 4[/TD]
[/TR]
[TR]
[TD]Header5[/TD]
[TD]Data 1[/TD]
[TD]data 5[/TD]
[/TR]
[TR]
[TD]…..[/TD]
[TD]Data 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Header 80[/TD]
[TD]Data 1[/TD]
[TD]data 80[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
sachin
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Highlight the whole section, then copy selection, then click a few cells below range, then press Alt, e, s, e (transpose) and then enter.
 
Upvote 0
Highlight the whole section, then copy selection, then click a few cells below range, then press Alt, e, s, e (transpose) and then enter.
Hi,

the data is not in single row,I have multiple rows and each row should come one below the other and i have more than 10,000 rows of dat to be converted in same format
[TABLE="width: 250"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Header1[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]Header2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Header3[/TD]
[TD]A[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]Header4[/TD]
[TD]A[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]Header5[/TD]
[TD]A[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Header 80[/TD]
[TD]A[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]Header1[/TD]
[TD]P[/TD]
[TD]P[/TD]
[/TR]
[TR]
[TD]Header2[/TD]
[TD]P[/TD]
[TD]Q[/TD]
[/TR]
[TR]
[TD]Header3[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]Header4[/TD]
[TD]P[/TD]
[TD]S[/TD]
[/TR]
[TR]
[TD]Header5[/TD]
[TD]P[/TD]
[TD]T[/TD]
[/TR]
[TR]
[TD]Header 80[/TD]
[TD]P[/TD]
[TD]U[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
Sachin
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

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