Search if two strings both in separate columns exist in one row in excel? -
how can use find function see if 2 strings exist in excel?
ex:
row/column b c d 1 fly cat dog fish 2 cat pig horse dog 3 zebra pig cat elephant
i want search rows both contains cat , dog. how can achieve this?
how use and
,countif
function together:
=and(countif(a1:d1,"cat"),countif(a1:d1,"dog"))
if row contains both cat
, dog
,it returns true
.
Comments
Post a Comment