+ Reply to Thread
Results 1 to 6 of 6

Need help totaling hours on a time sheet

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    Southeastern US
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need help totaling hours on a time sheet

    I have created a time sheet for employees (Attached) but the sum of the hours starts over after exceeding 24 hours. How can correct this formula?

    Column B is time in and column C is time out. Column D is daily hours worked "D2 =C2-B2". These columns are formatted for time in 24hr format.

    The formula I am using for my weekly total is D11 =Sum(D2:D8).

    I would also like to set this up so that each biweekly pay period totals regular hours ending at 40 (23)and a separate cell (D24) displays OT hours.
    Attached Files Attached Files

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Need help totaling hours on a time sheet

    Change the formatting. Something like the format [h]:mm:ss;@ should do the trick.

    D23 = Min(80, D11+D21)
    D24 = Max(0, D11+D21-80)
    Last edited by Whizbang; 01-06-2014 at 10:15 AM.

  3. #3
    Registered User
    Join Date
    01-06-2014
    Location
    Southeastern US
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help totaling hours on a time sheet

    Thanks for your help. Changing the format did the trick for totaling the hours, but I realized I needed to address the OT differently. If I use the formula you sent for the OT, an employee could work over 40 hrs one week and less that 40 the second week, totaling less that 80 hrs for the pay period, and they would show no overtime. So I set up the OT to be calculated weekly, but am missing something in the formulas that I tried to adapt from what you sent. Please check the cells for "Weekly Hrs Total" and "Weekly Hrs OT" (D11 and D12) in this updated attachment.
    Attached Files Attached Files

  4. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: Need help totaling hours on a time sheet

    Try this instead.

    D23 =Min(40, D11)+Min(40,D21)
    D24 =Max(0, D11-40)+Max(0,D21-40)

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: Need help totaling hours on a time sheet

    40 means 40 days , you want hours:

    =MIN("40:00";SUM(D3:D9))

    Try this one
    Attached Files Attached Files
    Last edited by popipipo; 01-06-2014 at 11:01 AM. Reason: insert file
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Registered User
    Join Date
    01-06-2014
    Location
    Southeastern US
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need help totaling hours on a time sheet

    Thank you so much for your help. That was what i needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Timesheet that calcs time in, time out, lunch used, reg hours, ot hours, double hours
    By noobface in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-21-2021, 03:45 AM
  2. Totaling hours
    By OnTheCouch in forum Excel General
    Replies: 2
    Last Post: 08-16-2010, 01:02 PM
  3. [SOLVED] Totaling some hours but not others HELP!
    By vanilla_bean_orange via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-16-2006, 06:10 AM
  4. [SOLVED] Totaling Hours in Standard Format
    By Coco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. in excel totaling weekly hours military time
    By mel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2005, 01:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1