Hi I am building a timesheet and I have become a bit stuck.
I have already got the timesheet to automatically calculate the number of hours once the start time and end time are entered(these cells are all in hh:mm format). The column which calculates the total time is AA4.
Then I have the following columns:
Wages rate: Y4
Ordinary total: AB4
Overtime total:AD4
After 38 hours we need to pay at the overtime rate, so I can't just multiply the total hours by their hourly rate.
I need two formulas that will
1. Work out ordinary hours: If the number of hours is less than or equal to 38 it will calculate the hours (up to 38) by the rate, but if it is greater than 38 it will just multiply the rate by 38 (giving maximum number of ordinary hours). (I have tried formulas along the lines of IF(AA4>38:00,(38:00*1)) but they all error and say invalid formula. I have done a similar formula on another spreadsheet, not sure if it is the time format that is causing the difficulties?
2. Work out overtime hours: Where the hours exceed 38, I need a formula that will calculate how many hours are greater than 38 and multiple these additional hours by the rate by time and a half.
Can someone help me I have been stuck on this for two weeks!
Cheers
Zoe
I have already got the timesheet to automatically calculate the number of hours once the start time and end time are entered(these cells are all in hh:mm format). The column which calculates the total time is AA4.
Then I have the following columns:
Wages rate: Y4
Ordinary total: AB4
Overtime total:AD4
After 38 hours we need to pay at the overtime rate, so I can't just multiply the total hours by their hourly rate.
I need two formulas that will
1. Work out ordinary hours: If the number of hours is less than or equal to 38 it will calculate the hours (up to 38) by the rate, but if it is greater than 38 it will just multiply the rate by 38 (giving maximum number of ordinary hours). (I have tried formulas along the lines of IF(AA4>38:00,(38:00*1)) but they all error and say invalid formula. I have done a similar formula on another spreadsheet, not sure if it is the time format that is causing the difficulties?
2. Work out overtime hours: Where the hours exceed 38, I need a formula that will calculate how many hours are greater than 38 and multiple these additional hours by the rate by time and a half.
Can someone help me I have been stuck on this for two weeks!
Cheers
Zoe