Get many "text items" in rows into 1 cell

degeus75

New Member
Joined
Oct 9, 2022
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
I have a long Excel sheet like this (see attached):
Jack - Car
Jack - Ipad
Jack - Computer
Thomas - Ipad
Thomas - Computer
etc

I want it to be (see more detail attached):
Jack: Car-Ipad-Computer
Thomas: Ipad-Comuter
 

Attachments

  • how to do excel.png
    how to do excel.png
    26.1 KB · Views: 10

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi & welcome to MrExcel.
How about
Excel Formula:
=TEXTJOIN("|",,FILTER(B$3:B$16,$A$3:$A$16=$A21))
 
Upvote 0
For the names

=UNIQUE(A3:A16)

For the Stuff Column

=TEXTJOIN("|",TRUE,FILTER(B3:B16,A3:A16=A19))

For the Food Column

=TEXTJOIN("|",TRUE,FILTER(C3:C16,A3:A16=A19))
 
Upvote 0

Forum statistics

Threads
1,223,601
Messages
6,173,293
Members
452,508
Latest member
SaltySquid

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