+ Reply to Thread
Results 1 to 5 of 5

Index Match - Data Validation List - Result N/A

  1. #1
    Registered User
    Join Date
    07-21-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Index Match - Data Validation List - Result N/A

    Hi Excel smarts, I have a problem I hope you can help me.

    What I have below works fine

    A1: Name B1: Yes/No

    A2: abc B2: Yes
    A3: bcd B3: No
    A4: cde B4: Yes
    A5: def B5: No
    A6: efg B6: Yes
    A7:
    A8: bcd B8: No

    (A8) Data Validation List: =A2:A6
    (B8): =INDEX(B2:B6,MATCH(A8,A2:A6),0)
    All formatted as Text.

    My problem is when I change (A2) to "cbc" and look-up (A8) list again I get (B8) N/A. look below.

    A1: Name B1: Yes/No

    A2: cbc B2: Yes
    A3: bcd B3: No
    A4: cde B4: Yes
    A5: def B5: No
    A6: efg B6: Yes
    A7:
    A8: bcd B8: N/A

    It seems changing (A2) with a beginning of any alphabetic letter above "b" I get (B8) N/A

    I hope I am not too confusing with my example. Will appreciate all the help given in solving my problem.

    Thanks

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Index Match - Data Validation List - Result N/A

    =INDEX(B2:B6,MATCH(A8,A2:A6),0) needs to be MATCH(A8,A2:A6,0) for an exact match and since your index is b2:b6
    you dont have to include the column number
    =INDEX(B2:B6,MATCH(A8,A2:A6,0),0)
    try this instead
    =INDEX(B2:B6,MATCH(A8,A2:A6,0))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Index Match - Data Validation List - Result N/A

    Try this in B8
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    [EDIT]
    Martin beat me to it, see his explanation post #2
    Last edited by Marcol; 07-21-2012 at 10:48 AM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Registered User
    Join Date
    07-21-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Index Match - Data Validation List - Result N/A

    Thanks, thanks so much. I have spent a lot of time trying to solve my problem, I should have asked the experts.

    Thanks again.

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Index Match - Data Validation List - Result N/A

    Hello Veloso, and welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself.
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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