J
Jan Kronsell
I have a spreadsheet with three columns, In colum A I have Start time in
hours and minutes and in column B I have the End time in hours and minutes.
In column C I calculate Spend time. This works perfectly OK.
Now I need a fourthand fifth column. In this I need to calculate how much of
my Spend time, lies with in the interval 06:00 to 17:00 (six AM to 5 PM).
and how much lies outside
Start time can be anywhere between 00:00 ands 23:59, and the same goes for
End time.
Examples
Start time: End time: Spend time
Within the interval Outside the interval
08:00 16:00 8:00
8:00 0:00
09:15 18:00 8:45
7:45 1:00
03:00 12:00 9:00
6:00 3:00
05:00 20:00 15:00
11:00 4:00
18:00 07:00 13:00
1:00 12:00
Any ideas how to accomplish this this?
Jan
hours and minutes and in column B I have the End time in hours and minutes.
In column C I calculate Spend time. This works perfectly OK.
Now I need a fourthand fifth column. In this I need to calculate how much of
my Spend time, lies with in the interval 06:00 to 17:00 (six AM to 5 PM).
and how much lies outside
Start time can be anywhere between 00:00 ands 23:59, and the same goes for
End time.
Examples
Start time: End time: Spend time
Within the interval Outside the interval
08:00 16:00 8:00
8:00 0:00
09:15 18:00 8:45
7:45 1:00
03:00 12:00 9:00
6:00 3:00
05:00 20:00 15:00
11:00 4:00
18:00 07:00 13:00
1:00 12:00
Any ideas how to accomplish this this?
Jan