Excel function to test whether string contains ANY of $THESE CHARACTERS -
given:
$characters
is there excel function test whether cell contains of characters in $characters?
there array formula method involves indirect function check length of string $characters string tested. offset volatile formula recalculate whenever value in workbook changes.
the array formula in c2 is,
=and(max(iferror(search(mid($e$2, row(indirect("1:"&len($e$2))), 1), $a2), 0)))
array formulas need finalized ctrl+shift+enter↵. once entered correctly, may filled or copied location.
i've used search function case-insensitive. if require case sensitive search, substitute search find function.
Comments
Post a Comment