+ Reply to Thread
Results 1 to 3 of 3

text line break symbol to use in a formula

  1. #1
    Registered User
    Join Date
    07-07-2005
    Location
    New York
    Posts
    21

    text line break symbol to use in a formula

    I am trying to combine a few cells of text into one which includes a line break. Is there a symbol I can use as part of my formula that will generate the line break?

    Let's say cell A1 was "John", cell B1 "Doe", and cell C1 "25 years" and I wanted to combine them in a new cell in the following format:

    John Doe
    25 years

    by formula
    =A1&" "&B2&"<line break symbol>"&C1
    where <line break symbol> is what I am looking for

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: text line break symbol to use in a formula

    Hi,

    try

    =A1&" "&B2&CHAR(10)&C1

    don't forget to set the cell to wrap text and make the rows high enough to see all lines!!

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: text line break symbol to use in a formula

    In my standard template, I have a defined formula vbLf =CHAR(10) for just that purpose; then you can do =A1 & vbLf & B2 & vbLf & C1
    Entia non sunt multiplicanda sine necessitate

+ 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