Hi there,
I have two lists of names (col A, names can reappear) which are
classissified as either A or B entries in col B.
I need to know a) which names of list 1 appear on list 2 and b) how
often they appear on list 1 and list 2 and c) how many of the entries
on list 1 are A-entries, finally d) how many are B-entries, then e)
the same for list 2.
I already figured a) and b), while d) and e) will be corollary to c)
so I should be able to do them after I (please) can get help on c)
where I am at a complete loss.
CountIf allows me only to count the entries based on one conditionand
I can't find a function which accepts two conditions.
Thanks
Knud
Bob Phillips - 29 Mar 2005 15:53 GMT
Don't understand your data layout, but you can use
=SUMPRODUCT(--(rng1="val1"),--(rng2="val2"))

Signature
HTH
RP
(remove nothere from the email address if mailing direct)
> Hi there,
>
[quoted text clipped - 15 lines]
> Thanks
> Knud
Knud Gentz - 03 Apr 2005 22:35 GMT
Thanks all, SUMPRODUCT did the trick
Bucky - 29 Mar 2005 23:10 GMT
> CountIf allows me only to count the entries based on one conditionand
> I can't find a function which accepts two conditions.
I couldn't follow your example, but for the above requirement, you can
create another (hidden) column to handle the logic conditions, then do
countif on the hidden column where TRUE.