+ Reply to Thread
Results 1 to 8 of 8

INDEX/MATCH using multiple static lookup_values from drop down

  1. #1
    Registered User
    Join Date
    05-01-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    23

    Question INDEX/MATCH using multiple static lookup_values from drop down

    Hello, I am trying to do an INDEX/MATCH to return a value based on multiple lookup_values.

    The workbook is attached, and what I am trying to accomplish is this:

    If 50, 75, or 90 are selected from Column D drop down of this (Main) worksheet, then return Column A, B, and C values for those rows to the Report worksheet.

    So in my sample spreadsheet, John, Jim, and Jack's information should be returned on the Report worksheet because their Column D shows 50, 75, and 90.
    Alice, Wanda, and Cindy's information should not be returned on the Report worksheet because their column D shows Budget Only, Contacting, and 100.

    My current INDEX/MATCH formula is =INDEX(Main!$C2,MATCH(50,Main!$D2),0), but this only works when column D has 50 chosen because I have only asked MATCH to return info if it finds something with 50 because I do not know how to ask it to search for multiple lookup_values.

    So, as you will see, only John's information is returned on the report worksheet, but Jim and Jack's are not.

    Matchmult.xlsx

    Thank you!

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: INDEX/MATCH using multiple static lookup_values from drop down

    Try this Array Formula. Since this is an array formula so you need to confirm it with Ctrl+Shift+Enter instead of just Enter.

    On Report Sheet, in A1
    Please Login or Register  to view this content.
    and then drag across and down until you get blank cells.

    You may also try this array formula.......

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by sktneer; 05-20-2014 at 12:25 PM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  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: INDEX/MATCH using multiple static lookup_values from drop down

    Instead of trying to make a formula for this, have you looked at using filters? Click on the table, go to Filter and Sort/Filter, then click the "down" arrow" on "change" and select/unselect what you want to show
    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
    05-01-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: INDEX/MATCH using multiple static lookup_values from drop down

    It is not working for me on my production sheet but that's probably because I don't quite understand what's happening yet . I'll look into the functions you're using to understand it better, but in the meantime are you saying that the match feature doesn't allow multiple lookup_values? For example, something like: =INDEX(Main!$C2,MATCH(50+75+90,Main!$D2),0)

    Thanks again.

  5. #5
    Registered User
    Join Date
    05-01-2014
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: INDEX/MATCH using multiple static lookup_values from drop down

    Quote Originally Posted by FDibbins View Post
    Instead of trying to make a formula for this, have you looked at using filters? Click on the table, go to Filter and Sort/Filter, then click the "down" arrow" on "change" and select/unselect what you want to show
    I don't quite understand, I am trying to take certain values from one sheet, based on criteria, and automatically re-populate them on another sheet. Can I do that with filters?

    I use for my day to day work which is based on the quarterly happenings of my job, however once a week I am asked to provide a report that looks at just the current month to date. Anything labelled 50, 75, or 90, has a chance of being resolved this month.

    I would like the items that have a chance of being resolved this month to populate on the reports worksheet so my bosses can have one thing to look at without going through all of the sheets that I use day to day.

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: INDEX/MATCH using multiple static lookup_values from drop down

    Since there are multiples lookup values, that's why you need to use an array formula with the combination of Index, Small, IF and Row. The Small and Row formulas will return the row number to the Index portion of the function as to return multiple records one by one, after checking the logical conditions within IF statements, as you drag down the formula down.

  7. #7
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: INDEX/MATCH using multiple static lookup_values from drop down

    You can also use Advanced Filter. See the attached sheet.
    Attached Files Attached Files

  8. #8
    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: INDEX/MATCH using multiple static lookup_values from drop down

    My reason for suggesting filters, was so that if you want to just show the data you want, the filter will do that for you - but if you want to show the values on another sheet, you could use copy/paste

+ 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] Multiple index match formulas instead of static if vlookup
    By fredstyler in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-15-2014, 07:55 AM
  2. [SOLVED] Index match multiple results in drop down
    By adnanaddo in forum Excel General
    Replies: 3
    Last Post: 07-10-2012, 05:15 AM
  3. Multiple lookup_values
    By martinpe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-11-2008, 01:23 AM
  4. [SOLVED] Match with 2 Lookup_Values used as search criteria.
    By Sigmaz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-22-2005, 11:07 PM
  5. [SOLVED] Match with 2 Lookup_Values used as search criteria.
    By Sigmaz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-21-2005, 05:06 PM

Tags for this Thread

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