Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

23656+25

0 views
Skip to first unread message

rice@telus.com brian rice

unread,
Jul 11, 2009, 2:30:08 PM7/11/09
to

From: "Jay C" <Ja...@discussions.microsoft.com>
Subject: Help with countif and if statement
Date: May-21-09 8:51 AM

I need some help trying to calculate 2 different conditions in one formula.
Basically what I am trying to do is calculate how many times we pickup at a
location between 6:00 and 7:00am and summarize on my summary sheet. This is
what I have so far and is seems to work for the number times between 6 and
7am.

COUNTIF(Monday!$H$6:$H$21,"<=06:59")-COUNTIF(Monday!$H$6:$H$21,"<=05:59")

however, when i add on the if statement I get a value error

IF(Monday!$F$6:$F$21,"Cambridge
")-(COUNTIF(Monday!$H$6:$H$21,"<=06:59")-COUNTIF(Monday!$H$6:$H$21,"<=05:59"))

Any help is greatly apprecitated.5523214

rice@telus.com brian rice

unread,
Jul 12, 2009, 11:33:45 AM7/12/09
to
w555
"brian rice" <brian ri...@telus.com> wrote in message
news:DEE08BF2-0E36-46DA...@microsoft.com...
0 new messages