ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   VLOOKUP (https://www.excelbanter.com/excel-worksheet-functions/260649-vlookup.html)

PAL

VLOOKUP
 
I am using this VLOOKUP formula to remove blanks:

=IF(VLOOKUP(I8,Vendor,2,FALSE)="","",VLOOKUP(I8,Ve ndor,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.

OssieMac

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



--
Regards,

OssieMac


"PAL" wrote:

I am using this VLOOKUP formula to remove blanks:

=IF(VLOOKUP(I8,Vendor,2,FALSE)="","",VLOOKUP(I8,Ve ndor,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.



All times are GMT +1. The time now is 10:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com