+ Reply to Thread
Results 1 to 4 of 4

INDEX MATCH MATCH working great and then failing on me.

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    11

    INDEX MATCH MATCH working great and then failing on me.

    I have an INDEX MATCH MATCH formula working great, pulling data from a pivot table in one tab to table I created that is set up the same way. I am doing this several times in a workbook with similar sets of data, same formula.

    However, in three of the tables, the last few rows ( between 1- 4) aren't pulling through and I am getting "0" when it should be pulling through a value. No idea why the formula works fine up until the end sometimes.

    Any Ideas?

    Here is my formula.
    =INDEX('1Q10_Pivottable'!$B$5:$AM$162,MATCH($C112,'1Q10_Pivottable'!$A$5:$A$163),MATCH(I$6,'1Q10_Pivottable'!$B$4:$AM$4))

    My index range is capturing all of the data. This is happening for larger and smaller datasets.

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    09-11-2009
    Location
    Paris
    MS-Off Ver
    Excel 2003
    Posts
    102

    Re: INDEX MATCH MATCH working great and then failing on me.

    Hi,
    I think your data is not placed in ascending order--> error!
    Try this:
    =INDEX('1Q10_Pivottable'!$B$5:$AM$162,MATCH($C112,'1Q10_Pivottable'!$A$5:$A$163,0),MATCH(I$6,'1Q10_Pivottable'!$B$4:$AM$4,0))

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: INDEX MATCH MATCH working great and then failing on me.

    Thanks, this worked right away!
    Having a similar issue elsewhere in the workbook. Not filling in values for last few rows but working fine all the time besides that. This time only one match criteria. I'm pulling a column of values together based on one criteria.

    =IFERROR(INDEX('3Q10_LatLength'!$G$2:$G$155,MATCH(C141,'3Q10_LatLength'!$C$2:C$155,0)),)

    Any ideas?

  4. #4
    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: INDEX MATCH MATCH working great and then failing on me.

    is the spelling correct? any leading/trailing spaces? if numbers, are they actually numbers and not text that looks like numbers?

    maybe upload a sample (clean) workbook?
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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