Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Possible to add a Line break in a formula ?

I have 4 cells of postal address data which I want to combine and include
line breaks.

I know that to combine them in a continuous sequence I can use

=B4&", "&C4&", "&D4&", "&E4

But I want to insert a line break instead of a comma so that the result
appears as follows

B4
C4
D4
E4

instead of B4, C4, D4, E4 which the previous formula would give me.

Anyone any ideas?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Possible to add a Line break in a formula ?

=b4 & char(10) & c4 & char(10) & d4 & char(10) & e4

Then:
Format Cells... Alignment check wrap on
--
Gary''s Student - gsnu200768


"Ricardo the Numpty" wrote:

I have 4 cells of postal address data which I want to combine and include
line breaks.

I know that to combine them in a continuous sequence I can use

=B4&", "&C4&", "&D4&", "&E4

But I want to insert a line break instead of a comma so that the result
appears as follows

B4
C4
D4
E4

instead of B4, C4, D4, E4 which the previous formula would give me.

Anyone any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Possible to add a Line break in a formula ?

Have a big gold star :)

Many thanks.

"Gary''s Student" wrote:

=b4 & char(10) & c4 & char(10) & d4 & char(10) & e4

Then:
Format Cells... Alignment check wrap on
--
Gary''s Student - gsnu200768


"Ricardo the Numpty" wrote:

I have 4 cells of postal address data which I want to combine and include
line breaks.

I know that to combine them in a continuous sequence I can use

=B4&", "&C4&", "&D4&", "&E4

But I want to insert a line break instead of a comma so that the result
appears as follows

B4
C4
D4
E4

instead of B4, C4, D4, E4 which the previous formula would give me.

Anyone any ideas?


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
Line break formula Cat Excel Discussion (Misc queries) 2 July 24th 07 03:46 PM
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 06:35 AM.

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"