ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Events per hour (https://www.excelbanter.com/excel-worksheet-functions/75325-events-per-hour.html)

ER_Andy

Events per hour
 
I have a large table of arrival date_times. For each arrival event, I would
like to calculate the number of arrival events in the preceding x hour/s.

Any help much appreciated



Ardus Petus

Events per hour
 
Assuming your arrival times are in column A1:A999 and the delay (x hours) in
F1, enter the following formula into C1:C999:

=SUMPRODUCT(--(A2<(A$2:A2+$F$1)))

See example: http://cjoint.com/?dfiLqKFLBc


HTH
--
AP

"ER_Andy" a écrit dans le message de
...
I have a large table of arrival date_times. For each arrival event, I

would
like to calculate the number of arrival events in the preceding x hour/s.

Any help much appreciated





Ardus Petus

Events per hour
 
Oooops:
enter the following formula into C2:C999

(example is right)
--
AP

"Ardus Petus" a écrit dans le message de
...
Assuming your arrival times are in column A1:A999 and the delay (x hours)

in
F1, enter the following formula into C1:C999:

=SUMPRODUCT(--(A2<(A$2:A2+$F$1)))

See example: http://cjoint.com/?dfiLqKFLBc


HTH
--
AP

"ER_Andy" a écrit dans le message de
...
I have a large table of arrival date_times. For each arrival event, I

would
like to calculate the number of arrival events in the preceding x

hour/s.

Any help much appreciated








All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com