SumIf
Try this:
=SUMPRODUCT(+((C7:C200=C2)+(C7:C200=C3)+(C7:C200=C 4))*E7:E200)
Does that help?
***********
Regards,
Ron
"Steven" wrote:
Is there a way to put multiple criteria in a single sumif() equation.
=SUMIF(C7:C200,C2,E7:E200)
But the criteria I want to sum is really in C2, C3 and C4 and I prefer it
all in one function. ie I dont want to say: =SUMIF(C7:C200,C2,E7:E200) +
SUMIF(C7:C200,C3,E7:E200) + SUMIF(C7:C200,C4,E7:E200)
Thanks.
|