#1   Report Post  
Posted to microsoft.public.excel.misc
Cat Cat is offline
external usenet poster
 
Posts: 63
Default Line break formula

Hello,

I need to combine two cells into one - which I can do using the ampersand
formula, however I need to insert a line break between the information in the
two cells. Would someone please be able to point me in the right direction as
to how I would do this?

Many thanks,
Catriona
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Line break formula

You need to add character code 10, like so:

=A1&CHAR(10)&B1

Hope this helps.

Pete

On Jul 24, 3:34 pm, Cat wrote:
Hello,

I need to combine two cells into one - which I can do using the ampersand
formula, however I need to insert a line break between the information in the
two cells. Would someone please be able to point me in the right direction as
to how I would do this?

Many thanks,
Catriona



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Line break formula

Try something like this:

B1: =A1&CHAR(10)&A2

That formula appends the value in A2 to the value in A1, separated by a
carriage return......(that's what ASCII character 10 is)

Remember to set the cell format to wrap text and adjust the column width if
you need to.

Does that help?
***********
Regards,
Ron

XL2003, WinXP


"Cat" wrote:

Hello,

I need to combine two cells into one - which I can do using the ampersand
formula, however I need to insert a line break between the information in the
two cells. Would someone please be able to point me in the right direction as
to how I would do this?

Many thanks,
Catriona

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i add a line break into a formula in excel 2000? Bretter99 Excel Discussion (Misc queries) 9 March 15th 10 05:07 PM
Break cell into multiple lines by line break Chia Excel Discussion (Misc queries) 1 August 20th 06 06:37 AM
How do I get a line break when using a formula to combine cells TESA0_4 Excel Worksheet Functions 5 May 13th 06 03:15 PM
Insert manual line break in formula 0-0 Wai Wai ^-^ Excel Worksheet Functions 3 December 11th 05 07:10 PM
Insert manual line break in formula 0-0 Wai Wai ^-^ Excel Worksheet Functions 1 September 8th 05 12:03 PM


All times are GMT +1. The time now is 08:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"