Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FINDING CELL WITH NO TEXT

Status
Not open for further replies.

billheath

Technical User
Mar 17, 2000
299
US
=IF((A12 ISBLANK = FALSE),(VLOOKUP($A12,$I$13:$S$120,5))," ")

I am trying to use the above formula in an excel cell. I need to look up a value when there is text in the mentioned cell(A12 in this case). I keep getting the #Name? answer. The formulae =IF VLOOKUP($A12,$I$13:$S$120,5)works. However when I add the text is when I get the error.

Thanks for your help!
Bill
 

How about this:
Code:
=IF((A12&""=""),(VLOOKUP($A12,$I$13:$S$120,5))," ")


Randy
 

Or this:
Code:
=IF(ISBLANK(A12),(VLOOKUP($A12,$I$13:$S$120,5))," ")


Randy
 
Your ISBLANK() syntax is incorrect

ISBLANK(A12)=FALSE

But Randy's method is preferable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top