Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Need help adjusting formula on time sheet

I am using this formula to show OT hours worked based off N21 being the total hours for the day. It needs to use the DUR2HOURS or it doesn't work properly.


=MAX(DUR2HOURS(N21)-8, 0)


I have another cell to calculate double over time, which is anything after 12 hours.


How can I adjust the above formula to show the OT hours but not the DOT hours?


Thanks in advance for any help!!!

MacBook

Posted on Dec 9, 2013 3:13 PM

Reply
2 replies

Dec 9, 2013 3:54 PM in response to pinkwaves013

PW,


I would normally not like to perpetuate a double post, but I think I can be concise here.


Here's what I think would cover all three cases; Standard Pat, Overtime and Double overtime.

User uploaded file

The expressions are:

Standard Pay...

=DUR2HOURS(MIN(A, "8h"))


OverTime...

=DUR2HOURS(MIN(MAX("0h", A−"8h"), "4h"))


Double OverTime...

=DUR2HOURS(MAX("0h", A−"12h"))


Jerry

Need help adjusting formula on time sheet

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.