+ Reply to Thread
Results 1 to 10 of 10

Timesheet not calculating properly. Looking for help!

  1. #1
    Registered User
    Join Date
    08-04-2023
    Location
    USA
    MS-Off Ver
    Google Sheets
    Posts
    4

    Angry Timesheet not calculating properly. Looking for help!

    Hi everyone!

    I have been working on this timesheet document for a while now and cannot seem to get the right formula for my goal.

    Very simply, the document has a row for each day of the week. For each day, the fake employee fills out when they began and ended their shift and if they took any breaks. Column G is to add up all the hours between when they started and ended, while Column H then subtracts any break time they had.

    H11 is then used to calculate their weekly hours. This is where I run into my issue. I'd love for H11 to carry down to B12, but B12 be capped at 40 hours. Any time an employee goes over 40 hours, we obviously owe them OT. So in this example, the employee worked 46 hours, and 40 of them go into B12, but I can't seem to get the remaining six hours to be dropped into B13. I'm not sure if this is a time vs decimal point issue. I'd love for the G and H columns to be decimal points (5.5 hours vs 5:30 hours) but I couldn't get it to calculate properly with decimal points either.

    I've gotten it to the point where only B13 is my problem cell. Anyone able to help get me across the finish line?
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Timesheet not calculating properly. Looking for help!

    Hi
    you posted on the XL subforum but your profile states Google Sheets. Is it a GS question then?

  3. #3
    Registered User
    Join Date
    08-04-2023
    Location
    USA
    MS-Off Ver
    Google Sheets
    Posts
    4

    Re: Timesheet not calculating properly. Looking for help!

    Hi Pepe Le Mokko! Google Sheets is what I started the document in, however I uploaded it is an Xlsx, so I wasn't sure which forum to drop it in. I also wasn't sure if Xslx vs GS was an important distinction for this particular question. Apologies if it should have ended up somewhere else!

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Timesheet not calculating properly. Looking for help!

    Please try in B13:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Timesheet not calculating properly. Looking for help!

    Or try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-04-2023
    Location
    USA
    MS-Off Ver
    Google Sheets
    Posts
    4

    Re: Timesheet not calculating properly. Looking for help!

    HansDouwe, if I lived in Nederland with you, I'd buy you a beer. It seems your suggestion has fixed that issue, but now I'm seeing my original formula in B12 wasn't correct. I've attached a new spreadsheet to this comment. In this new example, even though this fake employee only worked 39.5 hours, 40 hours is being carried over to B12. Is there a way to fix this so that if an employee doesn't work over 40, the proper number in H11 is shown in B12?
    Attached Files Attached Files

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Timesheet not calculating properly. Looking for help!

    In B12 try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    08-04-2023
    Location
    USA
    MS-Off Ver
    Google Sheets
    Posts
    4

    Re: Timesheet not calculating properly. Looking for help!

    Pepe Le Mokko, if I end up in Belgium one day, I also owe you a beer. Cannot thank you and HansDouwe enough. I can finally... FINALLY... put this project to rest. If I got anything else that comes up with this spreadsheet, I'll be sure to give either of you a buzz. Thanks again!!

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Timesheet not calculating properly. Looking for help!

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,427

    Re: Timesheet not calculating properly. Looking for help!

    If you are using Excel, please update your forum profile to show which version you are on.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    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. [SOLVED] Timesheet Calculating In and Out under date only
    By EXCELBENCH in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-04-2018, 04:27 PM
  2. Need help with an hour calculating timesheet... please!
    By tag_addict in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-05-2015, 03:35 PM
  3. [SOLVED] Timesheet calculating differently
    By beitzy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-26-2013, 04:18 PM
  4. [SOLVED] Timesheet - calculating overtime
    By stupidname in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2012, 08:42 AM
  5. Need help calculating timesheet
    By Squiffer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-20-2012, 03:50 PM
  6. Calculating times on a timesheet?
    By pink pig in forum Excel General
    Replies: 3
    Last Post: 08-05-2008, 05:01 AM
  7. [SOLVED] Timesheet- Calculating
    By Craig in forum Excel General
    Replies: 4
    Last Post: 01-17-2006, 01:20 PM

Tags for this Thread

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