Macro Help - Transpose Quantity and QTR (Large amount of data)

tommiexboi

New Member
Joined
Apr 24, 2017
Messages
24
Office Version
  1. 365
Platform
  1. Windows
Hello,

Basically, I have over 1200 part numbers and I'm looking at an 8 quarter forecast.
I am trying to get the below result that will be quick and efficient. Would like to be able to sort by quarter and etc.

Any help will be greatly appreciated.


Current:
Part NumberQTR 1QTR 2QTR 3QTR 4QTR 1QTR 2QTR 3QTR 4
ABC123678831304
ABC124121042606
ABC125351253933

<tbody>
</tbody>

Result Needed:
Part NumberQuarterQuantity
ABC123QTR 167
ABC123QTR 28
ABC123QTR 38
ABC123QTR 43
ABC123QTR 11
ABC123QTR 23
ABC123QTR 30
ABC123QTR 44
ABC124QTR 11
ABC124QTR 22
ABC124QTR 310
ABC124QTR 44
ABC124QTR 12
ABC124QTR 26
ABC124QTR 30
ABC124QTR 46
ABC124QTR 13
ABC124QTR 25
ABC124QTR 312
ABC124QTR 45
ABC124QTR 13
ABC124QTR 29
ABC124QTR 33
ABC124QTR 43

<tbody>
</tbody>
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
A very good primer is "M is for (Data) Monkey by Ken Puls and Miguel Escobar. Available on Amazon.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,865
Members
449,052
Latest member
Fuddy_Duddy

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