Thanks Biff!
Doesnt work pasting it in but I am sure it is just that I am a novice..
In your formula, =SUMPRODUCT(--(A2:A9=D1),--(B2:B9=E1))
what does the "--" between SUMPRODUCT( and (A2:... represent?
Thanks!
Andy
> Hi!
>
[quoted text clipped - 27 lines]
>>
>> thank you!
idaho@idaho.net - 17 Aug 2006 05:48 GMT
Actually, IT DOES work ! THANK YOU !!!!!
> Thanks Biff!
> Doesnt work pasting it in but I am sure it is just that I am a novice..
[quoted text clipped - 36 lines]
>>>
>>> thank you!
Biff - 17 Aug 2006 05:57 GMT
> what does the "--" between SUMPRODUCT( and (A2:... represent?
Each of these expressions will return an array of TRUE's or FALSE's:
(A2:A9=D1)
(B2:B9=E1)
The "--" converts those to 1's and 0's. --TRUE = 1, --FALSE = 0
Sumproduct then sums those numbers for the result.
See this for a detailed explanation:
http://xldynamic.com/source/xld.SUMPRODUCT.html
Biff
> Thanks Biff!
> Doesnt work pasting it in but I am sure it is just that I am a novice..
[quoted text clipped - 36 lines]
>>>
>>> thank you!