v look up and if statement

K

Katie

I need a formula that will lok up what is in a cell an another worksheet, and
return "y" if it finds it and "n" if it doesn't

I've tried using an if ststement with a v look up but I can't seem to get it
right
 
N

Niek Otten

=IF(ISNA(VLOOKUP(B1,Sheet2!A1:A4,1,FALSE)),"n","y")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

|I need a formula that will lok up what is in a cell an another worksheet, and
| return "y" if it finds it and "n" if it doesn't
|
| I've tried using an if ststement with a v look up but I can't seem to get it
| right
 

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