+ Reply to Thread
Results 1 to 5 of 5

return multiple values relating to 1 ID

  1. #1
    Registered User
    Join Date
    07-30-2007
    Posts
    61

    return multiple values relating to 1 ID

    Hi

    Is there a way to return multiple values relating to a 1 ID?

    File attached to show what I am getting at.

    There are 2 columns, ID1 and Status, an ID can have more that one status.

    How do I return all the statuses in seperate columns on another sheet.

    i.e
    ID1 - Status1 - Status2 - Status3 - Status4
    1 - Answer1 - Answer2 - Answer3 - Answer4

    A filter wont do because the data I am working on is well over 10,000 rows, I hope someone can help.

    thanks

    Roasty
    Attached Files Attached Files
    Last edited by VBA Noob; 05-05-2008 at 10:59 AM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try this macro.

    Please Login or Register  to view this content.
    Martin

  3. #3
    Registered User
    Join Date
    07-30-2007
    Posts
    61

    Thumbs up

    thanks for this, works perfectly.

    If I wanted to do this for more than whats in the file I attached earlier what would I need to change?

    I am looking to do this on 30,000 rows, some IDs will have more than 50 occurances, so up to Status50

    thanks

  4. #4
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    It should work for your larger data set as it is. You will just need to add some extra headers on your second sheet to go to the 50th.

    It might take some time to get through all 30,000 so having a cup of coffee available is a good idea.

  5. #5
    Registered User
    Join Date
    07-30-2007
    Posts
    61

    Thumbs up

    Cheers, thanks for your help

    I'll get the coffee ready!!!

+ 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