pay schedules
making schedules in the numbers App.
Currently i am using the formula below to get a total hrs worked per day and subtracting a 30minute break when hours worked is over 5hrs
C=End time
B=Start time
C−B+IF(C−B>DURATION(,,5),−DURATION(,,,30))
The problem i am having is when the hrs worked is under 5 hrs the answer shows as a number rather than duration of time. (it automatically removes duration) says the formula uses a boolean in place of a number. When hrs worked is over 5 hrs it subtracts 30 minutes but shows total hrs worked as duration not a number.
because some numbers are duration of time and some are regular numbers, when i try to total the hrs per week it obviously gives me an error
Furthermore i need it to give me a total hrs per day if 8 hrs or less and in a different cell give me the total of any hrs worked over 8hrs.
example
If employee #1 worked 8hr + 8hrs + 9hrs
I need the results to show
regular hrs
24 hrs
Overtime hrs
1hr
hope someone can help?
MacBook Air