+ Reply to Thread
Results 1 to 2 of 2

Formula to wrap text at a certain point

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    33

    Formula to wrap text at a certain point

    Hi,

    I need a formula that will force a carriage return in a cell which concatenates two other cells - something like:

    =A1&CHAR(13)&B1

    So that the contents of A1 appears above the contents of B1.

    ie.
    Cell A1="Hi"
    cell B1="There"
    formula to wrap text and present as:
    Hi
    There

    Can anyone assist?

    Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Formula to wrap text at a certain point

    Use CHAR(10) instead of CHAR(13), and ensure the cell is formatted to Wrap Text. You may need to adjust the row height manually to see both lines of text.

    Hope this helps.

    Pete

+ 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. Autoheight and word wrap for text from formula
    By kbartkowski in forum Excel General
    Replies: 9
    Last Post: 09-21-2018, 09:06 PM
  2. Convert formula to values and wrap text automatically
    By suchetherrah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2016, 11:42 PM
  3. How to wrap text returned from formula in Excel 2010?
    By ana.dv3 in forum Excel General
    Replies: 1
    Last Post: 10-22-2013, 12:26 PM
  4. [SOLVED] Wrap Text in ListView: how to wrap text in the columns of a list view
    By TommyToe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 07:02 AM
  5. Wrap text in a formula cell
    By RANDY IN NC in forum Excel General
    Replies: 4
    Last Post: 02-01-2008, 12:10 PM
  6. Text wrap and allow cell height to increase with wrap
    By tpenterprize in forum Excel General
    Replies: 1
    Last Post: 10-19-2007, 02:30 PM
  7. [SOLVED] using text wrap how can I type over the page break point
    By Mike Dewar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2006, 01:10 AM

Tags for this Thread

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