K
Kim DuBray
I'm trying to figure out how to do an overtime calculation for Calif. On the
seventh consecutive workday, (provided all of the previous six days have at
least one hour worked) the overtime hours are 8 and the remaining hours
worked are paid at double time. However, if any of the previous 6 workdays
have 0 hours worked then the calculation is to pay the difference between 40
and the total reg hours for the week as regular, the next 4 hours as ot and
any additiional as double time.
I've created the two scenarios as separate functions, but can't figure out
how to combine them into one formula.
seventh consecutive workday, (provided all of the previous six days have at
least one hour worked) the overtime hours are 8 and the remaining hours
worked are paid at double time. However, if any of the previous 6 workdays
have 0 hours worked then the calculation is to pay the difference between 40
and the total reg hours for the week as regular, the next 4 hours as ot and
any additiional as double time.
I've created the two scenarios as separate functions, but can't figure out
how to combine them into one formula.