+ Reply to Thread
Results 1 to 4 of 4

dealing with #N/A

  1. #1
    Forum Contributor
    Join Date
    06-29-2016
    Location
    Bristol, England
    MS-Off Ver
    2007
    Posts
    355

    dealing with #N/A

    Hi

    I get #N/A from a Vlookup function. I know why, it's because i use the FALSE arguement as part of Vlookup, and there is no matching entry in the lookup table. this is expected, not the problem.

    The recommended solution online is to use a combination of IF and ISNA which I understand. The resulting formula is very messy, requiring the Vlookup formula to be repeated within the IF formula.

    This is not a problem, but does anyone have a more elegant way of doing it ? What I want is to replace #N/A with a blank, ie ""

    I have not experimented.

    Any lateral thinkers out there ?

    Deep respect

    KK

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: dealing with #N/A

    The normal way with IF and ISNA is like this

    =IF(ISNA(VLOOKUP()),"",VLOOKUP())

    A more 'elegant' way is with IFERROR, assuming you have XL2007+

    =IFERROR(VLOOKUP(),"")

  3. #3
    Forum Contributor
    Join Date
    06-29-2016
    Location
    Bristol, England
    MS-Off Ver
    2007
    Posts
    355

    Re: dealing with #N/A

    Wonderful, mega-thanks. KK

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: dealing with #N/A

    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. Dealing with zero values
    By D.Lovell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2013, 03:02 PM
  2. Need help with dealing with two ranges
    By AbdallahHajbed in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2012, 08:39 AM
  3. Dealing with N/A in Vlookup via a UDF
    By tom.hogan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2011, 09:06 PM
  4. Dealing with #N/A
    By jpnyc in forum Excel General
    Replies: 2
    Last Post: 08-10-2010, 12:41 PM
  5. Dealing with dates
    By brendanm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-10-2010, 07:19 PM
  6. dealing with many columns
    By mwalker.web in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-22-2006, 02:55 PM
  7. Dealing with #DIV/0!
    By Dean England in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-28-2006, 12:26 PM
  8. dealing with a projection
    By Larry Holt in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-15-2006, 12:10 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