I have 3 cells, filled like this:
John (that's in A1)
Mary (that's in B2)
Ted (that's in C3)
I want to concatenate into B1, but I want the result to be:
John
Mary
Ted - stacked on top of each other
I DON"T want B1 to look like this:
JohnMaryTed -side by side, as concatenate usually functions.
Any ideas how to do it?
Last edited by jomili; 03-11-2010 at 03:56 PM.
=A1&Char(010)&B2&Char(010)&C3
Then format Cell, go to Alignment tab and select Wrap text
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Wow! Fast results, and exactly what I needed. you wouldn't care to elucidate on how/why it works, would you? The formula is easy enough to reproduce, but I'd like to know WHY it works.
Thanks for the help!
Char(010) is the carriage return character... when you Wrap the text, Excel knows to break it at those points...
The & symbols is a shorter (alternative) way to concatenate various strings..
could've used also...
=Concatenate(A1,Char(010),B2,Char(010),C3)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks