VLOOKUP

  • Thread starter Thread starter PAL
  • Start date Start date
P

PAL

I am using this VLOOKUP formula to remove blanks:

=IF(VLOOKUP(I8,Vendor,2,FALSE)="","",VLOOKUP(I8,Vendor,2,FALSE))

When it finds a match, it works fine, when it doesn't I get the infamous,
"#N/A". I really want it to be blank. There are no blanks in "Vendor" that
I can see and it is a finite list.

Ideas.
 
If I understand correctly, you want the value if it is found but a blank if
it is not found.

If this assumption is correct then try the following.

=IF(ISERROR(VLOOKUP(I8,Vendor,2,FALSE)),"",VLOOKUP(I8,Vendor,2,FALSE))
 
Back
Top