Multiple Criteria & Count if Equals 0

  • Thread starter Thread starter slf
  • Start date Start date
S

slf

Need help with a formula to find criteria in one column then count the number
of 0's in another.
Example:

col a col b
smith 2
jones 9
smith 0
rider 4
smith 0
smith 0

need the return for the number of 0's for smith
this would equal 3

using excel2007
help is much appreciated
 
Try
=SUMPRODUCT((A1:A10="Smith")*(B1:B10=0)*(B1:B10<>""))

If this post helps click Yes
 
Mike,
Thank you -
I had the "Sumproduct" but was unable to finish it. The * never occurred to
me.
 
Back
Top