+ Reply to Thread
Results 1 to 5 of 5

Vlookup, return empty cell (not #N/A) when result not found

Hybrid View

  1. #1
    Registered User
    Join Date
    10-31-2008
    Location
    asia
    Posts
    32

    Vlookup, return empty cell (not #N/A) when result not found

    Hello,

    Sorry for bugging you guys but I have a quick problem. I have a list of words which consists of words. I want to search for a particular word from this list and when the word isnt found, I want an output of an empty space in the cell (" "). Below is what I have

    A B
    1
    2 yes_1 Hello
    3 yes_2 Goodbye
    4 xxx Hi
    5 xxx Try

    My code at cell A9 is:

    =VLOOKUP("yes_3",$A$36:$G$53,7,FALSE)

    Instead of an output of #N/A....how do i get the cell to show a blank cell?

    Once again thank you for your time.

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Try this:

    =IF(ISNA(VLOOKUP("yes_3",$A$36:$G$53,7,FALSE)), "", VLOOKUP("yes_3",$A$36:$G$53,7,FALSE))

    HTH

    Jason

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    This question has been answered a zillion times on this forum. Remember we have a very nice Search tool available .

  4. #4
    Registered User
    Join Date
    10-31-2008
    Location
    asia
    Posts
    32
    Sorry ARTH....i'll make sure to use the search next time!

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    No worries mate !

+ 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