+ Reply to Thread
Results 1 to 5 of 5

VLookUP and #N/A

Hybrid View

martin23 VLookUP and #N/A 02-21-2005, 10:23 AM
duane Not sure why you need... 02-21-2005, 10:34 AM
martin23 Still got a prob 02-22-2005, 09:17 AM
duane It is looking for an EXACT... 02-22-2005, 09:38 AM
martin23 Yayaya :-) 02-22-2005, 11:03 AM
  1. #1
    Registered User
    Join Date
    02-21-2005
    Posts
    12

    VLookUP and #N/A

    Hi all,

    I have the following function in one of my speedsheets

    =IF(B2=VLOOKUP(B2,Excelbreakdown.xls!Senior,1,FALSE),"Yes","No")

    *Senior is the name of a data range

    This works fine, but where it cannot find the B2 value it it Gives #N/A

    I have tryed using =isna( but am unable to get it working. also i have heard this meathod slows the spreedsheet down.

    Any Help would be FAB :-)

    Thanks
    Martin

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    Not sure why you need vlookup.....this looks for exact match of b2 in range senior and if it is there yields "yes", otherwise "no"

    =if(isna(match(B2,Excelbreakdown.xls!Senior,0)),"No","Yes")
    not a professional, just trying to assist.....

  3. #3
    Registered User
    Join Date
    02-21-2005
    Posts
    12

    Still got a prob

    Hi

    the function you suggested is good and the "yes" "no" works. However It seems to be giving the wrong answer on a few eg if an item is in the list it will still give a "No".

    I have been reading around and wondered if this was due to the values being names Eg Bob, Martin etc. I have put the names in alphabetical order but the problem seems it persist :-(

    Any ideas would be FANTASTIC

    Thanks
    Martin

  4. #4
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    It is looking for an EXACT match - any extra spaces, or commas, or anything will result in "no"

  5. #5
    Registered User
    Join Date
    02-21-2005
    Posts
    12

    Yayaya :-)

    THANKS LOTS

    Problem solved !!!!

    I had some of the cells Centre Aligned - this was causing them to be different !

    Thanks again :-)

    Martin

+ 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