Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to split columns with multiple lines w/in cells

I have complete addresses in each cell. For example, cell A1 has:

John Smith
123 Main St
Anytown, XX 12345

All lines of data are contained within a single cell. How can I split it so
I have the first line (John Smith) copied to cell B1, line 2 to C1, and line
3 to D1? I am trying to avoid the manual copy/paste method.

Thanks for any advice!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How to split columns with multiple lines w/in cells

Are these lines within the cell caused by using alt-enters or are they just
natural line breaks when wraptext is turned on?

If you used alt-enters to get the newline
Select the column
Data|text to columns
Delimited
Other box
type:
ctrl-j
and finish up.

ctrl-j is the same as alt-enter

Ben wrote:

I have complete addresses in each cell. For example, cell A1 has:

John Smith
123 Main St
Anytown, XX 12345

All lines of data are contained within a single cell. How can I split it so
I have the first line (John Smith) copied to cell B1, line 2 to C1, and line
3 to D1? I am trying to avoid the manual copy/paste method.

Thanks for any advice!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default How to split columns with multiple lines w/in cells

Dave,

You are both a scholar and a gentleman! Thank you very much!

Ben

"Dave Peterson" wrote:

Are these lines within the cell caused by using alt-enters or are they just
natural line breaks when wraptext is turned on?

If you used alt-enters to get the newline
Select the column
Data|text to columns
Delimited
Other box
type:
ctrl-j
and finish up.

ctrl-j is the same as alt-enter

Ben wrote:

I have complete addresses in each cell. For example, cell A1 has:

John Smith
123 Main St
Anytown, XX 12345

All lines of data are contained within a single cell. How can I split it so
I have the first line (John Smith) copied to cell B1, line 2 to C1, and line
3 to D1? I am trying to avoid the manual copy/paste method.

Thanks for any advice!


--

Dave Peterson

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
Split text into multiple columns using a common delimiter buffgirl71 Excel Discussion (Misc queries) 4 May 21st 23 07:43 PM
Split non delimited data into multiple cells KJM Excel Worksheet Functions 3 September 18th 06 09:12 PM
Multiple stacked columns chart with lines krispo Charts and Charting in Excel 3 July 19th 06 10:55 PM
how to split address blocks across multiple cells JoannaF Excel Worksheet Functions 13 May 2nd 06 12:19 PM
How do I split a cell into multiple rows/columns? SKA Excel Discussion (Misc queries) 1 January 18th 06 12:04 AM


All times are GMT +1. The time now is 04:52 AM.

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

About Us

"It's about Microsoft Excel"