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.

        any character within string

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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -