View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Complex overtime calculation

Post the two formulae and let's see if we can combine them.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kim DuBray" <Kim wrote in message
...
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.