+ Reply to Thread
Results 1 to 5 of 5

Timesheet

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-14-2017
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    148

    Timesheet

    Good Day

    I am currently doing a timesheet using excel with Start Time / Lunch Taken / End Time. The issue I am having is calculating the difference in time working taking the lunch time into consideration.
    I am getting a variance in the total hours worked against adding manually.

    I have attached a spreadsheet for clarity. the yellow highlight is added manually.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,422

    Re: Timesheet

    What you are doing manually is adding the hours and minutes separately, so you get 34 hours and 90 minutes. Of course, 90 minutes is the same as 1 hour and 30 minutes, giving 35:30, as you have in cell E18. Your manual total of 34.90, as if this is interpreted directly as fractional hours, this would be less than 35 hours, so you would be doing your employees out of a bit of working time.

    Apply a custom format of:

    [h]" Hrs. and "m" Mins."

    to cell E18 if you want it to look like the other cells above. The square brackets around the h term prevents the hours from wrapping at 24.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    04-14-2017
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    148

    Re: Timesheet

    Hi Pete

    I formatted as per your suggestion, the total I am now getting is 11 hours and 30 min
    Should I apply the formatting to all cells?

    Regards

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,422

    Re: Timesheet

    The format that you have applied is allowing the hours to wrap at 24 (i.e. it ignores any multiples of 24, as it sees these as equivalent to a day). You need to put square brackets around the h term in the format string, as in my post.

    Pete

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,897

    Re: Timesheet

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.
    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. Timesheet
    By Haarek in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 04-14-2018, 05:41 PM
  2. Timesheet
    By Seanie in forum Excel General
    Replies: 1
    Last Post: 01-31-2018, 05:38 PM
  3. Timesheet
    By prchrj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-30-2014, 06:37 PM
  4. Need help by Timesheet
    By MoFaSa in forum Excel - New Users/Basics
    Replies: 17
    Last Post: 02-19-2014, 07:06 PM
  5. timesheet help please
    By texmd in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2012, 02:47 AM
  6. Timesheet Help
    By swoznia in forum Excel General
    Replies: 3
    Last Post: 05-25-2012, 02:51 PM
  7. Excel 2007 : Timesheet Help
    By stu_C in forum Excel General
    Replies: 1
    Last Post: 12-07-2008, 12:23 AM

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