
Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Consider the list below. I want to somehow count the number of unique
> assignments for each manager.
[quoted text clipped - 29 lines]
>
> Thanks.
Bob -
Thanks for the tip - that really helps me.
I am glad for the formula as I am a bit of dunce when it comes to Pivot
tables. Any pointers?
What is the significance of the double minus sign in the formula?
Many thanks
Neil
> Pivot tables sound best, but if you want a formula
>
[quoted text clipped - 38 lines]
> >
> > Thanks.
Bob Phillips - 25 Sep 2006 11:08 GMT
The -- is a double unary, which coerces True/False values to 1/0. Although
this page is aimed at SUMPRODUCT, it explains that more
http://www.xldynamic.com/source/xld.SUMPRODUCT.html.

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Bob -
>
[quoted text clipped - 9 lines]
>
> > Pivot tables sound best, but if you want a formula
=SUM(--(FREQUENCY(IF(A2:A100="Bob",MATCH(B2:B100,B2:B100,0)),ROW(INDIRECT("1
> > :"&ROWS(B2:B100))))>0))
> >
[quoted text clipped - 35 lines]
> > >
> > > Thanks.
Bob Phillips - 25 Sep 2006 11:08 GMT
Oh yes, pivot tables.
See http://www.contextures.com/xlPivot01.html
and http://www.peltiertech.com/Excel/Pivots/pivottables.htm

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Bob -
>
[quoted text clipped - 9 lines]
>
> > Pivot tables sound best, but if you want a formula
=SUM(--(FREQUENCY(IF(A2:A100="Bob",MATCH(B2:B100,B2:B100,0)),ROW(INDIRECT("1
> > :"&ROWS(B2:B100))))>0))
> >
[quoted text clipped - 35 lines]
> > >
> > > Thanks.