Hi Grant
one option
=IF(ISNUMBER(MATCH(A1,A2:A100,0)),"found","not found")
or
=IF(COUNTIF(A2:A100,A1)=1,"found","not found")
- or if you want to return the row number of where it is found just use
MATCH(A1,A2:A100,0)+1
Hope this helps
Cheers
JuileD
"Grant" wrote in message
...
I have a number of cells, each containing a different string value. Is
there a way for me to determine whether a string from position A1 in my
sheet, exists anywhere else in that same column on my sheet.
ie does text from Cell A1 match any text between Cell A2 and Cell A100?
Thanks,
Grant
|