is it possible

HappyChappy

Active Member
Joined
Jan 26, 2013
Messages
383
Office Version
  1. 2019
  2. 2010
  3. 2007
Platform
  1. Windows
Exel.xlsx
ABCDEFGHIJK
1JanuaryHours WorkedTotal HoursTotal Pay
2Sunday30/01/202200:0000:0000:000:00 
3Monday31/01/202210:0020:0010:009:15£92.50
4Tuesday01/02/202210:0020:0010:009:15£92.50
5Wednesday02/02/202210:0020:1510:159:30£95.00
6Thursday03/02/202210:0014:0004:004:00£80.00
7Friday04/02/202210:0020:0010:009:15£92.50
8Saturday05/02/202210:0016:0006:006:00£120.00
9
10
11RATES
12£10.00Standard RateMin 8 hrs paid as in G6 once 48 is reached Overtime kicks in to all paymnts
13£15.00O/Time Rate
14£12.00Saturday Rate
15£18.00Saturday O/Time Rate
16£15.00Sunday Rate
17£22.00Sunday O/Time Rate
18
Jan-22
Cell Formulas
RangeFormula
E2:E8E2=D2-C2
F2:F8F2=IF(E2>TIME(8,0,),E2-TIME(0,45,0),E2)
G2G2=IF(F2=0,"",MAX(Data!$B$44,F2*24)*$A$14)
G3:G7G3=IF(F3=0,"",MAX(Data!$B$44,F3*24)*$A$12)
G8G8=IF(F8=0,"",MAX(Data!$B$44,F8*24)*$A$16)
B3:B8B3=B2+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D2:D3Cell Value>0textNO
D2:D3Cell Value>0textNO
D2:D3Cell Value>0textNO
D2:D3Cell Value>0textNO
D2:D3Cell Value>0textNO
D2:D3Cell Value>0textNO
C2:D10Cell Value>0textNO



Trying to work out how to build in hours work over 48 at overtime rate. The sheet can work out minimum hours works of 8hr also breaks of 45 mins need to be factored in once 8:45 is reached
i hope i have pasted the mini sheet correctly as it's my first attempt at this thank you
 
entered friday straight 8 hour shift no extras should be 8 hrs x £18 but as you can see it's not quite right.
 

Attachments

  • Screenshot 2022-06-13 062557.jpg
    Screenshot 2022-06-13 062557.jpg
    141.5 KB · Views: 7
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
version2
an type-error, once a 1 instead of i, visual almost the same but a world of difference !
Each time you change something in the columns A-D, the macro is executed.
If you have doubts, you can also lance the macro with CTRL+l (character L)
 
Upvote 0
thats is correct great but Saturday all day and night is flat £22 per hour
Sunday is all day and night is flat £30 per hour
Bank Holiday is all day and night flat £31 per hour
Table 6 needs to be adjusted to take this into account
 
Upvote 0
just notice line 95 the friday input should show only std payment as the eight hours falls between 06:00 and 18:00 so no overtime rate should incur.
 
Upvote 0
my day started at 8:00 instead of 6:00 and those prices are added. See link here above.(#122)
You can delete the screenshot with your hours from #121
 
Upvote 0
Solution

just entering data to spread sheet and noticed that on line 75
the 30 min break is deducted from the o/time rate not the standard rate std should be £103.50 and o/time £38
 
Upvote 0
Just realised I took .45 mins off the std rate not .30 which it should have been in this instance
 
Upvote 0
so it's okay
11:30 - 18:00 = 6:30 normal hours
18:00 - 19:30 = 1:30 night hours until achieve the max 8 hours before break
19:30 - 20:00 = 0:30 pauze after 8 hours work (break starts 8 hours after start, so it can fall in the day or in the night or in both depending the situation).
so break is 11:30+8:00 = from 19:30 for 45 minutes = 20:15
 
Upvote 0
Maybe it just be but I think the break which is taken generally around 4.5 hours into a shift is deducted at std rate £18 any time which goes into night rate or overtime is paid at a higher rate and should be left alone does that make sense
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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
Back
Top