+ Reply to Thread
Results 1 to 4 of 4

Table with unique ID's but same values, how to filter out on values?

  1. #1
    Registered User
    Join Date
    03-24-2010
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    20

    Question Table with unique ID's but same values, how to filter out on values?

    I have a table that looks like this:

    ID VALUE1 VALUE2 VALUE3 VALUE4
    1 TEST1 TEST2 TEST3 TEST4
    2 TEST1 TEST2 TEST5 TEST6

    This is a table populated by user data. I then want to organize the table so that the different TEST# shows the different ID's.

    For instance, if I filter on TEST1 I would like to get ID 1 and 2. If I filter on TEST5 I would like to get ID2. How do I solve this? Anyone

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Table with unique ID's but same values, how to filter out on values?

    The approach would be to normalize the data and then use a pivot table. This is a common request, so I wrote a generic program to do it. Sample file, instructions and macro are included in the attachment.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Table with unique ID's but same values, how to filter out on values?

    The solution is to normalize the data and use a pivot table. Data normalization is a frequently-needed function, so I wrote a generic program to do it. A sample workbook, instructions and the macro are included in the attachment.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-24-2010
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Table with unique ID's but same values, how to filter out on values?

    Thanks for the reply, I really appreciate you taking the time for this! This is basically what I'm looking for. I guess its not possible to do this in any other way than with a macro. Since this is not my strong side is it easy to customize the attached file to arrange a table that looks like this:

    INPUT:
    Skjermbilde.PNG

    To this

    OUTPUT:
    Skjermbilde2.PNG

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] search table for unique values return values and corresponding cells to a different sheet
    By thara95 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2017, 09:04 AM
  2. Replies: 5
    Last Post: 12-19-2013, 06:58 AM
  3. Replies: 1
    Last Post: 01-14-2013, 04:01 AM
  4. Advanced filter to get unique values
    By brumbarchris in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-13-2012, 12:21 PM
  5. unique values (without Filter)
    By freud1 in forum Excel General
    Replies: 2
    Last Post: 06-04-2010, 10:36 AM
  6. filter unique values Excel
    By vrijbergen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2005, 02:05 PM
  7. [SOLVED] Advanced Filter - Unique Values
    By EstherJ in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2005, 09:05 AM

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