VLOOKUP function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When using the VLOOKUP function the search cell is blank, the destination
cell is getting a "0". Can this be changed so the destination cell will be
blank also?
 
If your Vlookup range contains Blank then this could help

=IF(VLOOKUP(D1,A1:B4,2,0)=0,"",VLOOKUP(D1,A1:B4,2,0))
 
Mike,

Thx for your help. On an other place I found the answer:

Tools/options/view/Zero values
 
Which is not a good idea if there are cells which should show a zero.


Gord Dibben MS Excel MVP
 

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

Back
Top