Hard returns in a formula?

  • Thread starter Thread starter PCLIVE
  • Start date Start date
P

PCLIVE

Is there a way to insert a hard return into a formula that joins text from 2
or more cells?

=B1 & B2

I'd like to have 2 hard returns after B1. Is this possible? The result of
the formula should appear as:

"Sentence 1

Sentence 2"


Can this be done with a formula?
Thanks,
Paul
 
try
=b1 &" "&b2
format alignment as wrap text and use as many spaces as necessary
 
Don,

This doesn't work due to a limit in formula length. Maybe there's another
way to do this.

I have a textbox that is populated by joining the text from multiple cells.
However, I need the final output (textbox) to be displayed with some hard
returns. This textbox is supposed to be sort of a preview of what the body
text of an email will look like when sent.

I hope this makes since.

Paul
 
=B1&CHAR(10)&CHAR(10)&B2

set wraptext and widen the row to suit

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top