Replacing commas with carriage return

G

Guest

Hi All,

I have a list of names like so:

John Thomson, Paul Cooper, Ian Smith, Mark Devlin... and so on

The names are in one continuous string i.e. they start from one cell (A1).

I'd like to replace the commas with a carriage return to place each name
into its own cell. Is there function or calculation I can use to achieve
this?

Any advise would be appreciated.

TIA - H
 
B

Bob Phillips

=SUBSTITUTE(A21,",",CHAR(10))

but you will still need to manually add wrap text to the cell and adjust its
height

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Guest

Data->Text to columns/separated by commas
This will place each name into separate columns and it removes commas.
Regards,
Stefi


„Hardip†ezt írta:
 
B

Bob Phillips

Oops, I mis-read, this just newlines them.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
G

Guest

Hi All,

Thanks for the response. I used the data > text to columns feature,
followed by copy / paste special transpose function.

Thanks again,
H
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top