SUMPRODUCT - Help
=SUMPRODUCT(--($A$2:$A$100="apple"),--ISNUMBER(MATCH($B$2:$B$100,{"green","blue"},0)))
ceemo wrote:
Ive started using the sumproduct function to count multiple conditions
which is useful
howveer if i want to count those records in one column that meet a
condition and those records in another column that meet anyone of a
number of conditions how can i do that?
the only way i can think is like the below
=sumproduct(--((columnA=apple)*((ColumnB<Red)*(columnB<Yellow) )))
Rather than having to eliminate red and yellow i would like to say is
green or blue.
Please help
|