Unpaid break deduction formula

gotchamehdi

New Member
Joined
Feb 22, 2021
Messages
5
Platform
  1. MacOS
Hi All,

I am after a formula that can deducted break from working hours

  • Employees who work more than six hours are entitled to a 30 minute break and if they work more than 8 hours they are entitled to another 30 min.
  • A=start time
  • B=finishing time
  • Total hours -break ...

Many thanks in advance
 

gotchamehdi

New Member
Joined
Feb 22, 2021
Messages
5
Platform
  1. MacOS
That's exactly what my formula is doing. See sample results in my table in Post #5

If I'm misunderstanding your requirements, please explain again.
I found it: B2-A2)-IF((B2-A2)<=0.25,0,IF((B2-A2)>1/3,TIME(1,0,0),TIME(0,30,0)))
Slight change on the = sign
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
6,007
Office Version
  1. 2016
Platform
  1. Windows
Ok, I see, glad you fixed it.
 

Sulprobil

Board Regular
Joined
May 12, 2020
Messages
161
I suggest to look at this from working time point of view. After 5:59 this is still your full working time, but after 6:00 all of a sudden you have worked just 5:30?
A fairer approach seems to be subtracting only the time BEYOND 6:00 up to 0:30. For 6:00 you don't subtract anything, for 6:01 you subtract 0:01, ..., for 6:29 you subtract 0:29, but after that it's 0:30.
See Calculate Response time using different working hours during the week and excluding weekends / bankholidays for a suggested solution with a parameter for multiple breaks.
 

Forum statistics

Threads
1,144,611
Messages
5,725,304
Members
422,608
Latest member
bswg5882

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top