How do I separate texts in a cell that are separated with a comma into individual lines with line breaks, still in one cell

uysal5

New Member
Joined
Sep 25, 2013
Messages
24
Office Version
  1. 365
Hi,

I have used a formula (TEXTJOIN) to put together multiple rows into one cell by looking up the same email address so they are grouped as one text, but I need them to be listed individually with line breaks (see example table below).

Any help is appreciated.

NameGroup clientsEmail addressColumn1Column3
TomABC Ltdtomandjerry@hotmail.comABC Ltd, XYZ Ltd, Ms Minie Mouse, Mr Micky MouseABC Ltd
XYZ Ltd
Minie Mouse
Mr Micky Mouse
JerryXYZ Ltdtomandjerry@hotmail.comABC Ltd, XYZ Ltd, Ms Minie Mouse, Mr Micky MouseABC Ltd
XYZ Ltd
Minie Mouse
Mr Micky Mouse
MinnieMs Minie Mousetomandjerry@hotmail.comABC Ltd, XYZ Ltd, Ms Minie Mouse, Mr Micky MouseABC Ltd
XYZ Ltd
Minie Mouse
Mr Micky Mouse
MickyMr Micky Mousetomandjerry@hotmail.comABC Ltd, XYZ Ltd, Ms Minie Mouse, Mr Micky MouseABC Ltd
XYZ Ltd
Minie Mouse
Mr Micky Mouse

Many thanks
Figen
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also what is the formula you are using?
 
Upvote 0
So instead of using a ', ' as the list seperator, use CHAR(10) in the 1st paramter of your TEXTJOIN() function and tick textwrap on column 3.
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Also what is the formula you are using?
Will do.
I am using Office 365 business
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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