Forum Discussion

Jeev125's avatar
Jeev125
Copper Contributor
Aug 18, 2020

Need help with excel

I have 2 sets of data wherein in need to find,\

if Indicator indicates alarm then it needs to calculate time difference between the time its start STOPPED to ALARM and ALARM TO MOVING as per Indicator Column. please there can be instance wherein alarm go multiple time but it should only subtract with closest stopped indicator as shown in second table. Need one line formula.

 

 

in sample sheet i have taken out ID Column accidentally but i do have different ID for each class we can group as per below. 

 

 

TimeClassIDStatusIndicator
1:00:51 AMAssetA Moving Status  Stopped
1:00:59 AMAssetA In Service  Alarm
1:09:31 AMAssetA Moving Status  Moving

 

 

2:22:27 PMAssestB Moving Status  Stopped
2:23:07 PMAssestB In Service  Alarm
2:29:47 PMAssestB In Service  Alarm
2:34:14 PMAssestB Moving Status  Moving

5 Replies

Resources