Forum Discussion

cblabey's avatar
cblabey
Copper Contributor
Feb 15, 2019

Vlookup for when it can't find AND when it's blank

I currently have the following formula set up

 

=IFERROR(VLOOKUP(C163,Validator!K:L,2,FALSE),"Click to learn more")

 

That means it looks up text in another table to find a result, and if the title in C163 isn't there it returns the value 'click to learn more.'

 

This is great, but i would also like to add an extra layer. If C163 is blank (ie its not that the text can't be found in the lookup table, its that cell C163 is completely blank) I would like it to return an empty cell. Is that possible? How can i do that?

1 Reply

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Hi,

     

    You may wrap your formula like

    =IF(ISBLANK(C163),"",IFERROR(VLOOKUP(C163,Validator!K:L,2,FALSE),"Click to learn more"))

     

Resources