+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    10-18-2007
    MS-Off Ver
    2003
    Posts
    66

    Concatenate Text with soft return

    Good afternoon,
    I would like to concatenate text comments from 14 worksheets and place a soft return between each next set of text. To further complicate, not all of the worksheets will have comments. Any thoughts?

    Thanks for your help!
    N
    Last edited by NMullis; 07-06-2009 at 11:25 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2003, 2007
    Posts
    355

    Re: Concatenate Text with soft return

    You should post a demo file?
    Comments = Comment of cells?

  3. #3
    Registered User
    Join Date
    10-18-2007
    MS-Off Ver
    2003
    Posts
    66

    Re: Concatenate Text with soft return

    I meant comments as in text information filled in by another user, I apologize for not being clear.

    I have posted a basic idea of what I am doing, however concatenating 2 sheets in the example. In place of the " - " I would like to have a return/separate line only if there is text to place there.

    Please see attached, hopefully it will explain.

    Thank you!
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2003, 2007
    Posts
    355

    Re: Concatenate Text with soft return

    try the following formula:
    =SUBSTITUTE(REPT(Sheet2!F6&CHAR(10),LEN(Sheet2!F6)>0)&REPT(Sheet3!F6&CHAR(10),LEN(Sheet3!F6)>0)&" ",CHAR(10)&" ","")

    Plz, MENTION about Format result-cells in Wrap text type,
    and set autofill for rows' height
    Last edited by tigertiger; 07-04-2009 at 02:46 PM.

  5. #5
    Registered User
    Join Date
    10-18-2007
    MS-Off Ver
    2003
    Posts
    66

    Re: Concatenate Text with soft return

    Perfect. Thank you very much tigertiger!

    Cheers!
    N

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.2.0