Sorry for being late to this post.....but here's a possible formula solution:
With
B1:B50 containing Times
and
E1: 1st_Period_End_Time
E2: 12:01:00 AM
The below formulas check each 1-minute interval,
beginning with the minute ending 12:01:00 AM,
for a 24 hour period.
F1: Max_Interval_Count
F2: =MAX(FREQUENCY($B$3:$B$50,E2+TIME(0,ROW($A$1:$A$1440)-1,0)))
G1: Interval_Ending
(ARRAY FORMULA...Committed with Ctrl+Shift+Enter, instead of just Enter)
G2: =INDEX(E2+TIME(0,ROW($A$1:$A$1440)-1,0),MATCH(MAX(FREQUENCY($B$3:$B$50,E2+TIME(0,ROW($A$1:$A$1440)-1,0))),FREQUENCY($B$3:$B$50,E2+TIME(0,ROW($A$1:$A$1440)-1,0)),0))
Does that help?
Post back if you have more questions.
Bookmarks