dabigmonky
New Member
- Joined
- Nov 14, 2014
- Messages
- 8
Hello, can anyone tell me how to transpose these rows while keep 1 value consistent.
For example, transpose the following data:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kit[/TD]
[TD]Component 1[/TD]
[TD]Component 2[/TD]
[TD]Component 3[/TD]
[TD]Component 4[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S001[/TD]
[TD]S002[/TD]
[TD]S003[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S006[/TD]
[TD]S007[/TD]
[TD]S008[/TD]
[TD]S009[/TD]
[/TR]
</tbody>[/TABLE]
Into this new format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kit[/TD]
[TD]Component[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S001[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S002[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S003[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S006[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S007[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S008[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S009[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for the any help that you can give!
For example, transpose the following data:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kit[/TD]
[TD]Component 1[/TD]
[TD]Component 2[/TD]
[TD]Component 3[/TD]
[TD]Component 4[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S001[/TD]
[TD]S002[/TD]
[TD]S003[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S006[/TD]
[TD]S007[/TD]
[TD]S008[/TD]
[TD]S009[/TD]
[/TR]
</tbody>[/TABLE]
Into this new format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Kit[/TD]
[TD]Component[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S001[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S002[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]S003[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S006[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S007[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S008[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]S009[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for the any help that you can give!