+ Reply to Thread
Results 1 to 4 of 4

Transpose with different counts of items per identifyer

  1. #1
    Registered User
    Join Date
    11-25-2012
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Transpose with different counts of items per identifyer

    I have names in a list and differing numbers of values in the second column.
    eg:
    sam has 3 entries
    bob has 5 entries
    Jill has 2 entries.

    I want one line per name and the entries transposed on each line. See attached please.
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Transpose with different counts of items per identifyer

    Give this macro a try. Results will be added to sheet2

    Please Login or Register  to view this content.
    Last edited by mike7952; 11-25-2012 at 07:12 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Transpose with different counts of items per identifyer

    If you can create a list of unique names, you can use the method in the attached file...
    Attached Files Attached Files
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    11-25-2012
    Location
    Canberra, Australia
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Transpose with different counts of items per identifyer

    Thank you Mike, worked a treat.

+ 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