Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Help with time formula to count cells below a time (some pass midnight) I have a

ID: 3563460 • Letter: H

Question

Help with time formula to count cells below a time (some pass midnight)

I have a spread sheet which has times

I need to count how many are below a set time but due to some going past midnight i cannot get a true answer

example below

I have tried the COUNTIF but this fails to count correctly

this is what i have tried second line =COUNTIF(C23:G23,"<3:01 AM") result was 0

Any help with a formula please

Thank You!!!!

1:05 AM 12:55 AM 1:03 AM 12:25 AM 1:00 AM 12:50 AM 12:52 AM 12:58 AM 12:10 AM 12:33 AM 12:59 AM 3:07 AM 12:51 AM 2:30 AM 12:06 AM

Explanation / Answer

example end number is what i need to count cells below 0:30

due to two being before midnight the result i got was 3 but I am looking for a result of 5 as all the times are before 0:30

putting two countif solves the problem

=COUNTIF(S21:W21,"<00:31")+COUNTIF(S21:W21,">18:00")

23:30 23:28 0:14 0:01 0:09 0:30
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote