+ Reply to Thread
Results 1 to 4 of 4

Index match with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    317

    Index match with multiple criteria

    In the workbook attached, there are three tables (Data, Upcoming Matches and Expected Results tables). What would be the formula that will be that will pull up the respective info from the ‘Data’ table to the ‘Upcoming Matches’ table?

    For example, if Man city is playing against Leicester and Man city is the home team while Leicester is the Away team;

    1. Index ‘H’ columns in the respective columns to pull up data for Man City
    2. Index ‘A’ columns in the respective to pull up data for Leicester

    And if Arsenal is playing against on neutral ground (neither team is playing at home), the ‘Ovrl’ columns are to be indexed for both teams.
    The expected results for the first three matches are in the ‘Expected Results’ table which I managed to fill using formula but what I cannot figure out is how to factor in the venues to the formula so that they can autofill the rest of the data downwards.

    Thanking you all in advance.

    Double Condition Index.xlsx

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Index match with multiple criteria

    In E31

    =IF($D31="Neutral",VLOOKUP($B31,$B$6:$AI$25,4,0),VLOOKUP($B31,$B$6:$AI$25,2,0))

    in F31

    =IF($D31="Neutral",VLOOKUP($B31,$B$6:$AI$25,4,0),VLOOKUP($B31,$B$6:$AI$25,3,0))



    Repeat for all other columns changing the 2 , 3 and 4 to the appropriate columns
    Last edited by JohnTopley; 10-31-2016 at 05:54 AM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Index match with multiple criteria

    Error in F31

    =IF($D31="Neutral",VLOOKUP($C31,$B$6:$AI$25,4,0),VLOOKUP($C31,$B$6:$AI$25,3,0))

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,152

    Re: Index match with multiple criteria

    See attached with two examples completed: row 1 is colour coded to identify column numbers to be used.
    Attached Files Attached Files

+ 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 to Match entries on multiple criteria
    By manning457 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2015, 02:32 PM
  2. [SOLVED] INDEX/MATCH with Multiple MATCH criteria ?
    By KomicJ in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-17-2015, 09:04 AM
  3. [SOLVED] Index Match with Multiple Criteria Using Same Criteria Column
    By rominjn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-05-2015, 11:34 AM
  4. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  5. [SOLVED] Index Match using multiple criteria to match to
    By sacastiglia in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-25-2014, 03:46 PM
  6. [SOLVED] Index Match for multiple criteria within a row
    By opsanalysis07 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-01-2014, 12:16 AM
  7. match or index multiple criteria
    By simpson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-16-2013, 02:13 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