sumif 2 text conditions
Try this:
=SUMPRODUCT((b2:b100="United States")*(c2:c100="Sales"))
or...this variation:
=SUMPRODUCT(--(b2:b100="United States"),--(c2:c100="Sales"))
Does that help?
***********
Regards,
Ron
XL2002, WinXP
"Ted Metro" wrote:
In column A I have employee names, in coolumn B I have country names, and in
column C, I have department.
I want to do a sumif for example that would count how many people in the
United States are in the Sales department.
I've tried an array formula something like this, but it's not working,
{sum(if(and(b2:b100="United States",c2:c100="Sales"),1,0))}
Any ideas?
|