count number of rows with 2 matching text cells
Thanks but I get zero for the result, no error, but no count. I should get
a result of 15 with the example data I'm using.
Scott
"Mike H" wrote:
Maybe
=SUMPRODUCT((Sheet1!A1:A30="xx")*(Sheet1!B1:B30="y y"))
Mike
"smcmoran" wrote:
I have a data sheet with data listing users and a product group. I need to
count the number of occurances where the user and group match. so on the
second sheet i need to fill cells with the count of "IF !A:A = "X" and !B:B =
"Y"". I have been trying countif and sumproduct with no luck. I can get the
sum of both individual matches but not when the combination matches.
Any ideas?
Thanks
Scott
|