DanAnderton
New Member
- Joined
- Sep 22, 2017
- Messages
- 16
Hi there,
I'm working on a staff register and would like to calculate the total hours worked, my problem is I want the start and end of the shift to be in the same cell, I'd also like to deduct break time (as we don't get paid for breaks). Here's an example of what I'm looking for:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Total Hours[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[/TR]
[TR]
[TD]Jon Doe[/TD]
[TD]15[/TD]
[TD]7am - 4pm
1.5 hour break[/TD]
[TD]7am - 4pm
1.5 hour break[/TD]
[/TR]
</tbody>[/TABLE]
Any ideas on how I can do this? I've seen a template out there that does exactly this, but I'd like to build on the concept to calculate total hours worked Mon - Sat differently to Sunday.
Any help would be greatly appreciated.
I'm working on a staff register and would like to calculate the total hours worked, my problem is I want the start and end of the shift to be in the same cell, I'd also like to deduct break time (as we don't get paid for breaks). Here's an example of what I'm looking for:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Total Hours[/TD]
[TD]Monday[/TD]
[TD]Tuesday[/TD]
[/TR]
[TR]
[TD]Jon Doe[/TD]
[TD]15[/TD]
[TD]7am - 4pm
1.5 hour break[/TD]
[TD]7am - 4pm
1.5 hour break[/TD]
[/TR]
</tbody>[/TABLE]
Any ideas on how I can do this? I've seen a template out there that does exactly this, but I'd like to build on the concept to calculate total hours worked Mon - Sat differently to Sunday.
Any help would be greatly appreciated.