Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Consider:

+---+----------------------+           
|   |        A             |
+---+----------------------+    
| 1 | Instructions to foo  | 
+---+----------------------+   
| 2 | 1.) Foo              |
+---+----------------------+   
| 3 | 2.) Foo again        |
+---+----------------------+   
| 4 | 3.) if foo, then bar |
+---|----------------------+   

and I WANT

+---+----------------------+           
|   |        A             |
+---+----------------------+    
|   |Instructions to foo   | 
| 1 | 1.) Foo              |
|   | 2.) Foo again        |
|   | 3.) if foo, then bar |
+---|----------------------+   

I know that CONCATENATE(A2+" "+A3+" "+A4) or the ampersand A2&" "&A3" "&A4 will yield 1.) Foo 2.) Foo again 3.) if foo, then bar but I can't find a way to merge contents WITH line breaks intact.

I'm hoping there's some sort of formula equivalent of Alt-Enter so I could do this: A2&<Alt-Enter>&A3&<Alt-Enter>&A4 to achieve the deisred results.

Any tips?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

You can use the Linefeed character:

=B1 & CHAR(10) & B2

You need to have Wrap Text enabled on the cells for it to display correctly.

share|improve this answer
    
Awesome. Had no idea that existed...thanks for the tip! –  dwwilson66 Mar 8 '13 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.