+ Reply to Thread
Results 1 to 5 of 5

How to use Index and Match based on multiple criteria using multiple worksheets

  1. #1
    Registered User
    Join Date
    04-14-2017
    Location
    Manila, Philippines
    MS-Off Ver
    2016
    Posts
    3

    How to use Index and Match based on multiple criteria using multiple worksheets

    Good day!

    I need help on using index and match formula with multiple criteria across multiple worksheets.

    Excel File Scenario:
    8 worksheets containing yearly data on training attendance of various employees
    1 master worksheet containing the master list of employees

    Objective
    I would like to search for the "PROGRAM DATE START" information across the 8 worksheets and match it with the "NAME" and "Program Title" found on the "Masterlist" worksheet.

    I've attached here my test file.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: How to use Index and Match based on multiple criteria using multiple worksheets

    Hi, welcome to the forum

    This can most certainly be done, but have you considered keeping ALL base data on 1 sheet? All you would need to add would be the date, and the summary would be FAR simpler
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-14-2017
    Location
    Manila, Philippines
    MS-Off Ver
    2016
    Posts
    3
    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    This can most certainly be done, but have you considered keeping ALL base data on 1 sheet? All you would need to add would be the date, and the summary would be FAR simpler
    Thank you for your response. Yes, I thought of having all base data in one worksheet but it will use up too many rows. The data I included in the test file is just a small portion of the actual data.

    I also segregated the data per year because there will be other users who are not too familiar with excel. It will be easier for them to navigate the file with a per year label.

  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,148

    Re: How to use Index and Match based on multiple criteria using multiple worksheets

    See attached:

    Named range "SheetList" in column H

    in Column F: "helper" to find Sheet associated with Name.

    =IFERROR(INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$C$2:$C$1000"),$A2)>0),0)),"")

    Enter with Ctrl+Shift+Enter

    in B2

    =IFERROR(INDEX(INDIRECT("'" & $F2 &"'!$B2:$B200"),MATCH(1,(INDIRECT("'" &$F2 &"'!$C2:$C200")=$A2)*(INDIRECT("'" &$F2 &"'!$A2:$A200")=B$1),0)),"")

    Enter with Ctrl+Shift+Enter

    Copy across and down
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-14-2017
    Location
    Manila, Philippines
    MS-Off Ver
    2016
    Posts
    3

    Re: How to use Index and Match based on multiple criteria using multiple worksheets

    Quote Originally Posted by JohnTopley View Post
    See attached:

    Named range "SheetList" in column H

    in Column F: "helper" to find Sheet associated with Name.

    =IFERROR(INDEX(Sheetlist,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheetlist&"'!$C$2:$C$1000"),$A2)>0),0)),"")

    Enter with Ctrl+Shift+Enter

    in B2

    =IFERROR(INDEX(INDIRECT("'" & $F2 &"'!$B2:$B200"),MATCH(1,(INDIRECT("'" &$F2 &"'!$C2:$C200")=$A2)*(INDIRECT("'" &$F2 &"'!$A2:$A200")=B$1),0)),"")

    Enter with Ctrl+Shift+Enter

    Copy across and down

    Thank you! It worked perfectly. I appreciate the help.

+ 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] Index-Match based on multiple criteria
    By JBR9999 in forum Excel General
    Replies: 2
    Last Post: 09-01-2016, 02:14 PM
  2. [SOLVED] Index match multiple criteria based on earliest date
    By dchubbock in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-28-2013, 07:18 PM
  3. Index, Match, and Vlookup across multiple worksheets using multiple entries
    By sajanpatel15 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2013, 08:33 PM
  4. [SOLVED] Index/Match based on multiple criteria
    By BB1972 in forum Excel General
    Replies: 7
    Last Post: 08-17-2012, 11:45 AM
  5. Replies: 3
    Last Post: 01-10-2011, 06:14 PM
  6. Index and Match Based on Multiple Criteria
    By duranbeaz in forum Excel General
    Replies: 2
    Last Post: 05-22-2009, 04:37 AM
  7. multiple criteria for index and match against multiple worksheets
    By reggie1000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2007, 10:41 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