+ Reply to Thread
Results 1 to 5 of 5

Insert line break and format text with CONCATENATE (or &)

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Excel 2013
    Posts
    41

    Insert line break and format text with CONCATENATE (or &)

    Hi there!

    I need to concatenate the content of two cells in one (using CONCATENATE or & works just fine...) but I would like the result to show in the resulting cell over two lines, and the first one being bold. Anyone?

    Cell A1: "ABBR"
    Cell A2: "FULL NAME"
    Cell A3=A1 & " " & A2
    Cell A3 displays "ABBR FULLNAME"

    I need to display:

    ABBR
    FULLNAME

    Anyone? Thanks!

    Annie

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Insert line break and format text with CONCATENATE (or &)

    Annie

    That's not possible using formulas you would need code.
    If posting code please use code tags, see here.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Insert line break and format text with CONCATENATE (or &)

    Perhaps =A1&char(10)&a2 and click " wrap text in the format alignment tab ?

  4. #4
    Registered User
    Join Date
    09-11-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: Insert line break and format text with CONCATENATE (or &)

    Quote Originally Posted by Pepe Le Mokko View Post
    Perhaps =A1&char(10)&a2 and click " wrap text in the format alignment tab ?
    That in itself didn't do it, but I did find a way to insert at least the line break based on it! I just did =A1 & "" & A2, and inserted a line break between the quotation marks using alt+enter. With the wrap text, its doing just fine, no matter the width of the column. Thanks! (As for the bold format, I can always live without it...:P)

  5. #5
    Registered User
    Join Date
    09-11-2013
    Location
    Montreal, Qc, Canada
    MS-Off Ver
    Excel 2013
    Posts
    41

    Re: Insert line break and format text with CONCATENATE (or &)

    Quote Originally Posted by Norie View Post
    Annie

    That's not possible using formulas you would need code.
    It looks like the line break part is, at least! :D (See previous reply)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to insert line break between rows
    By ulyhappy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2012, 12:00 PM
  2. Line break using Concatenate
    By kys2000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2007, 06:03 PM
  3. Insert manual line break in formula
    By 0-0 Wai Wai ^-^ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-11-2005, 03:15 PM
  4. [SOLVED] Insert maunal line break in formula
    By 0-0 Wai Wai ^-^ in forum Excel General
    Replies: 2
    Last Post: 09-10-2005, 12:05 PM
  5. [SOLVED] Insert manual line break in formula
    By 0-0 Wai Wai ^-^ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2005, 07:05 AM

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