Hello there - new member here...
Hoping someone has a simple solution or direction to offer. The question is this: I have two columns of date data consisting of dd/mm/yy hh:mm:ss. One column is a start time the second is end time. I am calculating the time difference across the row just fine, with a condition that a specific value is present in a third cell in that row. If the specific value is not present, the time calculation result is 0:00:00.
What I am now having troubles with is calculating the average time calculated down the entire column while skipping cells with 0:00:00...
So it would look like this:
[TABLE="width: 471"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: left"]Start Time[/TD]
[TD="align: left"]End Time[/TD]
[TD="align: left"]Condition[/TD]
[TD="align: left"]Time difference[/TD]
[/TR]
[TR]
[TD="align: right"]10/7/17 5:43 PM[/TD]
[TD="align: right"]5/17/18 3:19 PM[/TD]
[TD="align: left"]Open[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11/9/17 5:19 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Closed[/TD]
[TD="align: left"]07:06:21:59:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/2/18 4:11 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Closed[/TD]
[TD="align: left"]03:15:23:07:00[/TD]
[/TR]
[TR]
[TD="align: right"]4/20/18 3:39 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Open[/TD]
[TD="align: right"]0
[/TD]
[/TR]
</tbody>[/TABLE]
The formula I am using to calculate the time difference is: =IF(C4="Closed", (TEXT(B4-A4,"MM:DD:hh:mm:ss")),0)
So now what I want to do is calculate the average time difference to not include the 0's
Any ideas?
Hoping someone has a simple solution or direction to offer. The question is this: I have two columns of date data consisting of dd/mm/yy hh:mm:ss. One column is a start time the second is end time. I am calculating the time difference across the row just fine, with a condition that a specific value is present in a third cell in that row. If the specific value is not present, the time calculation result is 0:00:00.
What I am now having troubles with is calculating the average time calculated down the entire column while skipping cells with 0:00:00...
So it would look like this:
[TABLE="width: 471"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD="align: left"]Start Time[/TD]
[TD="align: left"]End Time[/TD]
[TD="align: left"]Condition[/TD]
[TD="align: left"]Time difference[/TD]
[/TR]
[TR]
[TD="align: right"]10/7/17 5:43 PM[/TD]
[TD="align: right"]5/17/18 3:19 PM[/TD]
[TD="align: left"]Open[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11/9/17 5:19 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Closed[/TD]
[TD="align: left"]07:06:21:59:00[/TD]
[/TR]
[TR]
[TD="align: right"]3/2/18 4:11 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Closed[/TD]
[TD="align: left"]03:15:23:07:00[/TD]
[/TR]
[TR]
[TD="align: right"]4/20/18 3:39 PM[/TD]
[TD="align: right"]5/17/18 3:18 PM[/TD]
[TD="align: left"]Open[/TD]
[TD="align: right"]0
[/TD]
[/TR]
</tbody>[/TABLE]
The formula I am using to calculate the time difference is: =IF(C4="Closed", (TEXT(B4-A4,"MM:DD:hh:mm:ss")),0)
So now what I want to do is calculate the average time difference to not include the 0's
Any ideas?