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

Paul

Hi PAL,

In Excel 2003 use:

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

Or in Excel 2007 you can use:

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



I am using this VLOOKUP formula to remove blanks:
 
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

Top