+ Reply to Thread
Results 1 to 6 of 6

Retrieving multiple results with INDEX MATCH?

  1. #1
    Registered User
    Join Date
    07-12-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2

    Retrieving multiple results with INDEX MATCH?

    Hi guys,

    I apologize if this question is becoming redundant, but (1) I am fairly new to Excel formulas and (2) I did try some of the advice I found in other threads and nothing has worked for me thus far.

    See attached. I have two tabs. Based on what the user selects from the drop down list in A2 Tab1, I would like the information for that Def ID to be auto populated on the row (based on the info found in Tab2). This I have managed to solve.

    My problem comes from the fact that I have the same Def ID showing up multiple times on Tab2 with different information. I need to be able to choose say Def3 from the drop down list and retrieve both instances of Def3 from Tab2. Can anyone help me with this?

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Retrieving multiple results with INDEX MATCH?

    The way to do this most efficiently is to NOT use a second tab. Use the original data tab2.

    1) Highlight the headers in ROW1
    2) Turn on the Data > Filter
    3) Use the drop down that created itself in A1 to select the ID you want to review

    The filter will hide all other rows. You can select one ID or even several.

    With the data filtered you can print, edit, copy to another location (usually not necessary), anything you need, then filter again, or select all to view the entire table again. So the need for Tab1 is pretty much nonexistant.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,986

    Re: Retrieving multiple results with INDEX MATCH?

    In B2:

    =IFERROR(INDEX('Tab2'!B:B,SMALL(IF('Tab2'!$A$2:$A$10=$A$2,ROW('Tab2'!B$2:B$10)),ROWS($A$1:A1))),"")

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Drag copy across and down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    07-12-2017
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    2

    Re: Retrieving multiple results with INDEX MATCH?

    Thank you SO much Ali!

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Retrieving multiple results with INDEX MATCH?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,986

    Re: Retrieving multiple results with INDEX MATCH?

    You're welcome!

    However, as Jerry has pointed out, it would be far simpler to filter the original list!

+ 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] Index Match Multiple results
    By kashifshahzad in forum Excel General
    Replies: 7
    Last Post: 03-21-2017, 11:14 AM
  2. Index Match with multiple results
    By pitterpatton in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-10-2014, 10:41 PM
  3. [SOLVED] Index, Match, Multiple Results
    By ecorf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2013, 11:37 AM
  4. Index/Match with multiple results
    By kwadjo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-26-2013, 04:05 PM
  5. Index/Match with multiple results
    By amcghee1 in forum Excel General
    Replies: 4
    Last Post: 10-18-2012, 12:15 PM
  6. Need help with Index + Match Multiple Results
    By xenohadden in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-11-2012, 05:00 PM
  7. Index and Match and multiple results
    By mike2bf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2008, 04:10 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