Forum

Notifications
Clear all

Calculating overtime for workers

4 Posts
2 Users
0 Reactions
62 Views
(@seamon1)
Posts: 2
New Member
Topic starter
 

I would like to make a formula stating below:
worker finishes work at 18:00, 
after 18:25, we give half an hour OT
after 18:45, we give 1 hour OT
I also need to take into account some workers might work a few hours OT,

therefore if he finishes work 19:25, I need excel to show 1hr30minutes (1:30)OT

20:45 will be 2 hours (2:00)and so on.
Is this possible? 
Thanks a lot.

 
Posted : 15/03/2019 11:26 pm
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Sim Che

You can try putting the values into a table and do a VLOOKUP to get the OT hours entitlement.

See example attached.

Hope this helps.

Sunny

 
Posted : 16/03/2019 12:22 am
(@seamon1)
Posts: 2
New Member
Topic starter
 

Thanks for your help. Unfortunately, this only applies to the ones listed on the table, it's hard to list all of them since worker finish work at all sort of times like 18:26, 18:27 etc... I will need a formula stating after every hour :25 is half an hour, but will also need to add the extra hours if more than 1 hour.

Thanks.

 
Posted : 16/03/2019 12:33 am
(@sunnykow)
Posts: 1417
Noble Member
 

Maybe this:

=MROUND(EndTime-TIME(18,0,0),"0:30")

Where EndTime is the time the worker finish work.

If this doesn't work then perhaps you could attach a file with various scenarios of end time and the expected OT hours.

Good luck

Sunny

 
Posted : 16/03/2019 2:11 am
Share: