+ Reply to Thread
Results 1 to 3 of 3

Using concatenate to create a new line

  1. #1
    Registered User
    Join Date
    01-21-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Using concatenate to create a new line

    When editign a single cell you can press ALT+ENTER to use the second line within a cell. I find this quite useful for entering postal address. e.g.

    Name Alt+Enter
    Address Alt+Enter
    Town Alt+Enter

    etc

    Is there a way to use CONCATENATE to apply "Alt+Enter" in a new cell where data is cuttently in several cells?
    Thanks

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Using concatenate to create a new line

    You can use CHAR(10) ... you will need to ensure cell is formatted for Wrap Text.

    either

    =A1&CHAR(10)&B1&CHAR(10)&C1

    or

    =CONCATENATE(A1,CHAR(10),B1,CHAR(10),C1)

  3. #3
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Re: Using concatenate to create a new line

    Hi there,

    Something like this would work:

    ="Joe Bloggs"&CHAR(10)&"100 Nowhere Street"&CHAR(10)&"Nowhereville"

    Be sure to wrap the text otherwise you'll get a little box with a question mark in it where there's supposed to be line breaks. Obviously you can use cell reference instead of hard-coded text if desired.

    HTH,

    SamuelT

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1