I have a large data set where I need to find the average difference between two rows, but need to exclude the columns where either cell in the two rows is blank. For example here are just a few columns:
[TABLE="width: 864"]
<colgroup><col span="8"></colgroup><tbody>[TR]
[TD="align: right"]23:10:00 +00
[/TD]
[TD="align: right"]02:03:00 +01[/TD]
[TD][/TD]
[TD="align: right"]01:44:00 +01[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]22:04:00 +00[/TD]
[/TR]
[TR]
[TD="align: right"]23:18:00 +00
[/TD]
[TD="align: right"]02:10:00 +01[/TD]
[TD="align: right"]00:14:00 +01[/TD]
[TD="align: right"]01:51:00 +01[/TD]
[TD][/TD]
[TD="align: right"]01:45:00 +01[/TD]
[TD="align: right"]00:35:00 +01[/TD]
[TD="align: right"]22:10:00 +00[/TD]
[/TR]
</tbody>[/TABLE]
I need to find the average difference between the two rows, but where there is data missing (for example on the third column, there is only a second value but the first is missing, the fifth column is completely blank), I want excel to completely ignore those two columns and not include any part of it in the average.
What formula(s) do I use in order to achieve this?
Any help would be much appreciated!
[TABLE="width: 864"]
<colgroup><col span="8"></colgroup><tbody>[TR]
[TD="align: right"]23:10:00 +00
[/TD]
[TD="align: right"]02:03:00 +01[/TD]
[TD][/TD]
[TD="align: right"]01:44:00 +01[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]22:04:00 +00[/TD]
[/TR]
[TR]
[TD="align: right"]23:18:00 +00
[/TD]
[TD="align: right"]02:10:00 +01[/TD]
[TD="align: right"]00:14:00 +01[/TD]
[TD="align: right"]01:51:00 +01[/TD]
[TD][/TD]
[TD="align: right"]01:45:00 +01[/TD]
[TD="align: right"]00:35:00 +01[/TD]
[TD="align: right"]22:10:00 +00[/TD]
[/TR]
</tbody>[/TABLE]
I need to find the average difference between the two rows, but where there is data missing (for example on the third column, there is only a second value but the first is missing, the fifth column is completely blank), I want excel to completely ignore those two columns and not include any part of it in the average.
What formula(s) do I use in order to achieve this?
Any help would be much appreciated!