+ Reply to Thread
Results 1 to 6 of 6

Index match for multiple criteria

  1. #1
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Index match for multiple criteria

    Hello, I'm trying to use the following formula, but A4 and A5 are numbers (9 and 3), so it's just combining them instead of looking twice (93). does anyone know how to format this formula correctly for numbers to be used?

    =INDEX(Reference!E1:H253,MATCH(A4&A5,Reference!$G$2:$G$253&Reference!$H$2:$H$253,0))

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Index match for multiple criteria

    Hi,

    Assuming there will only be one match I would suggest
    =LOOKUP(1,1/(A4=Reference!$G$2:$G$253)/(A5=Reference!$H$2:$H$253),Reference!E1:H253)
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Re: Index match for multiple criteria

    Quote Originally Posted by xlnitwit View Post
    Hi,

    Assuming there will only be one match I would suggest
    =LOOKUP(1,1/(A4=Reference!$G$2:$G$253)/(A5=Reference!$H$2:$H$253),Reference!E1:H253)

    This formula seems like it would work in theory, however excel isn't matching the 9 to the 9 in the array. the 9 in the array is a reference to the week number with the formula =WEEKNUM(E43) to the corresponding date in the array. The index formula seems to bypass this measure. Any other ideas?

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Index match for multiple criteria

    Are you saying that the formula doesn't work, or that you don't think it will?

  5. #5
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Re: Index match for multiple criteria

    it doesn't work. The formula errors out looking for 9 in the array. a 9 is in the array, but the cell is coded as =WEEKNUM(E43). Somehow the lookup function doesn't recognize this.

  6. #6
    Forum Contributor
    Join Date
    02-20-2017
    Location
    Indiana
    MS-Off Ver
    2016
    Posts
    101

    Re: Index match for multiple criteria

    Also there are multiple matches, which is why I was using index

+ 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 multiple criteria?
    By mikey42979 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-01-2015, 05:00 PM
  4. [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
  5. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  6. [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
  7. Index/Match with multiple criteria
    By ccwynar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2014, 06:25 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