
Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> I want to count all the X's in Cells A5:A10 if there is a C in Cells B5:B10.
> Can someone help? Thanks
Bob,
why do we need "--" between the brackets? I did this formulae as
=SUMPRODUCT((A5:A10="X")*(B5:B10="C"))
and this too worked fine, but again I don't know why I need to use " *
" multiplication here.
Please do let me know both the things.
thanks
Shail
> =SUMPRODUCT(--(A5:A10="X"),--(B5:B10="C"))
>
[quoted text clipped - 8 lines]
> B5:B10.
> > Can someone help? Thanks
Bernard Liengme - 24 Aug 2006 15:41 GMT
Both will work. For explanation of -- see
http://mcgimpsey.com/excel/formulae/doubleneg.html
best wishes

Signature
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email
> Bob,
>
[quoted text clipped - 23 lines]
>> B5:B10.
>> > Can someone help? Thanks
shail - 24 Aug 2006 16:19 GMT
Thanks Bernard, I understand.
Shail
> Both will work. For explanation of -- see
> http://mcgimpsey.com/excel/formulae/doubleneg.html
[quoted text clipped - 32 lines]
> >> B5:B10.
> >> > Can someone help? Thanks
Bob Phillips - 24 Aug 2006 16:31 GMT
See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed
explanation.

Signature
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
> Bob,
>
[quoted text clipped - 23 lines]
> > B5:B10.
> > > Can someone help? Thanks