Hi All,
I have been asked to develop a way of returning the start and end time (and therefore duration) of an event, in Excel. Anyone know how to do this??
Example;
A PI value has a range of 0-100. I need to know the start and end time of any periods where the value went above 60 for more than 3 minutes over the course of a day. I've tried filtered calculated data, advanced filtered data, but can't find a way to combine everything I want into one Datalink call.
My current idea is to find the first time the value goes above 60 (using the findge function), then use the time returned as the start point for finding when the value drops below 60. I'd then repeat this for the rest of the day. However I can't get Datalink to return a timestamp, it says the data type is incorrect. Anybody got any ideas how to get round this??
Thanks