+ Reply to Thread
Results 1 to 6 of 6

Index Match only working part of the time

  1. #1
    Forum Contributor
    Join Date
    11-23-2013
    Location
    La Crosse, Wi
    MS-Off Ver
    Excel 2010
    Posts
    113

    Index Match only working part of the time

    I am having issues with row 2 and beyond when using an Index Match function.

    =INDEX($F$2:$F$21,MATCH(J$4,$A$2:$A$21,0),MATCH($H5,$B$2:$B$21,0),MATCH($I5,$C$2:$C$21,0))

    It works great for the first row. I have done the CNTRL Shift and Enter. However, when it goes to the second row and beyond, it results in a #REF! in the output table. If anyone has any ideas or a better way of doing this, please let me know.

    Jeff
    Attached Files Attached Files

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

    Re: Index Match only working part of the time

    try =SUMPRODUCT(($A$2:$A$21=J$4)*($B$2:$B$21=$H5)*($C$2:$C$21=$I5)*$F$2:$F$21)

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: Index Match only working part of the time

    Try this instead:

    =LOOKUP(2,1/(($B$2:$B$21=$H5)*($C$2:$C$21=$I5)*($A$2:$A$21=J$4)),$F$2:$F$21)

    NO NEED for C+S+E with this one.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    11-23-2013
    Location
    La Crosse, Wi
    MS-Off Ver
    Excel 2010
    Posts
    113

    Re: Index Match only working part of the time

    Thanks, Sandy! That works.

    Jeff

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

    Re: Index Match only working part of the time

    You are welcome

    If that takes care of your original question, & to say Thanks, please
    1. click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
      then
    2. select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it already - ignore it.
    Thank you.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,972

    Re: Index Match only working part of the time

    Thanks for the rep!

    Please mark the thread as solved.

+ 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 looking using part of a string
    By Andy Swain in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-12-2017, 10:30 AM
  2. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  3. Correct/Working (Index,Match) formula not working between cells
    By barnerd in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-11-2014, 01:20 PM
  4. [SOLVED] INDEX MATCH based on part of strings
    By Dahlia in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-07-2014, 07:55 AM
  5. Replies: 2
    Last Post: 05-24-2013, 09:32 AM
  6. [SOLVED] Vlookup & Hlookup at same time - Why is this Index+Match formula not working
    By fabrice.usa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2012, 06:46 PM
  7. Index-Match Function Not Working all the time
    By hoosierhunter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-08-2007, 06:58 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