Gerhardstru
New Member
- Joined
- Jun 7, 2016
- Messages
- 6
Hi
Can you please assist in how to countifs time between 2 values. Specifically if the one value falls on Midnight
-- removed inline image ---
Formula in C5 =COUNTIF(F5:XFD5,"<="&TIME(19,30,0)) This seems to work correct, I want to count times smaller than 19:00
Formula in D5 =COUNTIFS(F5:XFD5,">="&TIME(19,30,1),F5:XFD5,"<="&TIME(21,30,0)) Also seems correct, I want to count between >19:300 and =<21:30
Formula in E5 =COUNTIFS(F5:XFD5,">="&TIME(21,30,1),F5:XFD5,"<="&TIME(23,59,59)) This is where I have my problem. I want to count values =>21:30 and <=24:00
I changed the formula to 23:59:59 to test, it seems to work, The problem I have is that there are values showing as 24:00 or 12:00 PM
Can you please assist in how to countifs time between 2 values. Specifically if the one value falls on Midnight
-- removed inline image ---
Formula in C5 =COUNTIF(F5:XFD5,"<="&TIME(19,30,0)) This seems to work correct, I want to count times smaller than 19:00
Formula in D5 =COUNTIFS(F5:XFD5,">="&TIME(19,30,1),F5:XFD5,"<="&TIME(21,30,0)) Also seems correct, I want to count between >19:300 and =<21:30
Formula in E5 =COUNTIFS(F5:XFD5,">="&TIME(21,30,1),F5:XFD5,"<="&TIME(23,59,59)) This is where I have my problem. I want to count values =>21:30 and <=24:00
I changed the formula to 23:59:59 to test, it seems to work, The problem I have is that there are values showing as 24:00 or 12:00 PM