huiyin9218
Board Regular
- Joined
- Aug 7, 2018
- Messages
- 53
Hi,
I have a groups of data arranged in rows, how do I write the code if I would like to arranged the groups of data in column?
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]AB[/TD]
[TD]125[/TD]
[TD]SW_85[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]542[/TD]
[TD]EEG[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]885[/TD]
[TD]FE[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]659[/TD]
[TD]DW_12[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]123[/TD]
[TD]FDC[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]485[/TD]
[TD]FERF[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]258[/TD]
[TD]GH_D[/TD]
[/TR]
</tbody>[/TABLE]
Table above is my sample table. Column A is the components name, column B and C is the data collected. I would like data to be arranged as the table below. The name of the component is on top and data arrange at the rows below. The next component and its data will be arrange at the next column.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]AB[/TD]
[TD][/TD]
[TD][/TD]
[TD]CD[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]125[/TD]
[TD]SW_85[/TD]
[TD][/TD]
[TD]123[/TD]
[TD]FDC[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]542[/TD]
[TD]EEG[/TD]
[TD][/TD]
[TD]485[/TD]
[TD]FERF[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]885[/TD]
[TD]FE[/TD]
[TD][/TD]
[TD]258[/TD]
[TD]GH_D[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]659[/TD]
[TD]DW_12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hope you guys can help me.
I have a groups of data arranged in rows, how do I write the code if I would like to arranged the groups of data in column?
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]AB[/TD]
[TD]125[/TD]
[TD]SW_85[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]542[/TD]
[TD]EEG[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]885[/TD]
[TD]FE[/TD]
[/TR]
[TR]
[TD]AB[/TD]
[TD]659[/TD]
[TD]DW_12[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]123[/TD]
[TD]FDC[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]485[/TD]
[TD]FERF[/TD]
[/TR]
[TR]
[TD]CD[/TD]
[TD]258[/TD]
[TD]GH_D[/TD]
[/TR]
</tbody>[/TABLE]
Table above is my sample table. Column A is the components name, column B and C is the data collected. I would like data to be arranged as the table below. The name of the component is on top and data arrange at the rows below. The next component and its data will be arrange at the next column.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]AB[/TD]
[TD][/TD]
[TD][/TD]
[TD]CD[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]125[/TD]
[TD]SW_85[/TD]
[TD][/TD]
[TD]123[/TD]
[TD]FDC[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]542[/TD]
[TD]EEG[/TD]
[TD][/TD]
[TD]485[/TD]
[TD]FERF[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]885[/TD]
[TD]FE[/TD]
[TD][/TD]
[TD]258[/TD]
[TD]GH_D[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]659[/TD]
[TD]DW_12[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Hope you guys can help me.