+ Reply to Thread
Results 1 to 13 of 13

Vlookup or Index/Match Mulitple Solutions in a list form

  1. #1
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Vlookup or Index/Match Mulitple Solutions in a list form

    Hello,

    I've tried several formulas found on here and Google but can't seem to find a solution.

    I am building a lookup tool where someone can select a market and it returns a list of the store numbers and names.

    Example : Select mrkt -> Atlanta (from drop list)

    Return: All the Atlanta store numbers and names

    Here's the array I tried but it's not working:

    =IFERROR(INDEX('Data'!B:B,SMALL(IF('Data'!Q$3:Q$1995="0001-ATLANTA",ROW('Data'!$Q$3:$Q$1995)),ROWS(Sheet2!B$5:B5))),"")

    Please help I would greatly appreciate it.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED, scroll down and click Manage Attachments.
    If posting code please use code tags, see here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Looks OK to me, at a quick glance...

    1. Are calculation options set to automatic?

    2. Did the {} appear round the formula after CTrl-Shift-Enter?

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Ahh wait a minute... How does it get to "0001-ATLANTA" from a selection of "Atlanta" in the DD box??? There's something missing... INDIRECT("00001-"&$A$1) instead of "0001-ATLANTA"... where your DD is in A1. maybe...

  5. #5
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Hi Team,

    I just uploaded a test doc through Manage Attachment.

    Thank you
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Yes, {} appeared. I made sure to ctrl+shft+entr

    Thx,
    T

  7. #7
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    0001-Atlanta is the official name. I just wrote Atlanta for the post.

    Thx,
    T

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Array formula in F7, copied across and down:

    =IFERROR(INDEX('Test Data'!A:A,SMALL(IF('Test Data'!$C$2:$C$9='LookUp Tool '!$B$3,ROW('Test Data'!A$2:A$9)),ROWS(A$7:A7))),"")

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    or, since you have Excel 2016, an ordinary formula:

    =IFERROR(INDEX('Test Data'!B:B,AGGREGATE(15,6,ROW('Test Data'!B$2:B$9)/('Test Data'!$C$2:$C$9='LookUp Tool '!$B$3),ROWS(B$7:B7))),"")
    Attached Files Attached Files

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Re Atlanta... Whatever is in your DD has to match the data in column C of the raw data.

  11. #11
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Thank you so much, Glenn. I really appreciate it!!!!!

    -T

  12. #12
    Registered User
    Join Date
    07-25-2018
    Location
    Atlanta, GA
    MS-Off Ver
    2016
    Posts
    6

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    Ah ok. I see where I went wrong. Thanks so much!

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,101

    Re: Vlookup or Index/Match Mulitple Solutions in a list form

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a 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. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  2. [SOLVED] Index/Match with mulitple criteria referencing same table
    By mchiappetta in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-09-2014, 09:24 AM
  3. Index/Match with mulitple arrays
    By Jeannie2006 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-15-2013, 10:56 PM
  4. Index-Match with mulitple worksheets
    By adamjohnson182 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2013, 08:40 PM
  5. Mulitple Criteria Index,Match or Evaluate issue
    By Journeyman3000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2013, 04:30 PM
  6. Sum of Index/Match, or other solutions?
    By FRABAR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2013, 11:59 PM
  7. Index-match for data on mulitple rows
    By Nadir Soofi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-29-2008, 03: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