+ Reply to Thread
Results 1 to 3 of 3

combine records in multiple rows of sheet 1 to sheet 2 based on unique number in column

  1. #1
    Registered User
    Join Date
    01-01-2013
    Location
    ksa
    MS-Off Ver
    Excel 2003
    Posts
    1

    combine records in multiple rows of sheet 1 to sheet 2 based on unique number in column

    kindly provide excel file

    BEFORE
    HH Acct
    1 1234
    1 2345
    1 3456
    1 4567
    2 9876
    2 8765
    3 1113
    4 5556
    4 4447
    4 3335

    AFTER
    HH Acct1 Acct2 Acct3 Acct4 Acct5 Acct6 Acct7
    1 1234 2345 3456 4567
    2 9876 8765 8765
    3 1113
    4 5556 4447 3335

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: combine records in multiple rows of sheet 1 to sheet 2 based on unique number in colum

    See the attached file, after running macro consolidate.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    10-22-2009
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: combine records in multiple rows of sheet 1 to sheet 2 based on unique number in colum

    Oeldere,

    This macro looks great. I am actually trying to do the exact opposite (taking a multi-column view and creating a separate row for each combination) I'm having trouble switching your code for this purpose.

    Would you be able to show me how to reverse this macro?

    Thanks

+ 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