Hi all
I would like to calculate Time-in - Time-out and if there is less than a 9 hour difference, highlight the cells. In the example below B4:B5 & C2:C3 would be highlighted.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[/TR]
[TR]
[TD]08:00[/TD]
[TD]18:00[/TD]
[TD]09:00[/TD]
[TD]22:00[/TD]
[TD]06:00[/TD]
[TD]17:00[/TD]
[/TR]
[TR]
[TD]12:00[/TD]
[TD]23:00[/TD]
[TD]07:00[/TD]
[TD]16:00[/TD]
[TD]10:00[/TD]
[TD]19:00[/TD]
[/TR]
</tbody>[/TABLE]
I would like to calculate Time-in - Time-out and if there is less than a 9 hour difference, highlight the cells. In the example below B4:B5 & C2:C3 would be highlighted.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[TD]Time-in[/TD]
[TD]Time-out[/TD]
[/TR]
[TR]
[TD]08:00[/TD]
[TD]18:00[/TD]
[TD]09:00[/TD]
[TD]22:00[/TD]
[TD]06:00[/TD]
[TD]17:00[/TD]
[/TR]
[TR]
[TD]12:00[/TD]
[TD]23:00[/TD]
[TD]07:00[/TD]
[TD]16:00[/TD]
[TD]10:00[/TD]
[TD]19:00[/TD]
[/TR]
</tbody>[/TABLE]