Simple I think

  • Thread starter Thread starter Kelly Johns
  • Start date Start date
Use a formula like:

=sumproduct(--(a2:a10="initital"),--(b2:b10="y"))

Adjust the ranges to match--but you can't use whole columns (except in xl2007+).

=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.

Bob Phillips explains =sumproduct() in much more detail here:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html

=========
If you're using xl2007, look at =countifs() in excel's help.
 
Back
Top