J
Jack Sons
I want to check if "apple", "pear", "cherry"; "coconut" and
"apricot" each occur at least once in a given range.
=COUNT(MATCH({"apple", "pear", "cherry"; "coconut","apricot"},D516,0))=5
works but
=COUNT(MATCH({"apple", "pear", "cherry"; "coconut","apricot"},D5:E16,0))=5
does not work.
I heard that match() works only with a single column or row, so the second
formula does not work. How to overcome this? Perhaps with an arrayed
function?
I do not want to work with consecutive countif's, because if my list
{....}has 25 items it is very laborious and cumbersom to write 25 countif's.
Jack Sons
The Netherlands
"apricot" each occur at least once in a given range.
=COUNT(MATCH({"apple", "pear", "cherry"; "coconut","apricot"},D516,0))=5
works but
=COUNT(MATCH({"apple", "pear", "cherry"; "coconut","apricot"},D5:E16,0))=5
does not work.
I heard that match() works only with a single column or row, so the second
formula does not work. How to overcome this? Perhaps with an arrayed
function?
I do not want to work with consecutive countif's, because if my list
{....}has 25 items it is very laborious and cumbersom to write 25 countif's.
Jack Sons
The Netherlands