I want "" as the result when VLOOKUP can't find an exact match.

D

Dave H.

In using VLOOKUP, I have an application where I'd like to have the result ""
(instead of '#N/A' where the source list does not contain the requested
record. How do I do that? with an 'if' statement of some kind? ...?
 
K

Kassie

Hi Dave

Here is an example from one of my sheets, which shows how to do it

=IF(ISNA(K5),VLOOKUP(B4,Customers,2,FALSE)&VLOOKUP(B4,Customers,3,FALSE),"")
 
K

Kassie

Sorry, posted the wrong one. Try this, and obviously do the lookup after the
""

=IF(ERROR.TYPE(VLOOKUP($B$4,Customers,2,FALSE))=7,"")
 
K

Ken Wright

=IF(ISNA(Your_Formula),"",Your_Formula)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :)
------------------------------­------------------------------­----------------
 

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