jardenp
Active Member
- Joined
- May 12, 2009
- Messages
- 373
- Office Version
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
I'm not very familiar with looping, so can someone help me transpose multiple rows?
I need this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Prop1[/TD]
[TD]Prop2[/TD]
[TD]Prop3[/TD]
[TD]Prop4[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Papaya[/TD]
[TD]Pear[/TD]
[TD]Peach[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Koala[/TD]
[TD]Kiwi[/TD]
[TD]Kudu[/TD]
[TD]Kakapo[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
To become this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Description[/TD]
[TD]Item[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop1[/TD]
[TD]Papaya[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop2[/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop3[/TD]
[TD]Peach[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop4[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop1[/TD]
[TD]Koala[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop2[/TD]
[TD]Kiwi[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop3[/TD]
[TD]Kudu[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop4[/TD]
[TD]Kakapo[/TD]
[/TR]
</tbody>[/TABLE]
This can be done on the same sheet, leaving the original. For instance maybe the first cell of the created table is in G1.
Any help would be appreciated!
Thanks,
Josh in IN
I need this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Prop1[/TD]
[TD]Prop2[/TD]
[TD]Prop3[/TD]
[TD]Prop4[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Papaya[/TD]
[TD]Pear[/TD]
[TD]Peach[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Koala[/TD]
[TD]Kiwi[/TD]
[TD]Kudu[/TD]
[TD]Kakapo[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
To become this:
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Description[/TD]
[TD]Item[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop1[/TD]
[TD]Papaya[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop2[/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop3[/TD]
[TD]Peach[/TD]
[/TR]
[TR]
[TD]Pauline[/TD]
[TD]Prop4[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop1[/TD]
[TD]Koala[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop2[/TD]
[TD]Kiwi[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop3[/TD]
[TD]Kudu[/TD]
[/TR]
[TR]
[TD]Kael[/TD]
[TD]Prop4[/TD]
[TD]Kakapo[/TD]
[/TR]
</tbody>[/TABLE]
This can be done on the same sheet, leaving the original. For instance maybe the first cell of the created table is in G1.
Any help would be appreciated!
Thanks,
Josh in IN