So ... what does Column A have to do with the count?
=Sumproduct((C1:C100=1)*(D1:D100=1))
Do you want to check if the cell in Column A contains *anything?
=Sumproduct((C1:C100=1)*(D1:D100=1)*(A1:A100<>""))
OR ... if Column A is *not* equal to 0?
=Sumproduct((C1:C100=1)*(D1:D100=1)*(A1:A100>0))

Signature
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
If this is a real problem not just an example, (ie that there really will be
1's used), then a simple SUMIF() should do it:
=SUMIF(A1:A10,1,C1:C10)

Signature
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
sandymann2@mailinator.com
Replace@mailinator.com with @tiscali.co.uk
> So ... what does Column A have to do with the count?
> =Sumproduct((C1:C100=1)*(D1:D100=1))
[quoted text clipped - 15 lines]
>>
>> Helen
Ragdyer - 08 Mar 2007 04:59 GMT
What happens when Column C contains a 1, and Column D contains a 2 and/or a
3?

Signature
Regards,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
> If this is a real problem not just an example, (ie that there really will be
> 1's used), then a simple SUMIF() should do it:
[quoted text clipped - 24 lines]
> >>
> >> Helen