Hi there,
Given a time (fist column START, second column END:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]START[/TD]
[TD]END[/TD]
[TD]"NIGHT TIME" (HOURS)[/TD]
[/TR]
[TR]
[TD]04:00[/TD]
[TD]23:30[/TD]
[TD]2,5[/TD]
[/TR]
[TR]
[TD]14:00[/TD]
[TD]01:00[/TD]
[TD]3,0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to get the "NIGHT TIME", that is the time not between 05:00 and 22, or, in other words, thats from 0:00 to 5:00, and from 22:00 to 24:00.
In the first example the the formula must return 2,5 hours (1 hour from 4:00 to 5:00 + 1,5 hour from 22:00 to 23:30.
In the second excample the formula must return 3,0 hours (from 22:00 to 01:00).
This is possible by formula?
Need help.
Thanks.
Given a time (fist column START, second column END:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]START[/TD]
[TD]END[/TD]
[TD]"NIGHT TIME" (HOURS)[/TD]
[/TR]
[TR]
[TD]04:00[/TD]
[TD]23:30[/TD]
[TD]2,5[/TD]
[/TR]
[TR]
[TD]14:00[/TD]
[TD]01:00[/TD]
[TD]3,0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I need to get the "NIGHT TIME", that is the time not between 05:00 and 22, or, in other words, thats from 0:00 to 5:00, and from 22:00 to 24:00.
In the first example the the formula must return 2,5 hours (1 hour from 4:00 to 5:00 + 1,5 hour from 22:00 to 23:30.
In the second excample the formula must return 3,0 hours (from 22:00 to 01:00).
This is possible by formula?
Need help.
Thanks.
Last edited: