Try
=SUMPRODUCT((A2:A50000="Saturday")*(E2:E50000=--"08:00:00"))

Signature
HTH
Bob Phillips
(remove xxx from email address if mailing direct)
> i used =SUMPRODUCT((A2:A50000="Saturday")*(E2:E50000="8:00"))
>
> and it gave me a 0 instead of the 9 it should be
try it this way
=SUMPRODUCT(($C$1:$C$5="Saturday")*(TEXT($D$1:$D$5,"hh:mm")="14:00"))

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
>
> i used =SUMPRODUCT((A2:A50000="Saturday")*(E2:E50000="8:00"))
>
> and it gave me a 0 instead of the 9 it should be
Don Guillett - 14 May 2006 14:13 GMT
or where g1 contains saturday & g2 contains 14:00
=SUMPRODUCT(($C$1:$C$5=g1)*($D$1:$D$5=G2))

Signature
Don Guillett
SalesAid Software
dguillett1@austin.rr.com
> try it this way
> =SUMPRODUCT(($C$1:$C$5="Saturday")*(TEXT($D$1:$D$5,"hh:mm")="14:00"))
>
>> i used =SUMPRODUCT((A2:A50000="Saturday")*(E2:E50000="8:00"))
>>
>> and it gave me a 0 instead of the 9 it should be
creed - 14 May 2006 14:18 GMT
that gave me a 1
could it be messing up the numbers because i'm using a forula to get
those times?
the time field isn't directly input, i'm using a forumla to round the
actual time to the nearest hour

Signature
creed
creed - 14 May 2006 14:20 GMT
oops...i lied...it didn't actually change it to a 1, it stayed 0...
forgot i switched sum to count to check i
creed - 14 May 2006 14:22 GMT
ok, i got it...the second thing you mentioned worked...i forgot to ad
sumproduct when i changed back from count...i just wrote sum..
thanks for the help