VLOOKUP

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.
 
O

OssieMac

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))
 

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


Top