VLOOKUP Error

  • Thread starter Thread starter evoxfan
  • Start date Start date
E

evoxfan

In a column I have Vlookup formulas. Some have an error "#N/A" if it can't
find the data it is looking for.

Is it possible to show a blank instead of "#N/A" when the formula does not
find what it is looking for?

Thanks in advance.
 
Try this:

=IF(ISERROR([insert VLOOKUP formula here]), "", [insert same VLOOKUP formula
here])
 
=IF(ISNA(VLOOKUP(G1,$A$1:$F$31,2,FALSE)),"",VLOOKUP(G1,$A$1:$F$31,2,FALSE))

Best not to use ISERROR because that will mask all errors, not just #N/A


Gord Dibben MS Excel MVP
 
Another possibility:

Let's assume your lookup formula is:

=VLOOKUP(A1,B1:C10,2,0)

=IF(COUNTIF(B1:B10,A1),VLOOKUP(A1,B1:C10,2,0),"")
 

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

Similar Threads

VLOOKUP #REF error 3
EXCEL - IF(IFERROR(VLOOKUP question 0
Vlookup help 2
Multiple VLOOKUPS 4
VLOOKUP problem 3
#N/A 5
VLOOKUP output 3
vlookup challenge with hyphen data placement 2

Back
Top