Hi,
I'm having a hard time trying to calculate the time duration of an alarm event. When an alarm is activated the cell will have a value of 1. The time collection of events is every minute (under the Time Stamp column) so if the alarm lasts for 5 minutes then there will be 5 rows with a value of “1” under the Alarm column (see attachment). So my dilemma is trying to calculate the sum of the time the value of the rows is ="1". I want to have a formula or vb code that will give me the time duration of an alarm (from the moment it activated (=”1”) until it de-activated (=”0”). Notice there are several occasions this happens. I am not looking for the total of ALL alarms, just from where it activated until it de-activated.
Bookmarks