I am trying to search an array of cells in excel to find if it contains a word to then further evaluate.
so for example; I have named the array (A1:A5) as 'cList'.
A1 = apple
A2 = pear
A3 = orange
A4 = banana
A5 = cherry
I want to
=SEARCH("pear",cList)
but i keep getting FALSE - which is not true because it is contained in A2. My thought here is that Search cannot be used on an array, because if I instead used
=SEARCH("pear",A2)
I will get my desired TRUE.
So is there another way to test an array if it contains and answer?