#1   Report Post  
Posted to microsoft.public.excel.misc
Donald
 
Posts: n/a
Default payroll hours


Using military time, how do I create a formula that totals the hours as
10 being regular hours 10 to 12 being OT and 12 and beyond as double
time, with a half hour taken out for lunch.

in time out time reg OT DT

2000 0930 10 2 1


--
Donald
------------------------------------------------------------------------
Donald's Profile: http://www.excelforum.com/member.php...o&userid=15171
View this thread: http://www.excelforum.com/showthread...hreadid=492991

  #2   Report Post  
Posted to microsoft.public.excel.misc
Roger Govier
 
Posts: n/a
Default payroll hours

Hi Donald

With Time in in A, and Time out in B

C1=MIN(10,((MOD(B2-A2,1)-TIME(0,30,0))*24))
D1=MIN(2,(((MOD(B2-A2,1)-TIME(0,30,0))*24)-10))
E1=((MOD(B2-A2,1)-TIME(0,30,0))*24)-D2-E2
Format cells C1:E1 as General

Regards

Roger Govier


Donald wrote:
Using military time, how do I create a formula that totals the hours as
10 being regular hours 10 to 12 being OT and 12 and beyond as double
time, with a half hour taken out for lunch.

in time out time reg OT DT

2000 0930 10 2 1


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding rows of hours and minutes to get a total Tipps Excel Worksheet Functions 1 November 4th 05 07:03 PM
How do I calculate total weekly hours for payroll in Excel? laura6201 Excel Discussion (Misc queries) 1 September 14th 05 04:03 PM
Payroll hours Sarah B. Excel Discussion (Misc queries) 2 March 22nd 05 05:27 PM
calculate hours just can't figure it out monish74 Excel Worksheet Functions 1 February 13th 05 07:31 PM
Subtracting paid hours from unpaid hours ejerry7 Excel Worksheet Functions 5 November 29th 04 04:16 AM


All times are GMT +1. The time now is 11:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"