Hi:
I need a formula that will calculate time for me for employees. I have most of it figured out, but what I need it to do is if the time total is over 8 hours to leave the regulat time at 8 and put the rest of it in the over time column.
It seems can be open,Please help upload again:-)
in g20
=MIN(8,((F20-C20-(E20-D20))*24))
in g21
=((F20-C20-(E20-D20))*24)-G20
format cells as general
this gives real hours which can be used in calculations
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Thanks guys, worked like a champ!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks