+ Reply to Thread
Results 1 to 8 of 8

Display results from a list based on multiple column filters.

  1. #1
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Question Display results from a list based on multiple column filters.

    Hi gurus!
    I might have somewhat of a challenge for you

    I have created a list of individuals with multiple columns of values for each individual. On a separate sheet i want to be able to choose certain values from the list-sheet and get all results that match all chosen values.
    The list is over 30.000 rows long but in the example file i have attached i have only 584 rows.

    On the sheet "Duty Officer List" I have made a complete list of individuals and information about each individual per row.
    On the sheet "DOFF Finder" I have created 6 Data Validation cells that can be selected. These cells contain the values in Columns "G" through "L" on the "Duty Officer List" sheet.

    On the sheet "DOFF Finder" I want to be able to make selections in each of the cells "C4" through "C9" (one or more) and for each selection, be presented with the results in the Table on the same sheet. The table should only contain the values you can see. These are columns "B" through "F" from the "Duty Officer List" sheet.
    It should list one row of information for each hit found when making the selection.

    Also, many of the selection values can be located in different columns between "G" and "L" on the "Duty Officer List" but only once on each row.
    For this reason i need each value selected on the "DOFF Finder" sheet to check across all rows and all G-L columns (in essence G2:L584).

    The results list doesn't have to be a table, i just created one because i thought it might be easiest to populate a table with new rows of results.

    Ask if anything is unclear or if i explained it badly

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2,235

    Re: Display results from a list based on multiple column filters.

    PLeasee see the file, hope it works....

    Cheers
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Display results from a list based on multiple column filters.

    Quote Originally Posted by azumi View Post
    PLeasee see the file, hope it works....

    Cheers
    Hi Azumi,

    Thnx for the effort, that works great when i enter the exact number of traits for individuals. But, what i really need is for the list to be populated with individuals as soon as any of the traits give a hit.
    For example, choosing "Aggressive" should list all individuals that have that trait in any of the Trait-columns no matter if they have several other traits as well. When continuing to enter other traits the list should filter more and more.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,114

    Re: Display results from a list based on multiple column filters.

    I can't help thinking that you are using the wrong tool for this job. Why not import your data into Access and use the DB tools there to do what you want?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  5. #5
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Display results from a list based on multiple column filters.

    Quote Originally Posted by AliGW View Post
    I can't help thinking that you are using the wrong tool for this job. Why not import your data into Access and use the DB tools there to do what you want?
    You might be right about that considering the amount of data i have. I have never really worked in Access much so that's why i chose to keep with Excel. I'll have to also look into how DB management works in Access. Thanks for the tip.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    18,760

    Re: Display results from a list based on multiple column filters.


  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    mysore
    MS-Off Ver
    Excel 2019
    Posts
    5,112

    Re: Display results from a list based on multiple column filters.

    Pl see attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-12-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Display results from a list based on multiple column filters.

    Quote Originally Posted by alansidman View Post
    Thnx mate, i'll look into it!


    Quote Originally Posted by kvsrinivasamurthy View Post
    Pl see attached file.
    Thank you K! That works great! I'll take that as a nice solution

+ 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. List Results Based on Multiple Criteria
    By scottcnichols in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2013, 12:30 PM
  2. [SOLVED] Display multiple search results by column
    By Declan.Ryan in forum Excel General
    Replies: 19
    Last Post: 11-09-2012, 08:51 AM
  3. Multiple results to display based on selection made from drop down list
    By scoot_eruk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-16-2012, 05:03 AM
  4. [SOLVED] return multiple results from one column based on cells in another column
    By chollyfunk in forum Excel General
    Replies: 5
    Last Post: 05-09-2012, 05:20 AM
  5. How to display multiple results from a list?
    By oliccm in forum Excel General
    Replies: 8
    Last Post: 01-26-2009, 02:23 PM

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