Hi All,
I am having much difficulty transposing a large data set. The result I am after seems simple but is proving to be somewhat difficult.
I have a list of the following data.
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account1
[/TD]
[/TR]
[TR]
[TD]a
[/TD]
[/TR]
[TR]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account2[/TD]
[/TR]
[TR]
[TD]d[/TD]
[/TR]
[TR]
[TD]e[/TD]
[/TR]
[TR]
[TD]f[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account3[/TD]
[/TR]
[TR]
[TD]g[/TD]
[/TR]
[TR]
[TD]h[/TD]
[/TR]
[TR]
[TD]i[/TD]
[/TR]
</tbody>[/TABLE]
How I would like the data to be,
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account1[/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]Account2[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]Account3[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[/TR]
</tbody>[/TABLE]
I know this can be done with a simple transpose formula/paste but my dataset is 47,000 rows long, so copying and pasting individually is not an option. I think VBA might be the way to go, but I havent got a clue where to even start.
Help!
Thank you.
I am having much difficulty transposing a large data set. The result I am after seems simple but is proving to be somewhat difficult.
I have a list of the following data.
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account1
[/TD]
[/TR]
[TR]
[TD]a
[/TD]
[/TR]
[TR]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account2[/TD]
[/TR]
[TR]
[TD]d[/TD]
[/TR]
[TR]
[TD]e[/TD]
[/TR]
[TR]
[TD]f[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 200"]
<tbody>[TR]
[TD]Account3[/TD]
[/TR]
[TR]
[TD]g[/TD]
[/TR]
[TR]
[TD]h[/TD]
[/TR]
[TR]
[TD]i[/TD]
[/TR]
</tbody>[/TABLE]
How I would like the data to be,
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account1[/TD]
[TD]a[/TD]
[TD]b[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]Account2[/TD]
[TD]d[/TD]
[TD]e[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]Account3[/TD]
[TD]g[/TD]
[TD]h[/TD]
[TD]i[/TD]
[/TR]
</tbody>[/TABLE]
I know this can be done with a simple transpose formula/paste but my dataset is 47,000 rows long, so copying and pasting individually is not an option. I think VBA might be the way to go, but I havent got a clue where to even start.
Help!
Thank you.