=sumproduct(--(rng1="text1"),--(rng2="text2"))
Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"st120869" wrote in
message ...
Hi,
how do a create a custom function to count cells (text) based on more
than criteria. Example
column a - lists critiera 1 (text)
column b - list criteria 2 (text)
I would like to be able to count number of cells from colulmn b that
match citieria 1 and 2.
I have tried multiple countif and counta and sum product but not
getting the correct result
--
st120869
------------------------------------------------------------------------
st120869's Profile:
http://www.excelforum.com/member.php...o&userid=18330
View this thread: http://www.excelforum.com/showthread...hreadid=517741