Transpose column data to rows

banglong

New Member
Joined
Mar 11, 2016
Messages
17
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi,

Need your help to transpose 2 columns of my data from this:

COL. A COL.B
A 1
A 2
B 1
B 2
B 3
C 4
C 5
C 6
C 7

convert to this:

COL. A COL.B COL.C
A B C
1 1 4
2 2 5
3 6
7

Thanks in advance.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
How about
+Fluff 1.xlsm
ABCDEF
1A1ABC
2A2114
3B1225
4B236
5B37
6C4
7C5
8C6
9C7
Main
Cell Formulas
RangeFormula
D1:F1D1=TRANSPOSE(UNIQUE(FILTER(A1:A20, A1:A20<>"")))
D2:D3,F2:F5,E2:E4D2=FILTER($B$1:$B$20,$A$1:$A$20=D$1)
Dynamic array formulas.
 
Upvote 0
Solution
EXAMPLE AS ATTACHMENT..THANKS
 

Attachments

  • EXCEL.png
    EXCEL.png
    9.3 KB · Views: 6
Upvote 0
Did you try my suggestion?
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEF
1A1ABC
2A2114
3B1225
4B236
5B37
6C4
7C5
8C6
9C7
Main
Cell Formulas
RangeFormula
D1:F1D1=TRANSPOSE(UNIQUE(FILTER(A1:A20, A1:A20<>"")))
D2:D3,F2:F5,E2:E4D2=FILTER($B$1:$B$20,$A$1:$A$20=D$1)
Dynamic array formulas.
very nice...thanks so much
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,692
Members
448,979
Latest member
DET4492

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