I have an Excel question, in the example below I have a very long list of dates times where I added a column to calculate gaps, and tagged rows where the gap were less than 15 minutes to try to determine a possible consecutive activity. Do you have any idea how to get the groups of tagged rows to calculate a time like latest minus earliest for each tagged group?
[TABLE="width: 734"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]VisitCount[/TD]
[TD]LastAccessed[/TD]
[TD]Last Access Date[/TD]
[TD]Last Access Time[/TD]
[TD]Gap (hms)[/TD]
[TD]Tag (+) if gap less than 15 min[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]5/29/18 8:26 AM[/TD]
[TD]05/29/18[/TD]
[TD]8:26:58 AM[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:07 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:07:12 PM[/TD]
[TD]3:40:14[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:10 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:10:35 PM[/TD]
[TD]0:03:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:14 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:14:46 PM[/TD]
[TD]0:04:11[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:15 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:15:11 PM[/TD]
[TD]0:00:25[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:20 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:20:28 PM[/TD]
[TD]0:05:17[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:22 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:22:51 PM[/TD]
[TD]0:02:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:23 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:23:10 PM[/TD]
[TD]0:00:19[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:25 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:25:33 PM[/TD]
[TD]0:02:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:26 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:26:13 PM[/TD]
[TD]0:00:40[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:31 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:31:48 PM[/TD]
[TD]0:05:35[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]3:30:47[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]0:00:00[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]0:00:00[/TD]
[TD]+[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 734"]
<colgroup><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]VisitCount[/TD]
[TD]LastAccessed[/TD]
[TD]Last Access Date[/TD]
[TD]Last Access Time[/TD]
[TD]Gap (hms)[/TD]
[TD]Tag (+) if gap less than 15 min[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]5/29/18 8:26 AM[/TD]
[TD]05/29/18[/TD]
[TD]8:26:58 AM[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:07 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:07:12 PM[/TD]
[TD]3:40:14[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:10 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:10:35 PM[/TD]
[TD]0:03:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:14 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:14:46 PM[/TD]
[TD]0:04:11[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:15 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:15:11 PM[/TD]
[TD]0:00:25[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:20 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:20:28 PM[/TD]
[TD]0:05:17[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:22 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:22:51 PM[/TD]
[TD]0:02:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:23 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:23:10 PM[/TD]
[TD]0:00:19[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:25 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:25:33 PM[/TD]
[TD]0:02:23[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:26 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:26:13 PM[/TD]
[TD]0:00:40[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 12:31 PM[/TD]
[TD]05/29/18[/TD]
[TD]12:31:48 PM[/TD]
[TD]0:05:35[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]3:30:47[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]0:00:00[/TD]
[TD]+[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]5/29/18 4:02 PM[/TD]
[TD]05/29/18[/TD]
[TD]4:02:35 PM[/TD]
[TD]0:00:00[/TD]
[TD]+[/TD]
[/TR]
</tbody>[/TABLE]