+ Reply to Thread
Results 1 to 12 of 12

Over time formula needed

  1. #1
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Over time formula needed

    Hi,
    I have been trying to figure out a formula for over time. The way our over time works is this:

    If you work 2 hours or less you get paid 3 hours of straight time over time (STO)

    If you work 2 hours or more you get paid the first 2 hours at 1 1/2 (1.5X) times (THO) and the rest at 2X (DTO).

    For example,
    I work 1.5 hours = 3 hours at STO
    I work 4 hours = 2 hours at THO and 2 hours at DTO.

    I would like to develop a Time Sheet where I can enter my total time worked and the sheet will calulate what hours are put into the 3 columns above.

    Over Time Explanation Hours Wrkd STO THO DTO
    Completing contract 1 1.5 3
    Completing contract 2 4.0 2 2
    Completing contract 3 7.0 2 5

    Totals 3 4 7



    Any help would be appreciated.

    Russ
    Last edited by Russ15; 01-26-2015 at 04:32 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Over time formula needed

    Hi,

    With the total time worked in A1 then maybe Paid hours =

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


    although I don't entirely understand your example which is open to different interpretations. You'd be better giving us a table with a few specific examples.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    Over Time Explanation Hours Wrkd STO THO DTO
    Completing contract 1 1.5 3
    Completing contract 2 4 2 2
    Completing contract 3 7 2 5

    Totals 3 4 7

    Not sure how to attach an Excel sheet now. Here is what I want. I enter my "hours worked" and the formula will automatically enter my time into the appropriate column. The "totals" part I can easily handle, it is the OT based on number of hours worked which I am having difficulty with.

    Thanks for your help

  4. #4
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    Sorry, I am not sure how to attach and excel sheet and my attempts to put the columns in this post have been very abismal. The post does not keep my original formatting when I hit save.

    Essentially I would like the sheet to move the over time from the "hours worked" column into the appropriate over time columns made up of STO, THO, and DTO columns. The columns would be arranged as follows:

    Time Worked, STO, THO, DTO on the Excel sheet.

    Hope that clears things up a bit

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Over time formula needed

    Hi,

    Yes I understand the requirement I just don't understand the arithmetic you want to use to get your total overtime. The table in you post isn't very clear.

    See the FAQ which explains how to upload an attachment (basically click on the 'Go Advanced' option when replying and scroll down)

    In your attachment explain with notes how you are calculating the results. I understand the methodology just not the precise cut offs and 1.5 & 2x rules

  6. #6
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    I have now attached an excel sheet showing what I am looking for, if possible. Thanks for all the help.
    Attached Files Attached Files

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Over time formula needed

    Hi,

    See attached
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    It works perfectly, but how do you count for zero? If you do not enter a value in the "hours worked" the balance for STO should be "0". Right now it calculates 3 hours for any value including 0. When you do not enter a value in the column it still shows 3 hours. I have attached your sheet with another example with a day when no OT was worked.
    Attached Files Attached Files

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Over time formula needed

    Change H5 to

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


    and copy it down.

  10. #10
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    Thank you very much for your help. It works great. I really appreciate your assistance with this.

  11. #11
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Over time formula needed

    Glad to have helped.

  12. #12
    Registered User
    Join Date
    01-26-2015
    Location
    Canada
    MS-Off Ver
    Office Professional Plus 2010
    Posts
    16

    Re: Over time formula needed

    I have one more challenge. The second part of the Time Sheet (TS) has to do with making phone calls. Naturally some of them could be very short and other could last hours. I have attached the TS as far as I have gotten. You will notice I am attempting to be able to enter the times (C42, D42) and have the TS calculate the OT worked.

    Paramaters:
    Call up to 20 minutes = 0.5 hours at STO
    Calls beyong 21 minutes = THO at exact minutes (which is why I am trying to list the times)

    Is it possible to have the column E42-63 not display a "0"? That way the OT does not automatically populate F42-63 with 0.5 hours.

    I have attached the TS for you to have a look at.

    Thanks again,
    Russ
    Attached Files Attached Files

+ 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. Military Time Formula Needed
    By BubbasExcel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-01-2013, 11:14 PM
  2. Excel 2007 : Time formula needed
    By nanlag in forum Excel General
    Replies: 4
    Last Post: 04-27-2012, 04:56 PM
  3. [SOLVED] Excel formula help needed On time Delivery
    By Molson_Canadian in forum Excel General
    Replies: 2
    Last Post: 01-16-2012, 09:02 PM
  4. working time and over time formula needed please
    By Crasher in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 10-09-2006, 08:48 PM
  5. [SOLVED] Formula Needed for Transit Time
    By Angela in forum Excel General
    Replies: 1
    Last Post: 08-09-2005, 04:05 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