COUNTIF - USING WITH TIME VALUE RANGES

K

Kazman

I would like to count an entry in a different worksheet but in the same
workbook if the entry falls between certain hours. Here is the formual I am
using: =COUNTIF(Tickets!G:G,"<17:00:>11:59") where as "Tickets" is the other
worksheet and I would like to count the entries that fall between 11:59 and
17:00. Using this formula the result shows as "0" which is not correct.
Please advise what changes need to be made to the formula for this to work
properly.
 
L

Luke M

That's the wrong syntax for COUNTIF. What you could do is a 2-step subtraction:

=COUNTIF(Tickets!G:G,">11:59")-COUNTIF(Tickets!G:G,">=17:00")
 

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

Similar Threads

COUNTIF with a range of time values 2
countif with time 3
I need Time Range to return Value 4
CountIf on Date / Time 14
comparing times in excel 1
Date value content format 6
Frequency & Time 2
countif function 8

Top