View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default COUNTIF with a range of time values

=COUNTIF(Tickets!G:G,"<24:00""16:59")

One way:

Use cells to hold the time boundaries:

A1 = 16:59
B1 = 24:00

=COUNTIF(Tickets!G:G,""&A1)-COUNTIF(Tickets!G:G,"="&B1)

--
Biff
Microsoft Excel MVP


"Kazman" wrote in message
...
I am trying to count the entries based on a range of time values in a
different worksheet but in the same work book. Example:
=COUNTIF(Tickets!G:G,"<24:00""16:59") where "Tickets" is the other
worksheet
name and I would like to count those extries in column G which have a
value
between 16:59 and 24:00.

Thank You