This is my problem setup in Excel.
In column G
, notice that my formula is referencing a range in column D
and that range contains empty / blank cells. When this happens, the formula always returns TRUE
.
In column H
, when the range referenced doesn't include empty / blank cells, it returns the correct answer FALSE
indicating that none of the words in column D
are in the string value in column F
.
My Question
How can I modify the formula below to ignore blank cells in a range and correctly return FALSE
if none of the values in a range D
is in the string value in column F
:
=SUMPRODUCT(--ISNUMBER(SEARCH(Rank!$D$2:$D$24,F2)))>0