I have a two column set of data with ZIP codes in one and order numbers in the second. In some ZIP codes there is only one order number, but some have two and up to six.
I have used the Copy/Paste Special-Transpose, but this worksheet has hundreds of rows and is quite time consuming. Is there another way I'm not considering?
It looks like this:
What I have
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]12345[/TD]
[TD]Order1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Order2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Order3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]45678[/TD]
[TD]Order4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]98765[/TD]
[TD]Order5[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]Order6[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]34567[/TD]
[TD]Order7[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]13579[/TD]
[TD]Order8[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]Order9[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Order10[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]Order11[/TD]
[/TR]
</tbody>[/TABLE]
What I need
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]12345[/TD]
[TD]Order1[/TD]
[TD]Order2[/TD]
[TD]Order3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]45678[/TD]
[TD]Order4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]98765[/TD]
[TD]Order5[/TD]
[TD]Order6[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]34567[/TD]
[TD]Order7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]13579[/TD]
[TD]Order8[/TD]
[TD]Order9[/TD]
[TD]Order10[/TD]
[TD]Order11[/TD]
[/TR]
</tbody>[/TABLE]
I have used the Copy/Paste Special-Transpose, but this worksheet has hundreds of rows and is quite time consuming. Is there another way I'm not considering?
It looks like this:
What I have
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]12345[/TD]
[TD]Order1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Order2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]Order3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]45678[/TD]
[TD]Order4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]98765[/TD]
[TD]Order5[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]Order6[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]34567[/TD]
[TD]Order7[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]13579[/TD]
[TD]Order8[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]Order9[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Order10[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]Order11[/TD]
[/TR]
</tbody>[/TABLE]
What I need
[TABLE="class: grid, width: 150"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]12345[/TD]
[TD]Order1[/TD]
[TD]Order2[/TD]
[TD]Order3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]45678[/TD]
[TD]Order4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]98765[/TD]
[TD]Order5[/TD]
[TD]Order6[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]34567[/TD]
[TD]Order7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]13579[/TD]
[TD]Order8[/TD]
[TD]Order9[/TD]
[TD]Order10[/TD]
[TD]Order11[/TD]
[/TR]
</tbody>[/TABLE]