New problem with summing time gaps & conditional formatt

=HPSF=RMP

Board Regular
Joined
Jun 9, 2004
Messages
188
Hello,
I am wanting to create a cell that will sum up any time gaps over 10 minutes on a list and highlight the gaps.

Here is an example of the cells.

Activity_Time
11/21/2005 11:08
11/21/2005 11:17
11/21/2005 11:17
11/21/2005 11:21
11/21/2005 11:25
11/21/2005 11:28
11/21/2005 11:30
11/21/2005 11:38
11/21/2005 11:39
11/21/2005 11:59


On this list there would be one gap totalling 20 minutes. The 11:39 to 11:50 gap. Everything else would be ignored being under 10 minute gaps.

Is there a way to create a cell next to this that would highlight these gaps and then sum the total string of gaps??


any help would be appreciated.
thanks!!
 
New Problem

There is a flaw in this formula. Here is the example:

11/28/2005 16:32 FALSE 0:00:00
11/28/2005 16:35 FALSE 0:00:00
11/28/2005 17:44 FALSE 0:00:00
11/28/2005 17:47 FALSE 0:00:00

If you notice, there is 1 hour 9 minute gap, but since the minute is only 9, it is still showing FALSE. I tested this by changing the time from 16:35 to 16:33 and it calculates since the minutes is over 10.

Here is the formula that was used.

=MINUTE(B140-B139)>10
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Re: New Problem

=HPSF=RMP said:
There is a flaw in this formula. Here is the example:

11/28/2005 16:32 FALSE 0:00:00
11/28/2005 16:35 FALSE 0:00:00
11/28/2005 17:44 FALSE 0:00:00
11/28/2005 17:47 FALSE 0:00:00

If you notice, there is 1 hour 9 minute gap, but since the minute is only 9, it is still showing FALSE. I tested this by changing the time from 16:35 to 16:33 and it calculates since the minutes is over 10.

Here is the formula that was used.

=MINUTE(B140-B139)>10

I didn't anticipate that large a gap given the original data you posted. Try:

=((HOUR(B140-B139)*60)+MINUTE(B140-B139))>10
 
Upvote 0

Forum statistics

Threads
1,215,506
Messages
6,125,194
Members
449,214
Latest member
mr_ordinaryboy

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