how to count if cell "contains" a word
On Fri, 11 Jul 2008 16:02:19 -0700, "RagDyer" wrote:
Does this work for you:
=SUM(COUNTIF(A1:A5,{"*abcd, abcf*","*abcf,abcd*"}))
Assuming there is *no* possibility of there being:
"abcd, abcg, abcf"
--
HTH,
RD
Pasting in the OP's data, your formula returns a count of 2. The OP wanted a
count of 3.
--ron
|