+ Reply to Thread
Results 1 to 4 of 4

Index/Match over multiple colums

  1. #1
    Registered User
    Join Date
    10-12-2015
    Location
    Greeneville, TN
    MS-Off Ver
    2007
    Posts
    4

    Index/Match over multiple colums

    I need to figure out how to do an index/match over multiple columns. This formula below works fine for one column, but I can’t seem to get the correct formula for multiple columns.
    =IFERROR(INDEX(Records!$A$2:$A$150,MATCH(1,(Records!$A$2:$A$150='Employee List'!A2)*(Records!$B$2:$B$150='Employee List'!$F$2),0)),"")

    To help simplify what I need
    For cell “Employee List” G2, I need it to look in “Records” B2, D2, E2, G2 to attempt to match what is in “Employee List” F2. If it finds a match, then I need it to place the value of “Employee List” F2 into “Employee List” G2 cell. If there is no match, I need the cell to be blank. Training Data Base Test.xlsx

    It must also match Employee Name in “Employee List” column “A” against the Employee Name in “Records” Column “A”

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index/Match over multiple colums

    In G2 copied down

    =INDEX(Records!$B$2:$NI$4, MATCH($A2, Records!$A$2:$A$4,0), MATCH(F2, INDEX(Records!$B$2:$NI$4, MATCH($A2, Records!$A$2:$A$4,0),),0))

    In H2 copied down

    =INDEX(Records!$B$2:$NI$4, MATCH($A2, Records!$A$2:$A$4,0), MATCH(F2, INDEX(Records!$B$2:$NI$4, MATCH($A2, Records!$A$2:$A$4,0),),0)+1)

    You can copy G2:H4 to J2, M2, etc.
    See attachment
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    10-12-2015
    Location
    Greeneville, TN
    MS-Off Ver
    2007
    Posts
    4

    Re: Index/Match over multiple colums

    It looks like from what I see you have done it... This one has been brain wrenching for me. Thanks ChemistB

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Index/Match over multiple colums

    No problem.

+ 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] Use INDEX MATCH to return data between dates and get AVERAGE of values in two colums
    By Jay S. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2015, 08:59 PM
  2. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  3. Replies: 2
    Last Post: 12-18-2014, 09:52 AM
  4. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  5. Match cells in multiple colums
    By TSFleming in forum Excel General
    Replies: 2
    Last Post: 10-02-2012, 10:55 PM
  6. Formula required for comparing multiple colums to multiple colums
    By Pringgles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2012, 07:23 AM
  7. Index Match Multiple Colums Headers
    By smigom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2008, 04:49 AM

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