Vlookup returns #N/A

  • Thread starter Thread starter Joe M.
  • Start date Start date
J

Joe M.

When a match can't be found I get #N/A. I would like the results to be blank
if there's no match. Can you help?
 
=if(isna(yourvlookupformula),"",yourvlookupformula)

In xl2007, you can use:
=iferror()
 
or try
=if(iserror(yourlookupformula)),"0",(yourlookupformula))
 
Usually when I want a 0 returned, I want it as a real number--not text.

I'd use:
=if(iserror(yourlookupformula)),0,(yourlookupformula))
(w/o the double quotes)

But in this case, the user wanted a cell that would look blank.
 
I suggest not using the iserror function which could mask errors other than the
#N/A

My 2 cents added.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top