+ Reply to Thread
Results 1 to 4 of 4

Need help making Excel distribute hours differently after working 40 hours

  1. #1
    Registered User
    Join Date
    11-21-2009
    Location
    Nevernever Land
    MS-Off Ver
    Excel 2003
    Posts
    2

    Need help making Excel distribute hours differently after working 40 hours

    Hello!

    I live in California where employees are paid differently after working 40 hours in one week.

    Hours 0 to 8 Regular time
    Hours 9 to 12 Time and a half
    Hours 13 and on Double-time

    After working 40 hours in one week, the employee is then paid:

    Hours 0 to 4 Time and a half
    Hours 5 and on Double-time

    I was able to make a spread sheet that would allow you to put in the amount of hours you worked and then would calculate regular, over time, and double-time automatically. What I need help with is making a formula that will then distribute the hours differently after working 40 hours in one week.

    Can anyone help???? If needed I can email you a screenshot of the table I made.

    Note:
    C6 is the hours worked
    H6 is regular time calculation =IF(C6<8,C6,8)
    I6 is time and a half calculation =IF(C6>8,(IF(C6>12,4,C6-8)),"")
    J6 is double time calculation =IF(C6>12,C6-12,"")

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Need help making Excel distribute hours differently after working 40 hours

    So... what is the question? Your formulas seem to have it covered. What do you need help with?

    You can upload a sample workbook here, no need for email addy exchange. Click "Go Advanced" below and then the paper clip icon to upload a file.

    cheers

  3. #3
    Registered User
    Join Date
    11-21-2009
    Location
    Nevernever Land
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need help making Excel distribute hours differently after working 40 hours

    What I need Excel to do is change the way it distributes the pay once the employee has worked over 40 hours in one week.

    I uploaded two attachments. One is named "Wrong Pay Worksheet". This is as far as I could get.

    The one that is named "Correct Pay Worksheet", I manually entered the numbers the way I want it to read. On line 9, 40 hours was reached for the week therefore the overtime hour distribution changed.

    I hope this helps explain it and thanks for your help.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Need help making Excel distribute hours differently after working 40 hours

    Hi,

    Formula for H6 ... and then copied down ...
    =IF(SUM($C$6:C6)<40,IF(C6<8,C6,8),IF((40-SUM($C5:C$6))>0,40-SUM($C5:C$6),0))
    HTH

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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