Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Hardip
 
Posts: n/a
Default 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
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=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



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

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





  #4   Report Post  
Stefi
 
Posts: n/a
Default

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

  #5   Report Post  
Hardip
 
Posts: n/a
Default

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find replace text or symbol with carriage return jo New Users to Excel 11 April 4th 23 10:41 AM
Search and replace with Carriage return Andibevan Excel Discussion (Misc queries) 2 May 17th 05 12:43 PM
How to insert carriage return in the middle of a text formula to . Dave Excel Discussion (Misc queries) 2 March 17th 05 02:14 PM
Carriage Return in Excel Rod Behr Excel Discussion (Misc queries) 4 December 14th 04 01:53 PM
Carriage return in macros Manu Palao Excel Worksheet Functions 1 November 15th 04 01:57 PM


All times are GMT +1. The time now is 10:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"