Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default how to merge 2 cells and have them on 2 separate lines in a cell

how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default how to merge 2 cells and have them on 2 separate lines in a cell

Try this:

=A1 & CHAR(10) & B1

Then set the cell to wrap text.

CHAR(10) is equivalent to Alt-Enter if you typed it yourself.

Hope this helps.

Pete

On Aug 13, 4:33*pm, Kerry wrote:
how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default how to merge 2 cells and have them on 2 separate lines in a cell

I don't understand what you're trying to do. Merging (shudder) is usually
done to give the appearance of one cell. However, you state that you want the
2 cells to appear as seperate lines. If you want them to appear seperate, why
nto leave them seperate?

Merging tends to cause so many more problems, as it interferes with copy,
paste, sort, VB, formula extrapolation, etc.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Kerry" wrote:

how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default how to merge 2 cells and have them on 2 separate lines in a cell

Try :

=A2&char(10)&B2

Make sure your formula cell is set to Wrap Text (Format/Cells/Alignment)

"Kerry" wrote:

how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default how to merge 2 cells and have them on 2 separate lines in a ce

That is just what I needed, worked perfect.

Thanks

"Pete_UK" wrote:

Try this:

=A1 & CHAR(10) & B1

Then set the cell to wrap text.

CHAR(10) is equivalent to Alt-Enter if you typed it yourself.

Hope this helps.

Pete

On Aug 13, 4:33 pm, Kerry wrote:
how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default how to merge 2 cells and have them on 2 separate lines in a ce

That is just what I needed, works perfect.

Thanks

"Sean Timmons" wrote:

Try :

=A2&char(10)&B2

Make sure your formula cell is set to Wrap Text (Format/Cells/Alignment)

"Kerry" wrote:

how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default how to merge 2 cells and have them on 2 separate lines in a ce

You're welcome, Kerry - thanks for feeding back.

Pete

On Aug 13, 5:07*pm, Kerry wrote:
That is just what I needed, worked perfect.

Thanks



"Pete_UK" wrote:
Try this:


=A1 & CHAR(10) & B1


Then set the cell to wrap text.


CHAR(10) is equivalent to Alt-Enter if you typed it yourself.


Hope this helps.


Pete


On Aug 13, 4:33 pm, Kerry wrote:
how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.- Hide quoted text -


- Show quoted text -


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default how to merge 2 cells and have them on 2 separate lines in a ce

Thank you for the reply!

"Kerry" wrote:

That is just what I needed, works perfect.

Thanks

"Sean Timmons" wrote:

Try :

=A2&char(10)&B2

Make sure your formula cell is set to Wrap Text (Format/Cells/Alignment)

"Kerry" wrote:

how to merge 2 cells and have them on 2 separate lines in that cell, one
above the other.

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
separate one cell into several cells martin whiting Excel Discussion (Misc queries) 2 April 16th 09 05:33 PM
Separate lines in Excel cell BobO''''''''B Excel Worksheet Functions 5 May 31st 07 08:56 PM
merge a wordfile of names & addresses to an excel separate cells John Excel Worksheet Functions 1 April 6th 07 09:22 PM
Separate first and second name in one cell into separate cells. Dwight in Georgia Excel Discussion (Misc queries) 3 January 25th 06 09:09 PM
Separate first and second name in one cell into separate cells. Gary's Student Excel Discussion (Misc queries) 0 April 27th 05 11:11 PM


All times are GMT +1. The time now is 06:11 PM.

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"