+ Reply to Thread
Results 1 to 10 of 10

Using INDEX & MATCH returns #N/A just in some rows

  1. #1
    Registered User
    Join Date
    02-24-2009
    Location
    Tehran
    MS-Off Ver
    Excel 2010
    Posts
    45

    Using INDEX & MATCH returns #N/A just in some rows

    I have used INDEX and MATCH for doing lookup with 2 parameters. It seems it is working fine in Column (R) of first sheet but some items like R26 returns #N/A and I can not find the reason; Could you please guide me?
    Attached Files Attached Files
    Last edited by omid020; 04-05-2017 at 07:24 AM.

  2. #2
    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,946

    Re: Using INDEX & MATCH returns #N/A just in some rows

    1st, try this regular formula instead of that array formula...
    =INDEX(ERP!$C$4:$C$2000,MATCH(A4&" "&F4,INDEX(ERP!$A$4:$A$2000&" "&ERP!$B$4:$B$2000,0),0))

    2nd you are getting errors because there is no match
    BRLC
    A
    B
    26
    1005521
    COVER-SCREW

    ERP
    A
    B
    577
    1005521
    A1-INTERIOR-082
    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

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Using INDEX & MATCH returns #N/A just in some rows

    The only thing I can say is that in row 26

    (ERP!A26:A1708='BRLC-TRIM-H320 +V0-951118'!A26)*(ERP!B26:B1708='BRLC-TRIM-H320 +V0-951118'!F26)

    returns a large array of all zeros. There is nothing there that meets the criteria. That is why MATCH is returning #N/A.

    Do you know what it is you expect it to return? Have you checked for leading/trailing spaces in your data source? Have you tried the 'Find' / 'Find all' feature? 1700 rows is a lot to search manually especially when we don't know what we are looking for.
    Dave

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: Using INDEX & MATCH returns #N/A just in some rows

    There are discrepancies. In the case of R26, the part name on your first sheet is:

    A1-8075-TOUCHUP-BLACKOUT-3

    but on the ERP sheet it is:

    A-8075-TOUCHUP-BLACKOUT-3

    Your matches need to be exact for this to work.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Using INDEX & MATCH returns #N/A just in some rows

    In sheet "BRLC-TRIM-H320 +V0-951118" in cell "F26' "A1-INTERIOR-082 " after 082 two blank space. If you remove blank space "R26" showing "301"
    And in "EFP" sheet cell "B577" data is : "A1-INTERIOR-082" after 082 no space.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  6. #6
    Registered User
    Join Date
    04-05-2017
    Location
    spain
    MS-Off Ver
    2010
    Posts
    6

    Re: Using INDEX & MATCH returns #N/A just in some rows

    I am having the same problem, I've checked and the names are good.
    On 'Reports!' Column L, the rows 10:15 are giving me #N/A!
    I have checked and the references are good.
    Even more, if I move the referenced row on 'Fulcrum Export first page!' (from row 3 to 4 for example) it works!
    I don't know what to try anymore, I am lost!
    Thank you very much for having a look
    Best regards
    Eva
    Attached Files Attached Files
    Last edited by EvaJ; 04-05-2017 at 05:35 AM.

  7. #7
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Using INDEX & MATCH returns #N/A just in some rows

    Dear EvaJ, This is separat issue kindly post new thread.

  8. #8
    Registered User
    Join Date
    02-24-2009
    Location
    Tehran
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Using INDEX & MATCH returns #N/A just in some rows

    Thank you all! Yes it seems somewhere spaces and somewhere addition or shortage of one character causing that issue.

  9. #9
    Registered User
    Join Date
    04-05-2017
    Location
    spain
    MS-Off Ver
    2010
    Posts
    6

    Re: Using INDEX & MATCH returns #N/A just in some rows

    Sorry, I will post it apart.
    Thank you

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: Using INDEX & MATCH returns #N/A just in some rows

    Quote Originally Posted by omid020 View Post
    Thank you all! Yes it seems somewhere spaces and somewhere addition or shortage of one character causing that issue.
    You're welcome!

+ 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 (row and header) that returns the first non-zero value
    By jmanp in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2016, 04:10 PM
  2. [SOLVED] Index match that returns 0
    By Keldion in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-11-2016, 03:41 PM
  3. Index Match that returns all non zero values in row
    By kvarner in forum Excel Formulas & Functions
    Replies: 44
    Last Post: 03-03-2016, 06:41 PM
  4. [SOLVED] Index+Match+Match doesnt returns right values
    By SwissExcel in forum Excel General
    Replies: 10
    Last Post: 07-21-2015, 08:39 AM
  5. Sum of multiple Index Match returns!?
    By Spicey_888 in forum Excel General
    Replies: 6
    Last Post: 04-25-2015, 05:30 AM
  6. [SOLVED] Index/Match returns #N/A result
    By pjkcpa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2014, 02:23 PM
  7. Excel 2007 : Index Match returns 0
    By Martin Chamberlin in forum Excel General
    Replies: 6
    Last Post: 10-27-2011, 09:49 PM

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