Convert Data in Columns to data in rows - Transcribe doesn't do what I need

ga1205

New Member
Joined
Mar 6, 2018
Messages
2
Hello,

I have a workbook with data formatted as follows:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E... BZ[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Location[/TD]
[TD]Item[/TD]
[TD]DType[/TD]
[TD]Week1[/TD]
[TD]Week2...[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]100[/TD]
[TD]ABC[/TD]
[TD]qty[/TD]
[TD]3[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]100[/TD]
[TD]ABC[/TD]
[TD]rev[/TD]
[TD]30[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]100[/TD]
[TD]DEF[/TD]
[TD]qty[/TD]
[TD]0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]100[/TD]
[TD]DEF[/TD]
[TD]rev[/TD]
[TD]0[/TD]
[TD]90[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]101[/TD]
[TD]ABC[/TD]
[TD]qty[/TD]
[TD]-1[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]7...1MM+[/TD]
[TD]101[/TD]
[TD]ABC[/TD]
[TD]rev[/TD]
[TD]-8.5[/TD]
[TD]42.5[/TD]
[/TR]
</tbody>[/TABLE]

Where the weekly quantity and revenue numbers are in rows and the weeks are in columns. I find this format difficult to work with and would prefer it to be set up as:

[TABLE="class: grid, width: 500"]
<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]Location[/TD]
[TD]Item[/TD]
[TD]Week[/TD]
[TD]Qty[/TD]
[TD]Rev[/TD]
[/TR]
</tbody>[/TABLE]

Is there an easy way to make this work? I've got a few tabs with ~1 million rows in each.

Thanks for your hlep!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Do you have Power BI (probably not)?
I don't know how VBA code written in windows would transfer to mac
If you have MS Query in Excel that could be your best option.
Or MS Access or SQL Server
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top