+ Reply to Thread
Results 1 to 6 of 6

Index Match Formula not working

  1. #1
    Forum Contributor
    Join Date
    05-13-2009
    Location
    Lincoln, IL
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    229

    Question Index Match Formula not working

    In the attached document, my index/match formula is only working for some rows. The formula is in the budget column on the GP Accts tab. I can't figure out why it works for some, but not others.
    Attached Files Attached Files
    Last edited by narrowgate88; 07-06-2016 at 12:30 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    HOME: Excel 2007 - WORK: Excel 2013
    Posts
    6,994

    Re: Index Match Formula not working

    This part of your formula doesnt not always match

    =MATCH($H2,Acct,0)

    column H is defined as =RIGHT(A2,8)
    but you're trying to match against the COMPLETE values in column A ???
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    05-13-2009
    Location
    Lincoln, IL
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    229

    Re: Index Match Formula not working

    No, I'm not trying to match against the complete value in A. So, I just did a paste special value in Col H so that it is just a value instead of a formula. That didn't help my results though.

    Basically, every cell in named range "Budget" that has a value, has a unique line on GP Accts tab. I just don't know why they aren't all pulling.

  4. #4
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2013 H: 365
    Posts
    685

    Re: Index Match Formula not working

    Hi narrowgate88,

    It looks like your match criteria are the wrong way round. The INDEX function pulls in the row reference first and then the column.

    Try:

    =IFERROR(INDEX(Budget,MATCH(H2,Acct,0),MATCH(D2,Cost,0)),"")

    Regards,

    Snook
    Last edited by The_Snook; 07-06-2016 at 12:29 PM.

  5. #5
    Forum Contributor
    Join Date
    05-13-2009
    Location
    Lincoln, IL
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    229

    Re: Index Match Formula not working

    Thank you Snook! That was exactly the problem. I knew it had to be something simple.

  6. #6
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2013 H: 365
    Posts
    685

    Re: Index Match Formula not working

    You're welcome, cheers for the rep points.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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