+ Reply to Thread
Results 1 to 6 of 6

Merging multiple rows into a single row

  1. #1
    Registered User
    Join Date
    11-29-2006
    Posts
    4

    Merging multiple rows into a single row

    I have a spreadsheet that lists all customers and order numbers, with each order number having a different line, and the customers shown multiple times.

    I would like to merge this, so each customer number is shown once, and the order numbers shown in the following cells. I've attached an example sheet.

    I've seen various methods explained, but can't figure them out, so I'd appreciate an example if anyone can help.

    Cheers

    Baz
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Merging multiple rows into a single row

    Try this
    Please Login or Register  to view this content.

    Hope this helps
    Attached Files Attached Files
    Last edited by Marcol; 07-02-2010 at 08:05 AM. Reason: Added option explicit, & updated attachment
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    11-29-2006
    Posts
    4

    Re: Merging multiple rows into a single row

    Thanks Marcol

    I've not been able to get the macro working. I've not really used them before.

    Is there any chance you could apply it to the spreadsheet I attached so I can see how it works?

    I really appreciate your help with this.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Merging multiple rows into a single row

    That was the spreadsheet you attached.

    The only differences were that
    .
    1/. I asumed that your headers were in row 1 in your real worksheet, and data began in row 2.
    2/. I added a few lines for testing purposes

    If this is not the case, please post a sample sheet, that clearly shows the sheet structure you are using.

    I will be happy to help from thereon, and give any explanation you might need.

    Cheers

  5. #5
    Registered User
    Join Date
    11-10-2011
    Location
    Cluj, Romania
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Merging multiple rows into a single row

    i have a similar problem with the one above.

    can anyone help me to achieve the result that is in the file attached.

    regards,
    sebastian

    probebun.xls
    Attached Files Attached Files

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Merging multiple rows into a single row

    Hi sensey1

    Welcome to the forum ...
    Read this Forum Rules before the moderators get you...

    Forum Rules
    2. Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread.
    This thread is nearly 2 years old!

    If you can Edit/Delete your post, do so, if not you'll need to ask a moderator to help you.

    Cheers

+ 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