E. M.

asked • 06/23/21

Comparison Time Range formula

Hello,

I'm currently using a formula that counts the number of entries that fall between a certain time range. The error I receive is for an entry at 10:03 PM not being counted between the time range of 10:01 PM and 12:00 AM. My current formula is as follows:

=COUNTIFS(O4:O48,">="&A4,O4:O48,"<="&B4)

Where A4 is 10:01 PM and B4 is 12:00 AM

Derrick M.

tutor
What format are you using to enter your time? Also would you be able to add a snippet of the sheet. Would like to see what all is in O4:O48 and what your current output is using your current formula.
Report

06/24/21

Patrick B.

Also for rollover, you may have to include the date. 10:01 pm and 12:00 am may always be false because its midnight the same day.
Report

06/24/21

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.