Hi All,

I have a timesheet of which I am trying to calculate, here goes:-

In our business we have flat rate (8hrs working Monday - Friday),Time & Third rate (weekdays after 8 hours), Time & Half rate (Saturday working) & Double Time Rate (Sunday working).

I want to calculate the total hours into each separate box so I can then add a rate ie

Example

An engineer was working on a Monday and he worked 10:00 hours , 8 of those hours would be at a flat rate and 2 hours would be at time and a third rate. What is the calculation.

I currently have on my layout

Total Hours (which is a calculation of start time and finish time) this works!

Field: Flat Hours

Field: T 1/3 Hours

Field: T 1/2 Hours

Field: Double Time Hours

Any Ideas?

HI Chris,

So to recap, you have:

rate 1 : mo-fr, first 8 h, 100 %

rate 2 : mo-fr, >8h; 133%

rate 3 : sat, 150%

rate 4 : sun, 200%

You would like to know how much hours of every rate a person totalizes per given day or week, moth etc.

Correct?

If yes, I would solve it like this:

Assuming you have:

- 1 field called total hours that returns the total hours worked on a given day

- one called day wich is returning the day number

- you're calculating on a per day basis.

rate 1 = total hours if not greater then 8 and weekday not greater than 5

rate 2 = if total hours is bigger then 8 and weekday not greater than 5, total hours - 8

rate 3 = if weekday = 6 ; total hours

rate 4 = if weekday = 7 ; total hours

Use the

if()orcase()functions.If you don't have the fields like stated above, you can use variables with the

let()function.Got it?

I can't tell if it's the best or easiest way but it's probably how i would do it.