IF statement

S

Sully

(if statement is in Column h)
I want it to look at the value in cell A1 and if it equals
one of the values in a list on "sheet2" cells A1 thru
A200" I want the result to say "YES". If the value is not
in the list of values on the sheet2 I want the result to
say "NO"

This is what I have tried to no avail
=IF(A1='sheet2'!A1:A200,"Yes","No")
The result is alway No even though there are values in
Sheet2 that match.
What am I doing wrong??
 

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