Hi all. Is there a function that will tell me if the content of one
cell, appears somewhere in a list of other cells?
Example: Sheet has 91 names in cells A10:A100
Operator enters a name in Cell A1. If the entered name appears in the
list in cells A10:A100, then do A. If the name does not appear in the
list in cells A10:A100, then do B.
Thanks.
Dave.
One way
=IF(A1="","",IF(ISNUMBER(MATCH(A1,A10:A100,0)),"<do A>","<do B>"))

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi all. Is there a function that will tell me if the content of one
> cell, appears somewhere in a list of other cells?
[quoted text clipped - 4 lines]
> Thanks.
> Dave.
davebonallack@hotmail.com - 19 Jun 2007 13:22 GMT
> One way
>
[quoted text clipped - 17 lines]
>
> - Show quoted text -
Thanks, works a treat.
Max - 19 Jun 2007 14:50 GMT
welcome, glad it helped

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Thanks, works a treat.