+ Reply to Thread
Results 1 to 10 of 10

Help with an Overtime Formula!!!!!

  1. #1
    Registered User
    Join Date
    08-26-2011
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    45

    Help with an Overtime Formula!!!!!

    Hello! i have created a (probably overly complex) formula to calculate the overtime generated after adding all the hours worked in a week. The formula works for OT and DT the first five days but does not add anything over 40 hours as OT automatically. I want the OT field to add the california 7 day pay rule (any time over 40 hours, or 7 days as overtime) If I type anything other than numbers into cells it comes back an !VALUE error. I need the formula to ignore the word "OFF" so it does not affect the calculation or just add it as "0" so it will not return a !VALUE error and does not change the sum. I also need to have certain trigger words like if I type in "C/O" "VAC" "JURY" etc. trigger a conditional format and convert the value either in the cell or of the cell to 8 (to represent 8 hours for the day). Hopefully that makes sense i attached the file with the formula to make it simpler to work through any help would be greatly appreciated.
    Attached Files Attached Files
    Last edited by Lmao; 04-22-2016 at 02:15 PM. Reason: forgot to include attachement

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Help with an Overtime Formula!!!!!

    I am not familiar with the details of the California 7 day pay rule, so what would happen in your example 1 if John Doe also worked more than 8 hours in one day? Would they get overtime for the extra time in that day, as well as for the additional time over 40 hours they worked in that 7 day period?
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help with an Overtime Formula!!!!!

    I had to look this up. Lmao, you should really include this level of detail for a question like this.

    In California, the general overtime provisions are that a nonexempt employee 18 years of age or older, or any minor employee 16 or 17 years of age who is not required by law to attend school and is not otherwise prohibited by law from engaging in the subject work, shall not be employed more than eight hours in any workday or more than 40 hours in any workweek unless he or she receives one and one-half times his or her regular rate of pay for all hours worked over eight hours in any workday and over 40 hours in the workweek. Eight hours of labor constitutes a day's work, and employment beyond eight hours in any workday or more than six days in any workweek is permissible provided the employee is compensated for the overtime at not less than:

    1. One and one-half times the employee's regular rate of pay for all hours worked in excess of eight hours up to and including 12 hours in any workday, and for the first eight hours worked on the seventh consecutive day of work in a workweek; and

    2. Double the employee's regular rate of pay for all hours worked in excess of 12 hours in any workday and for all hours worked in excess of eight on the seventh consecutive day of work in a workweek.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Help with an Overtime Formula!!!!!

    So if a person worked 12 hours on their 7th workday in a week would that be 16 hours of overtime they are paid for, ie 12 hours for working on the 7th day, plus 4 for working more than 8 hours a day? Or is it one or the other, but not both?

  5. #5
    Registered User
    Join Date
    08-26-2011
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    45

    Re: Help with an Overtime Formula!!!!!

    Quote Originally Posted by gak67 View Post
    I am not familiar with the details of the California 7 day pay rule, so what would happen in your example 1 if John Doe also worked more than 8 hours in one day? Would they get overtime for the extra time in that day, as well as for the additional time over 40 hours they worked in that 7 day period?

    It would add that in the OT column as well for example he works 5 days and normally has Saturday Sunday off. So Monday through Thursday are 8 hours counted as regular hours. If Friday he works 9 hours. This the totals should be 40 hours regular 1 hour OT. If he works one hour on saturday it would change to 40 hours regular two hours OT (as he has worked more than 40 for the week). If he works 1 hour sunday it would be 40 hours regular three hours ot.

  6. #6
    Registered User
    Join Date
    08-26-2011
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    45

    Re: Help with an Overtime Formula!!!!!

    Quote Originally Posted by 6StringJazzer View Post
    I had to look this up. Lmao, you should really include this level of detail for a question like this.
    Sorry you are correct should have been far more specific.

  7. #7
    Registered User
    Join Date
    08-26-2011
    Location
    California, United States
    MS-Off Ver
    Excel 2016
    Posts
    45

    Re: Help with an Overtime Formula!!!!!

    Quote Originally Posted by gak67 View Post
    So if a person worked 12 hours on their 7th workday in a week would that be 16 hours of overtime they are paid for, ie 12 hours for working on the 7th day, plus 4 for working more than 8 hours a day? Or is it one or the other, but not both?
    If they work 8 hours Mon-Fri =40 hrs reg. If they then work 8 hours Saturday and 12 Sunday it should be: 40 hrs reg. 16 OT and 4 hours DT. OT = Overtime DT= Doubletime. Hopefully that helps thank you.
    Last edited by Lmao; 04-22-2016 at 03:13 PM.

  8. #8
    Registered User
    Join Date
    01-09-2019
    Location
    rancho
    MS-Off Ver
    2018
    Posts
    1

    Re: Help with an Overtime Formula!!!!!

    hello, this sheet is very useful. thank you! any way you can add a column for Regular hours (with appropriate formula)?

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Help with an Overtime Formula!!!!!

    Welcome to the Forum scasas!

    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    This thread is almost three years old. Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: Help with an Overtime Formula!!!!!

    If Mon to Fri is 32 hrs and sat 8 hrs what is OT & D.T
    If Mon to Fri is 30 hrs and sat 8 hrs Sun 2 Hrs what is OT & DT.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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] Calculating Overtime Hours for each Day on a 40+ Overtime per Week Basis
    By HumdrumPanic in forum Excel General
    Replies: 5
    Last Post: 09-30-2020, 12:55 PM
  2. Calculating daily overtime and weekly overtime
    By Guy Montague in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2016, 04:55 PM
  3. Replies: 3
    Last Post: 01-21-2016, 06:07 PM
  4. Replies: 7
    Last Post: 10-07-2014, 10:00 PM
  5. Overtime & Double Overtime - IF function
    By KimBVS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-14-2014, 04:46 AM
  6. [SOLVED] Add an amount to wages if Overtime worked, but show zero if there is no overtime
    By KazzICC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-14-2014, 01:55 AM
  7. Timesheet calculation for overtime and double overtime
    By eortega in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-29-2013, 03:28 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