Counting occurances
I get it! Since I was multiplying two arrays that evaluated to T/F, it
wouldn't matter if I had both -- or just - in front of both arrays.
But if I was mutiplying a T/F array by actual numbers - THEN I would need to
use the --.
Thanks, David!
Lauri
"David Biddulph" wrote:
If you removed one of each pair of minuses, then when you previously
multiplied +1 by +1 in a TRUE/TRUE condition, you'll now be multiplying -1
by -1, and of course getting the same result. If you just remove one of the
four minus signs, I would expect to get a -ve result from the SUMPRODUCT.
--
David Biddulph
"LauriS" wrote in message
...
=SUMPRODUCT(--(B1:AQ1="Monday"),--(B2:AQ2<""))
Ok, I'm confused. I did more research to understand the purpose of the --
and I thought I had it. But when I remove just one of the dashes I get
the
same answer as when they are both there. I would have expected to get
negatives. Can anyone shed any light on this? I'm using 2000 if that
makes
a difference.
Lauri
|