VLOOKUP FUNCTION

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

Guest

I have the following formula:

=IF($L$2="","",VLOOKUP($L$2,Database,37,0))

if the relevent cell is "blank" it returns a value of "0". I would like it
to return a value of "blank".

Thank you for any help in advance.
 
Just check to see if that cell is empty:

=IF($L$2="","",
if(VLOOKUP($L$2,Database,37,0)="","",VLOOKUP($L$2,Database,37,0)))
 
=IF($L$2="","",IF(VLOOKUP($L$2,Database,37,0)=0,"",VLOOKUP($L$2,Database,37,0)))
 

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