Is it possible to have, in Excel, IF look at a whole range of cells rather than just a single cell?
I want it to do something to a cell IF a certain value is found within a range somewhere else.
For example:
IF(Sun!$B:$B=A3,"Yes","No")
That does not work (returns the No), but:
IF(Sun!$B4=A3,"Yes","No") (Sun!$B4
actually does = A3 :P)
works fine.
Is what I want even possible?
Posts
=IF(ISERROR(VLOOKUP(A3,Sun!$B:$B,1,FALSE)),"FALSE","TRUE")
IF(ISNA(VLOOKUP(A3, Sun!$B:$B, 1, FALSE)), "No", "Yes")
Ooh!
That works quite well. I didn't know about the IS functions. Thanks a bunch.
I told you it was a quickie!