+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : combine text from two rows EDIT: from two or more

  1. #1
    Registered User
    Join Date
    06-23-2012
    Location
    Montevideo, Uruguay
    MS-Off Ver
    2010
    Posts
    13

    combine text from two rows EDIT: from two or more

    Help.JPG

    Hello, here is my problem. I have a XLS (that integrates an old database) and I need to put together more than 6000 lines as shown above. Split sentences in duplicated rows.

    I hope someone knows an easy way to do it and kindly share it ! Thanks.
    Last edited by edward12; 06-24-2012 at 02:00 AM. Reason: request

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: Help to build a formula

    Please edit your question and change the thread title to describe the actual problem, for example "combine text from two rows".

    See the attached file. The formula used is

    =IF(B1="","",IF(B2="",E1&" "&E2,E1))

    Copy down. Does that help?
    Attached Files Attached Files
    Like a post? Click the star below it!

  3. #3
    Registered User
    Join Date
    06-23-2012
    Location
    Montevideo, Uruguay
    MS-Off Ver
    2010
    Posts
    13

    Re: combine text from two rows

    That was magic. You saved hours of my life. Thanks!

  4. #4
    Registered User
    Join Date
    06-23-2012
    Location
    Montevideo, Uruguay
    MS-Off Ver
    2010
    Posts
    13

    Re: combine text from two rows

    Hi again npamcpp, I don't mean to abuse of your time, but if you wanna lend me another hand with the same issue I'll appreciate it.

    Although your formula did perfectly solve my request, my problem was a little bigger.

    Sometimes I need to combine not only 2 but 3, 4, 5 or more rows in one.

    Can that be formulated all at once?

    Thank you.
    Attached Files Attached Files
    Last edited by edward12; 06-24-2012 at 01:59 AM.

  5. #5
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: combine text from two rows EDIT: from two or more

    Formulas cannot loop through a range and concatenating a varying number of cells cannot be done easily in a formula. This would require a VBA UDF. Out of my league. You may want to post this in the Programming forum.

+ 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