VLOOKUP if a Cell is not Blank

C

carl

I have formulas in ColA. I would like to vlookup ColA if the cell is not
blank. IIf the cell is blank (formula only) I would like the cell to be
blank. Is it possible ?

Thank you in advance.
 
P

Peo Sjoblom

=IF(ISNUMBER(MATCH(H2,A1:A100,0)),VLOOKUP(H2:A1:C100,2,0),"")

adapt to fit

Regards,

Peo Sjoblom
 
H

Harlan Grove

Peo Sjoblom wrote...
=IF(ISNUMBER(MATCH(H2,A1:A100,0)),VLOOKUP(H2:A1:C100,2,0),"")
....

Save a function call. Fix a typo (H2:A1:C100 -> H2,A1:C100).

=IF(COUNTIF(A1:A100,H2),VLOOKUP(H2,A1:C100,2,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

Top