+ Reply to Thread
Results 1 to 7 of 7

Need to calculate a Time sheet

  1. #1
    Forum Contributor
    Join Date
    12-27-2013
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    102

    Need to calculate a Time sheet

    Hi everyone I have a problem to find out the Overtime worked > 7.5 hours or if < then 0 in column G

    much appreciated
    Karl
    Attached Files Attached Files

  2. #2
    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,895

    Re: Need to calculate a Time sheet

    Try this:

    =IFERROR(IF(COUNT(TimeSheet[@[Time In]:[Time Out]])=4,(TimeSheet[@[Time Out]]-TimeSheet[@[Time In]])-(TimeSheet[@[Lunch End]]-TimeSheet[@[Lunch Start]]),TimeSheet[@[Time Out]]-TimeSheet[@[Time In]]),"")
    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.

  3. #3
    Forum Contributor
    Join Date
    12-27-2013
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Need to calculate a Time sheet

    Hi Ali,
    It does not work see Attachment
    Attached Files Attached Files

  4. #4
    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,895

    Re: Need to calculate a Time sheet

    So then explain how you would calculate the results manually. "It does not work" is of no use to me - it doesn’t help.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,857

    Re: Need to calculate a Time sheet

    Use

    in G10

    =MAX(0,[@[Hours Worked]]-7.5)

  6. #6
    Forum Contributor
    Join Date
    12-27-2013
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    102

    Re: Need to calculate a Time sheet

    Hi Guys it worked just fine but in G10 it needs to be a maximum of 2 hours

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,857

    Re: Need to calculate a Time sheet

    Try

    =MIN(2,MAX(0,[@[Hours Worked]]-7.5))

+ 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. Time Sheet to calculate overtime only after or before certain hours.
    By oceanlife83 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-03-2017, 10:21 PM
  2. Trying to create a time sheet to calculate my regular time/ overtime
    By Chichirod in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2015, 09:18 AM
  3. [SOLVED] Time Sheet Function to Calculate
    By Mark McDonough in forum Excel General
    Replies: 5
    Last Post: 06-10-2006, 05:15 PM
  4. [SOLVED] time sheet to calculate 2 different columns
    By John Sullivan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2005, 02:05 AM
  5. HOW DO I CALCULATE TIME IN A TIME SHEET FOR EXCEL
    By RAFAEL in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-26-2005, 07:05 PM
  6. [SOLVED] How do I set up a formula on a time sheet to calculate time in 1/.
    By gschmid in forum Excel General
    Replies: 2
    Last Post: 01-18-2005, 10:06 AM
  7. [SOLVED] formula to calculate a time sheet
    By tintin103 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2005, 06: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