+ Reply to Thread
Results 1 to 4 of 4

Formula to calculate regular hours and overtime hours

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Nampa, Idaho
    MS-Off Ver
    2007
    Posts
    2

    Formula to calculate regular hours and overtime hours

    I could use some help coming up with a formula for calculating reg and ot hours for multiple jobs.

    Example

    A1-job#1
    A2-job#2
    B1-5
    B2-5
    C1-5
    C2-5
    D1-5
    D2-5
    E1-5
    E2-5
    F1-5
    F2-5
    G1 needs to = 20
    G2 needs to = 20
    H1 needs to be 5
    H2 needs to be 5

    Any help would be appreciated.
    Thanks in advanced

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Formula to calculate regular hours and overtime hours

    In G1 use:

    =MIN(20,SUM(B1:F1))

    In H1 use:
    =SUM(B1:F1)-G1

    Copy those to G2:H2.

  3. #3
    Registered User
    Join Date
    07-30-2014
    Location
    Nampa, Idaho
    MS-Off Ver
    2007
    Posts
    2

    Re: Formula to calculate regular hours and overtime hours

    Paul-Those formulas work, but the min value isn't always going to be 20 for either row.

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Formula to calculate regular hours and overtime hours

    Well, that proves that neither Excel or I are mind-readers. If you want a solution that meets your requirements, you're going to have to provide those requirements. Sample data beyond one example wouldn't hurt either.

+ 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. Replies: 2
    Last Post: 01-17-2014, 02:22 PM
  2. IF formula to calculate overtime after certain hours
    By danielllouise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-26-2013, 03:39 PM
  3. [SOLVED] 40 Hours per week / how to calculate overtime hours
    By hudsonic72 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2013, 02:33 AM
  4. Subtracting hours from time to calculate overtime hours
    By nabilishes in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-16-2012, 08:56 AM
  5. Replies: 8
    Last Post: 03-19-2009, 11:01 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