#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default ALT ENTER

I have a complete worksheet that has two lines in each cell. I have to
seperate the two lines into two cells.

Is there a quick way of doing this task?

Thank you.

Lizzie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default ALT ENTER

Presumably, as the title for the thread is Alt Enter, those two lines
are split using Alt-Enter?

If so, and assuming your data is in A1, put this in B1:

=LEFT(A1,FIND(CHAR(10),A1)-1)

and this in C1:

=RIGHT(A1,LEN(A1)-FIND(CHAR(10),A1))

and then copy these two formulae down as far as you need.

Hope this helps.

Pete

On Jan 14, 4:47*pm, Lizzie wrote:
I have a complete worksheet that has two lines in each cell. *I have to
seperate the two lines into two cells.

Is there a quick way of doing this task?

Thank you.

Lizzie


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
Macro to select cells in column enter data then press enter NP New Users to Excel 1 February 20th 08 04:21 PM
Enter multiple numbers in a cell so total shows when enter keypres newbie Excel Worksheet Functions 2 August 19th 07 12:23 PM
Enter info in one sheet, auto enter in another based on one field The BusyHighLighter[_2_] New Users to Excel 1 August 1st 07 10:54 PM
Auto enter date when data in enter in another cell Brian Excel Worksheet Functions 5 December 7th 06 06:44 PM
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. qwopzxnm Excel Worksheet Functions 2 October 20th 05 09:06 PM


All times are GMT +1. The time now is 08:40 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"