hi could anyone help me with writing a "simple" formula/function.
many thanks in advance.
i have a log file that writes data to a csv. spread sheet every 60secs.
it reports the running time of a simulator program, in seconds.
each time the program is launched anew, the counter will begin back to zero.
so it is in the form
sample no time
1----------------0
2----------------0
3----------------0
4----------------60
5----------------120
6----------------180
7----------------0
8----------------0
9----------------60
10---------------120
11---------------0
12---------------0
and so on for days
i want the total running time of the program.
i am guessing to give me this the combined result of the formular/syntax/function must be something like:
(if value is 0 or smaller than last value, then the previous value is a subtotal.), (now i want to add all the subtotals together) to give airtime.
can anyone tell me exactly what arguments/formula i should use process my data. so i can enter it as function and automate the process
many thanks
many thanks in advance.
i have a log file that writes data to a csv. spread sheet every 60secs.
it reports the running time of a simulator program, in seconds.
each time the program is launched anew, the counter will begin back to zero.
so it is in the form
sample no time
1----------------0
2----------------0
3----------------0
4----------------60
5----------------120
6----------------180
7----------------0
8----------------0
9----------------60
10---------------120
11---------------0
12---------------0
and so on for days
i want the total running time of the program.
i am guessing to give me this the combined result of the formular/syntax/function must be something like:
(if value is 0 or smaller than last value, then the previous value is a subtotal.), (now i want to add all the subtotals together) to give airtime.
can anyone tell me exactly what arguments/formula i should use process my data. so i can enter it as function and automate the process
many thanks