+ Reply to Thread
Results 1 to 8 of 8

Index/ Match not working

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Index/ Match not working

    Can someone have a look at the attached worksheet and see if you can work out why certain index/ match formulas are showing a zero result in sheet "X47"? There will be an odd case where the 2 will not match due to the date not being in sheet "X08" but mostly will be evident. The reason I am doing this is because the code I have to do it sometimes skips data and I was trying to work out why but the index/ match is not working at all for some reason.
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-31-2015
    Location
    UK
    MS-Off Ver
    2007/2010
    Posts
    22

    Re: Index/ Match not working

    Your formula should be just this:

    =INDEX('X08'!B$2:B$4434,MATCH('X47'!B2,'X08'!I$2:I$4434,0))

    And not

    =INDEX('X08'!B$2:B$4434,MATCH('X47'!B2,'X08'!I$2:I$4434,0),MATCH('X47'!A2,'X08'!A$2:A$4434,0))

  3. #3
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Index/ Match not working

    Your formula only references one key field when I need mine to reference both.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Index/ Match not working

    Formula in X2, then dragged
    ARRAY Formula
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-31-2015
    Location
    UK
    MS-Off Ver
    2007/2010
    Posts
    22

    Re: Index/ Match not working

    Look at the first part of your formula... 'X08'!B$2:B$4434. Its looking only at one column.

    =INDEX(RANGE, ROW_MATCH, COLUMN_MATCH). The second Match you have can't be used since you are only referencing a single column's data (column B).

  6. #6
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Index/ Match not working

    kvsrinivasamurthy, That works perfectly, Can you tell me why that works but the code skips the odd one for example row 4408, 4282 & 4383?

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Index/ Match not working

    Row 4408, 4282 & 4383 are working. Pl see file.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 09-01-2015 at 12:46 AM.

  8. #8
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: Index/ Match not working

    Sorry maybe I was unclear I mean in the macro why would they not be working not in the formula.

+ 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 not working
    By blueturnaround in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-31-2015, 12:53 PM
  2. Index and Match Not working
    By HeHeHaHa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2014, 12:17 AM
  3. [SOLVED] Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 01:03 AM
  4. 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
  5. Index Match NOT Working
    By KellsAtl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2013, 07:48 PM
  6. INDEX MATCH MATCH working great and then failing on me.
    By HeikEve in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2013, 01:40 PM
  7. Replies: 2
    Last Post: 05-24-2013, 09:32 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