Count number of time a time value increases for a particular condition

vij

Board Regular
Joined
Feb 13, 2011
Messages
215
Hi,
Require your help with some excel formulae.
In Worksheet “data sheet” under the Ack time(Column G ) I want to count all the instances when the time is more than 00:01:30 (more than 90 seconds)for a particular type of Alarm_Type (Column E ).

Just as an example for Alarm_type “Fire Alarm - Alarm Sounding” the count is “01” and under column Inv_Time (Column H) is “02”


alarm_happened_dayalarm_happened_time_gmtalarm_respond_dayalarm_respond_time_gmtalarm_typeresponseAck TimeInv Time
01-07-201300:28:3401-07-201300:32:04Alarm Door..INVESTIGATION - Began00:03:30
04-07-201308:57:0604-07-201308:57:22Alarm Door..INVESTIGATION - Began00:00:16
05-07-201303:34:3105-07-201303:38:02Alarm Door..INVESTIGATION - Began00:03:31
05-07-201312:29:2605-07-201312:29:58Fire Alarm - Alarm SoundingACKNOWLEDGED P1 (Urgent) - Investigate Immediately00:00:32
06-07-201308:30:0206-07-201308:34:29Alarm Door..INVESTIGATION - Began00:04:27
06-07-201308:47:4606-07-201308:49:13Alarm Door..INVESTIGATION - Began00:01:27
06-07-201311:08:0706-07-201311:09:35Alarm Door..INVESTIGATION - Began00:01:28
09-07-201309:08:3009-07-201309:10:24Alarm Door..INVESTIGATION - Began
opened by guard
00:01:54
10-07-201300:50:5410-07-201300:51:08Alarm Door..INVESTIGATION - Began00:00:14
11-07-201300:22:2711-07-201300:22:43Alarm Door..INVESTIGATION - Began00:00:16
11-07-201313:45:1411-07-201313:45:21Fire Alarm - Alarm SoundingAcknowledge P1 (Urgent) - Investigate Immediately00:00:32
12-07-201300:39:1712-07-201300:43:46Alarm Door..INVESTIGATION - Began00:04:29
12-07-201313:35:4012-07-201313:42:31Alarm Door..INVESTIGATION - Began00:06:51
12-07-201313:38:2412-07-201313:42:34Alarm Door..INVESTIGATION - Began00:04:10
12-07-201315:03:2012-07-201315:03:36Alarm Door..INVESTIGATION - Began00:00:16
12-07-201315:19:3712-07-201315:23:04Alarm Door..INVESTIGATION - Began00:03:27
12-07-201315:19:4612-07-201315:26:04Alarm Door..INVESTIGATION - Began00:06:18
13-07-201301:02:5813-07-201301:03:14Alarm Door..INVESTIGATION - Began00:00:16
13-07-201306:04:0113-07-201306:05:16Alarm Door..INVESTIGATION - Began00:01:15
13-07-201306:34:4313-07-201306:35:11Alarm Door..ACKNOWLEDGED P2 (High) - Investigate within 2:00 minutes00:00:28
13-07-201306:36:0913-07-201306:36:43Alarm Door..ACKNOWLEDGED P2 (High) - Investigate within 2:00 minutes00:02:34
14-07-201318:17:2714-07-201318:21:19Fire Alarm - Alarm SoundingACKNOWLEDGED P1 (Urgent) - Investigate Immediately00:03:52
14-07-201318:17:2714-07-201318:21:33Fire Alarm - Alarm SoundingINVESTIGATION - Began00:04:06
15-07-201306:36:5615-07-201306:37:10Alarm Door..INVESTIGATION - Began00:00:14
15-07-201308:14:2115-07-201308:14:37Alarm Door..INVESTIGATION - Began00:00:16
14-07-201318:27:2714-07-201318:27:33Fire Alarm - Alarm SoundingINVESTIGATION - Began00:00:06
14-07-201318:37:2714-07-201318:39:33Fire Alarm - Alarm SoundingINVESTIGATION - Began00:02:06
14-07-201318:47:2714-07-201318:48:33Fire Alarm - Alarm SoundingINVESTIGATION - Began00:01:06



<tbody>
</tbody>

Thanks,
Vijay
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try this;

=COUNTIFS(E:E,I1,G:G,">0.00104166666666667")

I1 = Cell with the Alarm type you're looking for. This could be replaced by “Fire Alarm - Alarm Sounding", if you preferred.
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,728
Members
449,332
Latest member
nokoloina

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