Hi
I have a table where $M11=IF(AND($K$3="CASUAL",$F11<TIMEVALUE("02:00"),$F11>TIMEVALUE("00:00")),"02:00",$F11)
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]F[/TD]
[TD]I[/TD]
[TD]L[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]shift time[/TD]
[TD]break[/TD]
[TD]break[/TD]
[TD]total paid[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]8:30[/TD]
[TD]0:30[/TD]
[TD]0:15[/TD]
[TD]7:45[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]1:45[/TD]
[TD][/TD]
[TD][/TD]
[TD]2:00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]K3 "CASUAL"[/TD]
[/TR]
</tbody>[/TABLE]
So all is good if the shift is less than 2hrs then the total paid is increased to 2hrs.
Any shift can be recorded on any row. so I need to be able to also deduct breaks from the total.
Can anyone guide me on how I can add the sum SUM(F11-I11-L11) to the formula above in M11:M50
Super appreciate your help.
I have a table where $M11=IF(AND($K$3="CASUAL",$F11<TIMEVALUE("02:00"),$F11>TIMEVALUE("00:00")),"02:00",$F11)
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]F[/TD]
[TD]I[/TD]
[TD]L[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]shift time[/TD]
[TD]break[/TD]
[TD]break[/TD]
[TD]total paid[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]8:30[/TD]
[TD]0:30[/TD]
[TD]0:15[/TD]
[TD]7:45[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]1:45[/TD]
[TD][/TD]
[TD][/TD]
[TD]2:00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]K3 "CASUAL"[/TD]
[/TR]
</tbody>[/TABLE]
So all is good if the shift is less than 2hrs then the total paid is increased to 2hrs.
Any shift can be recorded on any row. so I need to be able to also deduct breaks from the total.
Can anyone guide me on how I can add the sum SUM(F11-I11-L11) to the formula above in M11:M50
Super appreciate your help.