[TABLE="class: grid, width: 801"]
<tbody>[TR]
[TD]Now[/TD]
[TD]Last Sat @ 1PM (B2)[/TD]
[TD]Last Sun EOD (C2)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]2/8/2019 15:11[/TD]
[TD="align: right"]2/2/2019 13:00[/TD]
[TD="align: right"]2/3/19 11:59 PM[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Actual Start[/TD]
[TD]Actual End[/TD]
[TD]Calc Start[/TD]
[TD]Calc End[/TD]
[/TR]
[TR]
[TD="align: right"]2/1/2019 08:00[/TD]
[TD="align: right"]2/2/2019 14:00[/TD]
[TD="align: right"]2/1/2019 08:00[/TD]
[TD="align: right"]2/2/2019 13:00[/TD]
[/TR]
[TR]
[TD="align: right"]2/3/2019 16:00[/TD]
[TD="align: right"]2/4/2019 08:00[/TD]
[TD="align: right"]2/3/2019 23:59[/TD]
[TD="align: right"]2/4/2019 08:00[/TD]
[/TR]
[TR]
[TD="align: right"]2/1/2019 9:00[/TD]
[TD="align: right"]2/1/2019 17:00[/TD]
[TD="align: right"]2/1/2019 09:00[/TD]
[TD="align: right"]2/1/2019 17:00[/TD]
[/TR]
[TR]
[TD="align: right"]2/4/2019 9:00[/TD]
[TD="align: right"]2/4/2019 17:00[/TD]
[TD="align: right"]2/4/2019 09:00[/TD]
[TD="align: right"]2/4/2019 17:00[/TD]
[/TR]
</tbody>[/TABLE]
Calculations
B2
Code:
=FLOOR(NOW() -MOD(WEEKDAY(NOW(),1),7),1) +0.542
C2
Code:
=FLOOR(NOW() -(MOD(WEEKDAY(NOW(),1),7) -2),1) -0.0001
C4
Code:
=IF(A4 < FLOOR(NOW() -MOD(WEEKDAY(NOW(),1),7),1) +0.542,A4,IF(A4 < FLOOR(NOW() -(MOD(WEEKDAY(NOW(),1),7) -2),1) -0.0001,FLOOR(NOW() -(MOD(WEEKDAY(NOW(),1),7) -2),1) -0.0001,A4))
D4
Code:
=IF(B4 >FLOOR(NOW() -(MOD(WEEKDAY(NOW(),1),7) -2),1) -0.0001,B4,IF(B4>FLOOR(NOW() -MOD(WEEKDAY(NOW(),1),7),1) +0.542,FLOOR(NOW() -MOD(WEEKDAY(NOW(),1),7),1) +0.542,B4))
C4 & D4 were copied down
To get the difference use D4 - C4 which will give the result in daytime which can be formatted in hours