+ Reply to Thread
Results 1 to 8 of 8

Looking for a double match in an INDEX/MATCH

  1. #1
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Looking for a double match in an INDEX/MATCH

    See attachment. In G4, I need a formula that will do an index/match, but match it to 2 criteria.

    The first match criteria finds the correct file number (entered in G1), but when more than 1 file numbers (column B) are identical, I need a system to identify which one of all matching file numbers.

    My partial solution was to create a Document field with the formula =COUNTIF($B$2:B2,B2), which will keep count of the number of times that file number appears.

    The idea is that, for example, you want the color for the second file number, you would enter 2 in G2.

    I've played with OFFSET but couldn't get it to work. My current formula in G4 gets thrown off when a different file number is entered in-between identical file numbers.


    Sample Problem 1.xlsx

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Looking for a double match in an INDEX/MATCH

    maybe try this without formula(s):

  3. #3
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Re: Looking for a double match in an INDEX/MATCH

    Thanks, but my workbook setup demands a formula.

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Looking for a double match in an INDEX/MATCH

    No problem, good luck

  5. #5
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Re: Looking for a double match in an INDEX/MATCH

    Going to bump this to see if anyone could help today with a formula. Thanks!

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,914

    Re: Looking for a double match in an INDEX/MATCH

    Try:

    =LOOKUP(2,1/(Table1[File '#]=G1)/(Table1[Document '#]=G2),Table1[Color])

  7. #7
    Registered User
    Join Date
    09-11-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    21

    Re: Looking for a double match in an INDEX/MATCH

    This article I've literally just read may assist you...rather than me type out a solution - I was actually just looking for a solution to my Excel issue but this might work for you given it mentions multiple criteria.

    http://spreadsheeto.com/index-match/

  8. #8
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Re: Looking for a double match in an INDEX/MATCH

    @Phuocam This worked! Thanks!

    @TFS2017 - Perfect! And yes! Thank you!

+ 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. Double Index and Match?? Formula Help!
    By pearson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2016, 11:41 AM
  2. Index with Double Match
    By rajuganapathy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2015, 02:50 AM
  3. Index with double match
    By Gianniz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2015, 06:23 AM
  4. [SOLVED] Double match and index
    By TimothyS in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 12:42 PM
  5. Double layered INDEX/MATCH?
    By kuni-d in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-09-2014, 11:01 AM
  6. Double lookup or index and match?
    By dan_manchester in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2013, 09:01 AM
  7. Double VLookup or INDEX MATCH or something else?
    By carlwin in forum Excel General
    Replies: 5
    Last Post: 06-20-2010, 08:00 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