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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to put a Carriage Return in Excel Cell

Status
Not open for further replies.

RemingtonSteel

Programmer
Jul 14, 2006
65
GB
Hello!
How can I concatenate 2 cells with a carriage return between them?

Manually, I know that it can be done by ALT+Enter.
However, I need to make a formula so I can save it on a single cell (new cell contains 1st cell + carriage return + 2nd cell).

Thanks!
Gene
 
=A1 & char(13) & B1

Char(13) is Carriage Return, Char(10) is New Line/Line Feed.

[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ 181-2886 before posting.
 
Hi

As you type, you can also use alt+enter to wrap the text.

You must also FORMAT the cell alignment to WRAP the text.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top