+ Reply to Thread
Results 1 to 4 of 4

Multiple return Index match or better look up

  1. #1
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    Multiple return Index match or better look up

    Hello,

    here is what I am looking for. This is a small sample of data. I need a look up function that will only return the data from column B on Database 2 tab. Testing this formula or maybe something similar?
    Please Login or Register  to view this content.
    There are going to be same account numbers where I only want to return the values in column B of second tab. I don;t think Vlookup will work but if there is a multi Vlookup, maybe?


    Any ideas? Sample file attached

    Capture.PNG
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Multiple return Index match or better look up

    I think you are looking for...

    =IFERROR(INDEX('Database 2'!B:B,MATCH(A2&"|"&B2,'Database 2'!A:A&"|"&'Database 2'!B:B,0)),"")

    ...in C2 copied down on tab Database 1

    IMPORTANT
    • This is an array formula
    • Enter the formula >> press F2 then >> CTRL + SHIFT + ENTER
    • If entered correctly, the formula will be enclosed in {brackets}
    • Do not enter the {brackets} manually
    HTH
    Regards, Jeff

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

    Re: Multiple return Index match or better look up

    Another option with non array formulas, put this on C2 and copied down until blanks:

    =IFERROR(INDEX('Database 2'!$B$2:$B$4,MATCH(1,INDEX(('Database 2'!$A$2:$A$4=A2)*('Database 2'!$B$2:$B$4=B2),),0)),"")
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    Re: Multiple return Index match or better look up

    @azumi that formula works, thanks

+ 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. INDEX MATCH MATCH and return MAX value of multiple matches
    By njm0059 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-24-2018, 05:29 PM
  2. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  3. Replies: 5
    Last Post: 10-16-2016, 02:33 AM
  4. [SOLVED] Index/Match with Multiple Criteria and Multiple return values
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2015, 10:27 AM
  5. [SOLVED] Match Index to return multiple values
    By ed4ed2ed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2015, 05:55 PM
  6. Using Index/Match to return multiple values for one match
    By superboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 06:21 PM
  7. Can Index or Match return multiple results?
    By waverider in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-30-2007, 10: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