1

How do I count timestamp considering both date and time range?For example, I want to count how many cells are within 2/14/2018 22:00 to 2/15/2018 1:00.

enter image description here

1

Use COUNTIFS.

Let say that you have

  • J1 : 2/14/2018 22:00
  • J2 : 2/15/2018 1:00

Then the formula to use could be

=COUNTIFS(G2:G,">="&J1,"=<"&J2)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.