I have attached an example of a worksheet which I have been developing for the purpose of assisting in getting a weekly payroll right.
The basis is
Any hours over 8 and up to 10 monday to Fri are time and a half - any hours after 10 are at double monday to fri
on Sat the fist 2 hours are time and a half the rest are at double
Sunday - all hours at double
The existing code in 32 and 33 work wonderfully well providing that work happens each day monday to fri but if your look at the Row f32 you can see the problem. the code puts the figure into negative.
Because he was sick on one day and had an RDO on the other - the result is -14 - this should show 2 [because of the 2hours on Saturday]
Any suggestions on how to fix this please
Bookmarks