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
 
is a bank holiday paid different then a sunday ?

What happens if you work overnight and one of the 2 days is a bank holiday.
Is it until midnight rate1 and after midnight rate2 ?
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Bank holidays are different rates then Sundays
what ever the rate is at the start of the shift is what it is for the whole shift o if you worked a sunday night into a bank holiday monday then SUNDAY PAY for whole shift
 
Upvote 0
overtime with holidays
overtime-New Year.xlsb
ABCDEFGHIJKLMNOPQRST
1DateStartFinishHolidayTotal_BreakTotalStd Rate HrsO/T Rate HoursNight Bonus Total Pay Std Rate Payment O/T Rate payment Night Rate Payment Break +/-Hrs Be- fore Over Time check check3 week numberDay or Total
2zo 27/03/2200:0000:0000:0000:0000:0000:00£-£-£-£-0:4545:00 - - wk_22.03.27D
3ma 28/03/2200:0000:0000:0000:0000:0000:00£-£-£-£-0:4545:00 - - wk_22.03.27D
4di 29/03/228:0018:00Holyday10:0000:4509:1509:1500:0000:00£277,50£277,50£-£-0:4545:00£30,00 - wk_22.03.27D
5wo 30/03/2200:0000:0000:0000:0000:0000:00£-£-£-£-0:4545:00 - - wk_22.03.27D
Data
Cell Formulas
RangeFormula
E2:E5E2=IF(COUNT(B2:C2)=2,C2-B2+(B2>C2),0)
F2:F5F2=MIN(MAX(0,E2-TIME(8,45,0)),O2)
G2:G5G2=MAX(TIME(8,0,0),+E2-F2)*(E2>0)
H2:H5H2=MAX(0,MIN(G2,P2-SUMIF($S$1:S1,S2,$H$1:$H1)))
I2:I5I2=+G2-H2
J2:J5J2=IF(E2>0,IF(B2<C2,MAX(0,TIME(4,0,0)-B2)+MAX(0,C2-TIME(23,0,0)),MAX(0,MIN(TIME(4,0,0),C2)+1-MAX(TIME(23,0,0),B2))),0)
K2:K5K2=SUM(L2:N2)
L2:L5L2=24*$H2*VLOOKUP(IF(D2<>"",D2,WEEKDAY($A2,2)),Tabel1,3,1)
M2:M5M2=24*$I2*VLOOKUP(IF(D2<>"",D2,WEEKDAY($A2,2)),Tabel1,4,1)
N2:N5N2=J2*1*24
Q2:R5Q2=IFERROR(+L2/H2/24,"-")
S2:S5S2=IF(A2="",S1,"wk_"& TEXT(A2-WEEKDAY(A2)+1,$AH$1))
T2:T5T2=IF(A2="","T","D")
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:D480Expression=$D2<>""textYES
A2:S480Expression=EN($A2<>"";MEDIAAN(DATUM(JAAR($A$2);4;1);DATUM(JAAR($A$2)+1;3;31);$A2)<>$A2)textNO
E2:J480Expression=$E2<>$F2+$H2+$I2textYES
A2:S480Expression=EN($A2<>"";REST(RIJ($A2);2)=0)textNO
E2:J480,L2:N480Expression=EN($A2<>"";E2=0;1)textNO
Cells with Data Validation
CellAllowCriteria
O2:O424List=$AC$2:$AC$3
P2:P424List=$AE$2:$AE$4
B2:C424Whole numberbetween 0 and 1
D2:D442ListHolyday;
 
Upvote 0
except for that typo "holyday" in the data-validation in the D-column ...
You're welcome.
 
Upvote 0
I already fixed that... lol it is a fine piece of work many thanks the holiday bit was not what i expected i didn't explain properly but it will work fine.
what i was after was in the UK we have about eight public holidays a year mainly on a monday but they can change because they are built into out calender i wanted to be able to change the year and the bank holidays auto change as well with less user input but the way you did it will work fine so thankyou
 
Upvote 0
Been using the spread sheet and it works out my income great. But to make it more viable it would be great to be able to deduct TAX and NI etc to give a NET income
have tried to make it myself but getting lost with the formula's here is the link to the file
if its too big a task let me know it's just you have been great with the construction of it so far
 
Upvote 0
There are specialized firms that does this kind of calculations, because there are always exceptions to certain rules ... .
I can give you an estimate without guarantee that it'll be correct !

You added 3 sheets, but i prefer you add the formulas for 1 week or give an explanation how i have to use those data because, in general, tax-calculations are too much labor ... .
 
Upvote 0
On the information page I have put explanation of how the sum is done and have put comments on the wage sheet as these figures are correct from a pay slip. If you need any specific answer please let me know
 
Upvote 0
that's great, but i'm not going to read everything.
If you explain every cell, that's another story.
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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