+ Reply to Thread
Results 1 to 6 of 6

#N/A Error with INDEX MATCH formula

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    60

    #N/A Error with INDEX MATCH formula

    I used the same formula as the previous quarter that worked. I copy and pasted new data(from same source that previous quarter data came from) and I am receiving all #N/A errors. I used the same file and renamed the file to 12Q1 rather than the 11Q4 last quarter. The formula is below. I have checked all the referencing cells in the formula and they are all correct. I just do not know why I am receiving #N/A. Did the data possibly come in as text rather than number, therefore it isn't recognizing the "match"? Any help would greatly be appreciated. Thanks!

    =INDEX('TBSTATMG UC drilled'!$B$6:$U$938,MATCH($A7,'TBSTATMG UC drilled'!$B$6:$B$938,0),MATCH($D$3,'TBSTATMG UC drilled'!$B$6:$U$6,0))

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: #N/A Error with INDEX MATCH formula

    Hi paperwings..

    check if A7 exists in B6:B938 or D3 exists in B6:U6..
    post the sample file if you are stuck.. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: #N/A Error with INDEX MATCH formula

    One way to tell if the value in A1 is text is, in a blank cell type = ISNUMBER(A1), False means text
    Check both your lookup value and your expected match.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    08-18-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: #N/A Error with INDEX MATCH formula

    Quote Originally Posted by ChemistB View Post
    One way to tell if the value in A1 is text is, in a blank cell type = ISNUMBER(A1), False means text
    Check both your lookup value and your expected match.
    I did that. The "TBSTATMG UC drilled" tab has text rather than number for the account number. This would be the first match formula. ($A7,'TBSTATMG UC drilled'!$B$6:$B$938,). The $B$6:$B$938 is the range that has the text when I did that formula check you posted. $A7 is a number. How do I change all these texts to numbers?

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: #N/A Error with INDEX MATCH formula

    Assuming there are no extra hidden characters or blanks, try this

    In a blank cell, enter 1, then copy it.
    Select your range B6:B938, Paste Special> Multipy> OK
    Check your results. (Multiplying a number stored as text by 1 results in Excel recognizing that entry as a number.)
    Did that work?

  6. #6
    Registered User
    Join Date
    08-18-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    60

    Re: #N/A Error with INDEX MATCH formula

    I believe it did. Some #N/A's turned to numbers, but some remained as #N/A. I am not going through and verifying that the cells that have #N/A are in the table range of B6:B938.

+ 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