Hi,
We use Excel for our timesheet. The formulas work well, except for the PTO (Paid Time Off). We can't get it to add to total hours without adding to regular.
Here are the forumulas:
Total Hours: =ROUND(IF((OR(B16="",C16="")),0,IF((C16< b16),((c16-b16)*24)+24,(c16-b16)*24))+if((or(e16="",f16="")),0,if((f16< e16),((f16-e16)*24)+24,(f16-e16)*24)),2)
Reg Hours: =IF(G16>=8,8,G16)
OT Hours: =IF(((C16-B16)+(F16-E16))*24>8,((C16-B16)+(F16-E16))*24-8,0)
our headers look like this:
<tbody>
[TD="class: xl67"]Date[/TD]
[TD="class: xl67"]Time
In[/TD]
[TD="class: xl67, width: 89"]Time
Out[/TD]
[TD="class: xl68, width: 64"][/TD]
[TD="class: xl67, width: 89"]Time
In[/TD]
[TD="class: xl67, width: 78"]Time
Out[/TD]
[TD="class: xl67, width: 78"]Total
Hrs[/TD]
[TD="class: xl67, width: 64"]Reg Hrs[/TD]
[TD="class: xl67, width: 82"]OT[/TD]
[TD="class: xl67, width: 82"]PTO[/TD]
</tbody>
Goals:
total hours equal reg hrs, ot and pto
reg hours never exceed 8 hours
reg hours do not include pto
entering the time adds to total and reg hours
ot is auto populated when entering time.
Any suggestions?
Rick
We use Excel for our timesheet. The formulas work well, except for the PTO (Paid Time Off). We can't get it to add to total hours without adding to regular.
Here are the forumulas:
Total Hours: =ROUND(IF((OR(B16="",C16="")),0,IF((C16< b16),((c16-b16)*24)+24,(c16-b16)*24))+if((or(e16="",f16="")),0,if((f16< e16),((f16-e16)*24)+24,(f16-e16)*24)),2)
Reg Hours: =IF(G16>=8,8,G16)
OT Hours: =IF(((C16-B16)+(F16-E16))*24>8,((C16-B16)+(F16-E16))*24-8,0)
our headers look like this:
<tbody>
[TD="class: xl67"]Date[/TD]
[TD="class: xl67"]Time
In[/TD]
[TD="class: xl67, width: 89"]Time
Out[/TD]
[TD="class: xl68, width: 64"][/TD]
[TD="class: xl67, width: 89"]Time
In[/TD]
[TD="class: xl67, width: 78"]Time
Out[/TD]
[TD="class: xl67, width: 78"]Total
Hrs[/TD]
[TD="class: xl67, width: 64"]Reg Hrs[/TD]
[TD="class: xl67, width: 82"]OT[/TD]
[TD="class: xl67, width: 82"]PTO[/TD]
</tbody>
Goals:
total hours equal reg hrs, ot and pto
reg hours never exceed 8 hours
reg hours do not include pto
entering the time adds to total and reg hours
ot is auto populated when entering time.
Any suggestions?
Rick
Last edited by a moderator: