![]() |
Replacing commas with carriage return
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 |
=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) "Hardip" wrote in message ... 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 |
Data-Text to columns/separated by commas
This will place each name into separate columns and it removes commas. Regards, Stefi €˛Hardip€¯ ezt Ć*rta: 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 |
Oops, I mis-read, this just newlines them.
-- HTH RP (remove nothere from the email address if mailing direct) "Bob Phillips" wrote in message ... =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) "Hardip" wrote in message ... 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 |
Hi All,
Thanks for the response. I used the data text to columns feature, followed by copy / paste special transpose function. Thanks again, H "Stefi" wrote: Data-Text to columns/separated by commas This will place each name into separate columns and it removes commas. Regards, Stefi €˛Hardip€¯ ezt Ć*rta: 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 |
All times are GMT +1. The time now is 04:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com