Arvi - Thank you for the help. Works great. I know just enough to be
dangerous, not enough to always be productive.
Fast Eddie
"Arvi Laanemets" wrote:
Hi
What do you really have in B28? Total hours? Then I don't unerstand your
first formula at all!
Let's try it.
In B28 you have total hours. When the number of regular hours in week is 40
or less, then you calculate them as
=MIN(40,B28)
and overtime hours as
=MAX(0,B28-40)