#N/A error in Vlookup

J

John Kramer

I have a sheet that lookes at data in another sheet. It
looks at the zip codes of the sheet and finds the match
then puts in the value from the 3rd column over. The
problem is that if the data doesn't have a matching zip
code I get a #N/A error. I'm trying to find the formula
that will leave it blank. I've used on some workbooks
like isblank and such. What can I use so if there is no
match it will be blank.

John
 
B

Bob Phillips

John,

Use
=IF(ISNA(lookup_formula),"",lookup_formula)

or for more generic errors, replace ISNA wiuth ISERROR.
 
L

Laura Cook

Replace your VLOOKUP formula with the one I have inserted twice in the
formula below:

=IF(ISNA(VLOOKUP(A1,Sheet1!E1:G20,3,0)),"",VLOOK
UP(A1,Sheet1!E1:G20,3,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 Function HELP 7
VLOOKUP formula? 12
IF statement with multiple VLOOKUPs 0
VLookup or Macro? 0
Need help vlookup? 3
VLOOKUP Error 4
Multiple IF Statement 2
Replace 1

Top