Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXCEL - Multiple lines of text in a cell 2

Status
Not open for further replies.

jawshark

Technical User
Mar 23, 2002
5
US
I'm trying to concatenate 3 different cells into a single cell that has each of 3 origianl cells' contents on it's own line.

For Example:

Given the below:

a2 a3 a4
John Doe 123 A Rd City,ST,Zip

I would like to have:

a1
John Doe
123 A Rd
City,ST,Zip

I know I can use ALT+ENTER when editing a cell to enter a "hard" return, but I'd like to do this with concatenation, AND not have to write a macro. I thought it would be quick and easy... The function CHAR doesn't do it.

Any help would be appreciated.

Thanks,
Mike
 
Hi Mike

GOOD news. The following will work...

=A2&CHAR(10)&A3&CHAR(10)&A4

Be sure to format the cell - i.e. Format - Cells - Alignment - Vertical: "Top", Text control: "Wrap text".

Please advise as to how you make out. :)

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Dale!

Thank you.

I learnt something new today.

Indu
 
Dale:

IT WORKS!! Thank you very much! A simple LF - I fell like a dummy.

Thanks again,
Mike
 
fell ==> feel

Now I really feel like a dummy...

Mike
 
Indu and Mike,

Thanks for the STARS !!!!

I'm glad I was able to help. :)

Regards, ...Dale

P.S. Mike - we've ALL been down that road on a cloudy day ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top