S
S
sbh2020-04-13 13:39:47
excel
sbh, 2020-04-13 13:39:47

How to count the number of rows by condition?

Good afternoon.
I have a table with many values.
Values ​​like:
10:00:01
10:00:23
11:00:01
12:00:02
...

That is the time.
It is necessary to count the number of records in a certain interval, for example, from 10:00:00 to 11:00:00.
I tried to do it using the COUNTIFS formula - it doesn't work. Did 2 conditions on 1 and the same column.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2020-04-13
@sbh

Use the array formula :
{=SUM(IF(HOUR(A1:A4)=10;1;0))}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question