Hello,
I am trying to Nest an Vlookup within and IF statement to return a "YES" if the value is in another table. I would also like it to return "NO" if the value is not in the table.
With the formula I have now it will pull the "YES" if the value is in the table but it will not pull the "NO" if the data isn't present.
Instead of "NO" it keeps giving me an #NA error.
Any help is appreciated.
Here is the formula I have been using.
=IF(A2=VLOOKUP(SHEET1!A$2,SHEET2!C$2:C$48,1,FALSE),"YES","NO")
Thanks!
I am trying to Nest an Vlookup within and IF statement to return a "YES" if the value is in another table. I would also like it to return "NO" if the value is not in the table.
With the formula I have now it will pull the "YES" if the value is in the table but it will not pull the "NO" if the data isn't present.
Instead of "NO" it keeps giving me an #NA error.
Any help is appreciated.
Here is the formula I have been using.
=IF(A2=VLOOKUP(SHEET1!A$2,SHEET2!C$2:C$48,1,FALSE),"YES","NO")
Thanks!