I'm trying to manipulate a very large file into a new format so I can work with it in Visio.
For context, it's a succession planning file, where each current incumbent has their own row, but with each successor they add a row. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Current Incumbent[/TD]
[TD]Successor[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bob Smith[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Robert Jones[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bobby Brown[/TD]
[/TR]
</tbody>[/TABLE]
However, what I'd like is to have one row for Jane and then multiple columns for the Successors:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Current Incumbent[/TD]
[TD]Successor 1[/TD]
[TD]Successor 2[/TD]
[TD]Successor 3[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bob Smith[/TD]
[TD]Robert Jones[/TD]
[TD]Bobby Brown[/TD]
[/TR]
</tbody>[/TABLE]
Does anyone have any suggestions on how to do this aside from manually copying and pasting? The file has thousands of rows, so any way to automate this would be a HUGE time saver!
TIA!
For context, it's a succession planning file, where each current incumbent has their own row, but with each successor they add a row. For example:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Current Incumbent[/TD]
[TD]Successor[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bob Smith[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Robert Jones[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bobby Brown[/TD]
[/TR]
</tbody>[/TABLE]
However, what I'd like is to have one row for Jane and then multiple columns for the Successors:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Current Incumbent[/TD]
[TD]Successor 1[/TD]
[TD]Successor 2[/TD]
[TD]Successor 3[/TD]
[/TR]
[TR]
[TD]Jane Doe[/TD]
[TD]Bob Smith[/TD]
[TD]Robert Jones[/TD]
[TD]Bobby Brown[/TD]
[/TR]
</tbody>[/TABLE]
Does anyone have any suggestions on how to do this aside from manually copying and pasting? The file has thousands of rows, so any way to automate this would be a HUGE time saver!
TIA!