Thank you Roger. As soon as I convinced myself to use your example
syntax
literally, i.e. (--( [hyphens for the number of conditions placed in
the
outer brackets], then it was a snap.
George Papangellin
Fresno, California
Roger Govier said:
Hi George
Sumproduct will probably provide your solution, but note that you
cannot
use whole column ranges as the argument.
Use something like
=SUMPRODUCT(--($B$1:$B$65535="value1"),--($C$1:$C$65535="value2"))
You can use as many sets of conditions within the outer set of
brackets
as you require.
Wrap the test in quotes "Value 1" if comparing Text, or omit the
quotes
and just use numbers for Numeric data.