Transpose Data From Same ID Rows To Columns

Odins_Raven

New Member
Joined
Nov 15, 2022
Messages
2
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. MacOS
Hi, I would like to find a way to put all of the data relating to one ID into one row. Below is a simplified example of the data I have. I have tried to use a pivot table, however it does not take kindly to the text values. What would be the most efficient way to do this, if it is at all possible?

IDDescription
House 12 Bed
House 11 Bath
House 12 Reception
House 24 Bed
House 22 Bath
House 22 Reception
House 31 Bed
House 31 Bath
House 31 Reception


This is what I would like the data to look like:
IDBedBathReception
House 12 Bed1 Bath2 Reception
House 24 Bed2 Bath2 Reception
House 31 Bed1 Bath1 Reception

Any help is appreciated, thanks in advance.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about
Fluff.xlsm
ABCDEFG
1IDDescription
2House 12 BedHouse 12 Bed1 Bath2 Reception
3House 11 BathHouse 24 Bed2 Bath2 Reception
4House 12 ReceptionHouse 31 Bed1 Bath1 Reception
5House 24 Bed
6House 22 Bath
7House 22 Reception
8House 31 Bed
9House 31 Bath
10House 31 Reception
11
Data
Cell Formulas
RangeFormula
D2:D4D2=UNIQUE(FILTER(A2:A100,A2:A100<>""))
E2:G4E2=TOROW(FILTER(B2:B100,A2:A100=D2))
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABCDEFG
1IDDescription
2House 12 BedHouse 12 Bed1 Bath2 Reception
3House 11 BathHouse 24 Bed2 Bath2 Reception
4House 12 ReceptionHouse 31 Bed1 Bath1 Reception
5House 24 Bed
6House 22 Bath
7House 22 Reception
8House 31 Bed
9House 31 Bath
10House 31 Reception
11
Data
Cell Formulas
RangeFormula
D2:D4D2=UNIQUE(FILTER(A2:A100,A2:A100<>""))
E2:G4E2=TOROW(FILTER(B2:B100,A2:A100=D2))
Dynamic array formulas.
Thank you so much, this worked perfectly!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,747
Messages
6,132,481
Members
449,729
Latest member
davelevnt

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