COUNTIF with a range of time values

K

Kazman

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
 
J

Jacob Skaria

It would be better if you can show some samples...or let us know exactly in
what format you have entered the time values.Try the below

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

If this post helps click Yes
 
T

T. Valko

=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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top