Maybe...
=SUMPRODUCT(--(A1:A8=C1),--(B1:B8<>""))
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
And if you're using xl2007+, you may want to look at =countifS() in Excel's help.
On 12/02/2010 12:25, dicko1 wrote:
> 1 Bob 11/4/2010 Bob
> 2 Bob 11/3/2010
> 3 Steve 11/4/2010
> 4 Sara 11/9/2010
> 5 Kim 11/9/2010
> 6 Kim 11/9/2010
> 7 Bob 11/3/2010
> 8 Steve 11/12/2010
>
--
Dave Peterson