I am completely failing to understand the question.
Quote
Sheet Tables - list all the values for each designation
Designation 1 - Normal =a, Ot1.5 =b
Designation 2 - Normal =c, Ot1.5 =d
Where we tried it for example.
a,b = 24 (total hrs)
c,d = 24 (total hrs)
Is my understanding clear?
I am testing it as below example where initially the break deduction was not highlighted.
I don't understand.
We don't have a or b, nor c or d, we have:
Driver
Tech
We don't have a single "24" in all the sheet, we never talked about break deduction.
This is more understandable (maybe):
Quote
Example:
7:30 to 18:30, then total hrs =11
If designation 1 weekday
Add /assign 8hrs to basic, deduct 1hrs for break, Add /assign 2hrs to OT1.5
If designation 1 sat
Add /assign 4hrs to basic, deduct 1hrs for break, Add /assign 6hrs to OT1.5
If designation 1 Sunday
Add /assign 0hrs to basic, deduct 1hrs for break, Add /assign 10hrs to OT2.0
As I understand it:
Designation 1 (Driver?) is payed:
- on weekdays up to 8 hours "standard" rate, everything above 8 hrs as "overtime" (conventionally OT 1.5)
- on saturdays up to 4 hours "standard" rate, everything above 4 hrs as "overtime" (conventionally OT 1.5)
- on sundays and public holidays anything is payed as "holiday overtime" (conventionally OT 2.0)
The deduction for break does not makes sense to me, at least in this case:
Quote
If designation 1 Sunday
Add /assign 0hrs to basic, deduct 1hrs for break, Add /assign 10hrs to OT2.0
This would mean that if the driver works 2 hours on sunday morning, from, say, 10.00 to 12.00 he is payed one hour only.
Isn't there a limit to the total amount of hours per day?
Is it 10 hours per day?
Or there is an "overtime beyond limit per day" (conventionally OT 3.0)?
Isn't the break deduction tied to a minimum amount of hours worked in the given day?
Or there is a minimum of worked hours per day (say 7 hours per day minimum)?
As I visualize the sheet, the "main" condition is if the given amount of hours have been worked in either of three cases:
- workday
- saturday
- sunday or holiday
once decided which day is it, the Vlookup simply searches in the corresponding designation table what should be paid.
I.E., and with reference to the "Demo_revised.xls" :
in sheet VLOOKUP_example you insert between Columns B and C whatever formulas/methods to transform the "TIme in" and "Time Out" in "Total Hours" AND decide whether it is weekday, saturday or sunday.
Thus the total hours in Column C become the result of the above.
In the "Normal" and following columns you EITHER:
make a VLOOKUP to three different tables, i.e. instead of a sheet called "Tables" to three sheets called "Table_workdays", "Table_saturdays", "Table_holydays"
Or you make a "cumulative condition".
Example:
Say that "designation" equals to "Driver" and that the given day is a "weekday", you "concatenate" the condition, i.e. the lookup value becomes either:
- Driver_weekday
- Driver_saturday
- Driver_sunday
this way you have a single "Tables" sheet.
Give me a few minutes, and I'll post an example of the above.
jaclaz
This post has been edited by jaclaz: 09 September 2009 - 08:11 AM