Count

chadlaw32

Board Regular
Joined
Jul 29, 2014
Messages
84
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
I am working with a date/time field and I wanted to count all inceidents that happen within 5 minutes of each other as 1. Any ideas?
2021-07-27T03:02:41.000-05:00
2021-07-27T03:02:41.000-05:00
2021-07-27T03:02:41.000-05:00
2021-07-27T03:02:40.000-05:00
2021-07-27T03:02:38.000-05:00
2021-07-27T03:02:38.000-05:00
2021-07-27T03:02:38.000-05:00
2021-07-27T03:02:38.000-05:00
2021-07-27T03:02:35.000-05:00
2021-07-27T03:02:35.000-05:00
2021-07-27T03:02:33.000-05:00
2021-07-27T03:02:33.000-05:00
2021-07-27T03:02:32.000-05:00
2021-07-27T03:02:30.000-05:00
2021-07-27T03:02:30.000-05:00
2021-07-27T03:02:24.000-05:00
2021-07-27T03:01:28.000-05:00
2021-07-27T03:01:27.000-05:00
2021-07-27T03:01:27.000-05:00
2021-07-27T03:01:27.000-05:00
2021-07-27T03:01:27.000-05:00
2021-07-27T03:01:26.000-05:00
2021-07-27T03:01:26.000-05:00
2021-07-27T03:01:24.000-05:00
2021-07-27T03:01:24.000-05:00
2021-07-27T03:01:24.000-05:00
2021-07-27T03:01:24.000-05:00
2021-07-27T03:01:22.000-05:00
2021-07-27T03:01:22.000-05:00
2021-07-27T03:01:22.000-05:00
2021-07-27T03:01:22.000-05:00
2021-07-27T03:01:22.000-05:00
2021-07-27T03:01:22.000-05:00
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Let me expand a little further any incidents where the user is the same and the time is within 5 minutes

UserCreated
none2021-07-27T04:22:28.000-05:00
none2021-07-27T04:20:45.000-05:00
none2021-07-27T04:20:45.000-05:00
none2021-07-27T04:20:45.000-05:00
none2021-07-27T04:17:33.000-05:00
none2021-07-27T04:14:30.000-05:00
none2021-07-27T04:14:28.000-05:00
none2021-07-27T04:14:25.000-05:00
none2021-07-27T04:14:25.000-05:00
none2021-07-27T04:14:23.000-05:00
none2021-07-27T04:14:22.000-05:00
none2021-07-27T04:14:22.000-05:00
none2021-07-27T04:14:22.000-05:00
none2021-07-27T04:14:22.000-05:00
none2021-07-27T04:14:22.000-05:00
none2021-07-27T04:14:20.000-05:00
none2021-07-27T04:14:20.000-05:00
none2021-07-27T04:14:20.000-05:00
none2021-07-27T04:14:18.000-05:00
none2021-07-27T04:14:18.000-05:00
none2021-07-27T04:14:18.000-05:00
none2021-07-27T04:14:18.000-05:00
none2021-07-27T04:14:17.000-05:00
none2021-07-27T04:14:17.000-05:00
none2021-07-27T04:14:17.000-05:00
none2021-07-27T04:14:16.000-05:00
none2021-07-27T04:14:16.000-05:00
none2021-07-27T04:14:15.000-05:00
none2021-07-27T04:14:15.000-05:00
none2021-07-27T04:14:15.000-05:00
none2021-07-27T04:14:15.000-05:00
none2021-07-27T04:14:15.000-05:00
none2021-07-27T04:14:14.000-05:00
none2021-07-27T04:14:14.000-05:00
none2021-07-27T04:14:14.000-05:00
none2021-07-27T04:14:13.000-05:00
none2021-07-27T04:14:13.000-05:00
none2021-07-27T04:14:12.000-05:00
none2021-07-27T04:14:12.000-05:00
none2021-07-27T04:14:12.000-05:00
Derrick McDonald2021-07-27T04:14:11.000-05:00
none2021-07-27T04:14:10.000-05:00
none2021-07-27T04:14:10.000-05:00
none2021-07-27T04:14:10.000-05:00
Derrick McDonald2021-07-27T04:14:09.000-05:00
none2021-07-27T04:14:09.000-05:00
Derrick McDonald2021-07-27T04:14:09.000-05:00
none2021-07-27T04:14:09.000-05:00
none2021-07-27T04:14:08.000-05:00
 
Upvote 0

Forum statistics

Threads
1,215,730
Messages
6,126,528
Members
449,316
Latest member
sravya

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