Transpose Macro Needed (willing to donate to charity for quick answer!)

Dazzawm

Well-known Member
Joined
Jan 24, 2011
Messages
3,783
Office Version
  1. 365
Platform
  1. Windows
I have sheet 1 with 2 columns, a number in A and a transmission in column B. I need the number and the transmission transposed onto sheet 2. There may be a unique number in A or several the same with different transmissions in B. In the example I have highlighted the duplicates in A. The yellow one has the same number in A but 3 transmissions in B so they will go under the transmission header in B (also yellow), the same with blue and orange.

Sheet A will consist of several hundred thousand rows so this is just a small example. Like I mentioned I would appreciate a quick solution on this one as it is for work so willing to donate to charity if needs be. Thanks.


Excel 2010
AB
1NumberTransmission
210200362MTM
310200363MTM
410200364MTM
510200364ATM
610200364CVT
710200365MTM
810200365ATM
910200366MTM
1010200371MTM
1110200371SEMI
1210200372ATM
1310200373ATM
Sheet1


Sheet 2 after code.


Excel 2010
ABCDEFGHIJKLMNOP
1ATMATM & CVTATM & CVT & MTMATM & CVT & MTM & SemiATM & CVT & SemiATM & MTMATM & MTM & SemiATM & SemiCVTCVT & MTMCVT & MTM & SemiCVT & SemiMTMMTM & SemiSemiDirect
21020037210200364102003651020036210200371
31020037310200363
Sheet2
 
Thanks wideboy I think that's done it. My fault really I should have done 'remove duplicates' first.

PM me a favorite charity if you wish.
 
Last edited:
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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