+ Reply to Thread
Results 1 to 8 of 8

Index and Match returning #NA - Help please!

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Index and Match returning #NA - Help please!

    Formula works in cell i4 but not in i3,i8 and i9
    ...and I don;t understand why.

    Can someone help with this and explain so I can learn?

    Thanks in advance for any help

    File attached
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Index and Match returning #NA - Help please!

    first, you have no formula in I4, just a number - 001.
    for an index/match to work, in the index section is the area you are looking to return, in the match part is the value to match and the range to match it against.
    so it would look like this =INDEX(area you want to match and return,match(value you want to match,area that has that value,0 for a exact match))
    are you looking for this?
    =INDEX(Member_List!C6:C9,MATCH(I4,Member_List!O6:O9,0))
    which matches I4 against the list in col O?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Index and Match returning #NA - Help please!

    You are asking the formulas to look in columns N, P, and Q (of the 'Member_List' worksheet) for 001.

    001 does not exist in those columns so you are getting the #N/A error.
    Last edited by 63falcondude; 01-24-2019 at 02:26 PM.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Index and Match returning #NA - Help please!

    You have this formula in I5, and it works:

    =INDEX(Member_List!C6:C9,MATCH(I4,Member_List!O6:O9,0))

    It is looking to see if the value in I4 can be found in column O (both marked in red), and if so it returns the corresponding value from column C (marked in blue), which is the MemNo column in your data.

    However, the formula you have in I3 is this:

    =INDEX(Member_List!C6:C9,MATCH(I4,Member_List!N6:N9,0))

    Here you are looking to see if I4 exists in column N, and if so return the value in column C. What you are really trying to do is to see if I4 exists in column O (as before), and if so return the value from column N, so you need to do it this way:

    =INDEX(Member_List!N$6:N$9,MATCH(I4,Member_List!$O$6:$O$9,0))

    Can you see how to apply this to your other cells?

    Hope this helps.

    Pete

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Index and Match returning #NA - Help please!

    Thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Pete

  6. #6
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Index and Match returning #NA - Help please!

    Thanks very much to all of you - my problem is now solved.
    You can call it 'a seniors moment, Brain F@@T or too early' - started on this at 2am
    Each reply gave me good help so congratulations to all.

    Michael

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Index and Match returning #NA - Help please!

    yes, thank you for the rep! glad we helped you.

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Index and Match returning #NA - Help please!

    Thanks for the rep! Glad we could help.

+ 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] Problems with INDEX, MATCH, MATCH returning incorrect values
    By Paul103 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2018, 05:16 PM
  2. Index Match Match returning latest value
    By NBrown1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2014, 03:43 PM
  3. [SOLVED] Index Match Match returning incorrect value from table
    By DaveBre in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2014, 08:01 PM
  4. Issue: Only returning 1st match on Index/Match
    By tbr2891 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2014, 11:54 AM
  5. Index Match keeps returning #REF!
    By klturi421 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-20-2014, 07:36 PM
  6. Index Match based on 2 Criteria only returning 1 match
    By stsanders22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2012, 11:26 PM
  7. [SOLVED] Index & Match returning incorrect value. Arrays fixed and exact match used.
    By SDes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2012, 08:29 PM

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