With Column A containing your date/time, enter the hourly intervals in two columns, let's say Column C and D, as follows...
Then, enter the following formula in E1 and copy down:
=SUMPRODUCT(--($A$1:$A$6000>=C1),--($A$1:$A$6000<D1))
Hope this helps!
Originally Posted by
monty_mm
Hi again,
thanks for ur reply Dominic. I tried those formulas but they didnt work. Also, i need to specify the date as well, not only the time. The formula u supplied also wont help me much because i'll have to type it for each date and time. For example, if i have a list of events occurring by the hour between 01/01/2005 and 07/01/2005, and i need to count the no. of events occurring in each hour in each of these days, typing a formula like that is going to be hectic. Auto fill does not work properly when i tried. By the way, all the dates/times are in one column, for example A1:A6000 and not in other columns. Hope i get an easy solution soon. Thanks for ur earlier reply anyway.
Bookmarks