+ Reply to Thread
Results 1 to 4 of 4

Stop the #N/A Error

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    New Hampshire
    MS-Off Ver
    Excel 2010
    Posts
    84

    Stop the #N/A Error

    I have a sheet that uses VLOOKUP and if I don't have a value in the cell I get an #N/A error. My formula is
    Please Login or Register  to view this content.
    So if I leave A20 blank I get #N/A errors in my "units" cell. I think I need an IF statement somewhere somehow!!! Any ideas?

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Stop the #N/A Error

    This will do it...

    =iferror(VLOOKUP(A20,Service!A2:D25,2,FALSE),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    05-17-2013
    Location
    New Hampshire
    MS-Off Ver
    Excel 2010
    Posts
    84

    Re: Stop the #N/A Error

    Quote Originally Posted by Glenn Kennedy View Post
    This will do it...

    =iferror(VLOOKUP(A20,Service!A2:D25,2,FALSE),"")
    That was fast!!! Thanks it worked!!!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Stop the #N/A Error

    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. Need to add if error code to worksheet change event to stop a run-time error
    By KT99 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2014, 03:10 PM
  2. [SOLVED] vba to stop if cell has an error
    By wayneg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2014, 08:55 AM
  3. Stop #DIV/0! error
    By m_789 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2013, 04:34 AM
  4. On Error STOP!!!
    By Vikxcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-19-2005, 09:05 PM
  5. [SOLVED] VBA Error-Can anyone help me to stop this?
    By Nigel in forum Excel General
    Replies: 1
    Last Post: 05-10-2005, 09:06 AM

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