maximum entries per x minutes

blicop

New Member
Joined
Aug 9, 2011
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Hi everyone. I've been looking for a solution to give me the maximum requests(rows) within lets say a 1 or 5 minute period from the data below which spans the last 6 months. Can anyone help me out please?

User NameLogon TimeEvent Type
D1
12/14/2022 23:19​
Success
g1
12/14/2022 21:58​
Failure
g1
12/14/2022 21:58​
Failure
g1
12/14/2022 21:57​
Failure
g1
12/14/2022 21:57​
Failure
g1
12/14/2022 21:57​
Failure
h1
12/14/2022 21:47​
Success
t1
12/14/2022 19:42​
Success
F1
12/14/2022 19:35​
Success
t1
12/14/2022 16:26​
Success
t1
12/14/2022 16:09​
Success
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Can you show us what the result(s) would be for that sample data and explain why?
 
Upvote 0
The goal is to get the maximum number of logins within a 1 or 5 minute window. In the example above the answer would be 3 if the window was every minute and 5 for the attempts g1 made.
 
Upvote 0
In the example above the answer would be 3 if the window was every minute
Exactly how did you calculate that?

5 for the attempts g1 made.
Exactly how did you calculate that?

BTW, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Exactly how did you calculate that?


Exactly how did you calculate that?

BTW, I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
3 if the window was every minute:
User NameLogon TimeEvent Type
g112/14/2022 21:57Failure
g112/14/2022 21:57Failure
g112/14/2022 21:57Failure

5 if the window was every 5 minutes:
User NameLogon TimeEvent Type
g112/14/2022 21:58Failure
g112/14/2022 21:58Failure
g112/14/2022 21:57Failure
g112/14/2022 21:57Failure
g112/14/2022 21:57Failure
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,269
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top