+ Reply to Thread
Results 1 to 16 of 16

complex timesheet

  1. #1
    Registered User
    Join Date
    05-28-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    complex timesheet

    Hi,

    Could anyone please help me this somewhat complex timesheet (to include penalty rates and overtime rates). I’ve been trying all day without luck. It’s a major brain exercise.

    Unfortunately underpayments happen rather commonly at my workplace. Hence I though it would be a good idea to utilise excel to help calculate my timesheets, rather than doing it by hand each time which takes a while. I’ve tried some commercial programs out there but most aren’t capable of calculating penalty rates.

    I got up to number of hours worked, but had no luck proceeding further. – I’ve included what I’ve done so far in the excel file attached.

    We are paid fortnightly and the work conditions are as follows:
    Normal hours:
    Expected to work 80 hours per fortnight at $26.17/Hr
    Only paid 95% of these hours worked – remainder accumulates towards leave. (ie only paid for 76 hours (95%) of 80 hours)

    Penalty rates:
    Any ordinary hours worked between the following hours is paid at ordinary time ($26.17) plus the appropriate penalty rates:
    (i) Hours worked between 6.00 p.m. and midnight, from Monday to Friday - 12.5% ($3.27) extra per hour.
    (ii) Between Midnight and 7.00 a.m, from midnight Sunday to midnight Friday – 25% ($6.54) extra per hour.
    (iii) Between Midnight Friday and midnight Saturday - 50% ($13.08) extra per hour.
    (iv) Between Midnight Saturday and midnight Sunday – 75% ($19.63) extra per hour.

    Overtime rate conditions
    (1) All time worked in excess of 80 hours per fortnight (becomes rostered overtime) - common
    (2) All time worked in excess of ten hours in any one shift (unrostered overtime) –uncommon
    Pay rates for overtime:
    • Paid at the rate of 1.5x ($39.26) for the first two hours, and 2x ($52.34) thereafter.
    • All overtime performed on a Sunday, shall be x2 ($52.34).


    Any help would be greatly appreciated.

    Thank you so much,
    Dave
    Attached Files Attached Files

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    Looking this over...
    Our slightly different dialects are making it somewhat difficult for me to understand exactly what you're meaning is for some of these, but I'll see if I can come up with something and throw it your way for some feedback.

    mew!
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    Lets start with normal hours and delve further as we make progress:

    Expected to work 80 hours per fortnight at $26.17/Hr
    Only paid 95% of these hours worked – remainder accumulates towards leave. (ie only paid for 76 hours (95%) of 80 hours)
    1) All time worked in excess of 80 hours per fortnight (becomes rostered overtime) - common
    (2) All time worked in excess of ten hours in any one shift (unrostered overtime) –uncommon
    So - Daily normal hours:
    - maximum possible is 10/day. Any more than that will be counted as unrostered OT
    - maximum possible is 80 per 2 week period? (I don't know what a fortnight is). Any more than that will be counted as rostered overtime.
    - of these normal hours, an employee is only paid for 95% of them, and the remaining 5% is allocated as leave pay

    Does that correctly describe treatment of normal hours and normal pay?

    Couple quick questions -
    - penalty hours? Is that a deduction off of normal pay IE :
    Hours worked between 6.00 p.m. and midnight, from Monday to Friday - 12.5% ($3.27) extra per hour.
    they make 12.5% LESS during that period? Or more... The word "Penalty" indicates it's a deduction, but the way you have it described it sounds like a 12.5% extra pay for hours in that period.

    Also I'm not sure what you mean by "Rostered" and "Unrostered" time.

  4. #4
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    I realize there's quite the time difference between us there, so I'm trying to make some headway on guesswork :P

    See attached file. I believe I've entered a column for each of your 4 conditions concerning regular time. These now calculate based on the criteria you've listed.

    Please take the time to run through a few scenarios in terms of hours worked vs expected outcome vs real outcome.

    The columns/cells which i've added/changed are highly visible in SUPER-PUNCH-IN-THE-FACE-BRIGHT-YELLOW. That should make it easier for you to review those conditions which I've entered. NOTE: I'd recommend keeping these columns seperate, and hiding them after you're sure they do what you want them to, for easier revisions and checks in the future.

    meow.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-28-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    re: complex timesheet

    Thank you so much for helping me out here.

    to clarify those conditions:
    1. normal pay up to 10 hours per shift. if a shift exceeds 10 hours (because of too much work in one shift), anything over will be counted as overtime pay. (hence counted as unrostered overtime)
    2. yes normally 80 hours per 2 weeks. anything over is regarded as rostered overtime.
    (basically unrostered overtime and rostered overtime pay rates are the same )
    (I've already made adjustments for calculating 95%)

    3. Penalty I think refers to penalty for the hospital for overusing us. yes, we get paid extra while working in those hours specified in the penalty rates

    Gonna go have a look at the file you've kindly sent.

    Thank you so much for your input.

  6. #6
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    kk just let me know how we're looking so far. I didn't stop because I don't know how to do the rest, but it's time consuming, and if I haven't started properly, I'm just gonna have to do it all over again anyways.

  7. #7
    Registered User
    Join Date
    05-28-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    re: complex timesheet

    Hi Mewingkitty~

    I've again tried to play on with the work that you've done so far without much luck. The formulas.... truely is time consuming.

    I've highlighted fields that are still causing trouble in dirty green. with comments on these fields.

    Any further help will be really appreciated.

    Thanks heaps,
    Dave
    Attached Files Attached Files

  8. #8
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    eesh, k.
    I'm not gonna have time to do this 'till tomorrow evening at the earliest. Times crossing over to the next day without any kind of date associated with them is going to complicate these formulas a great deal, since they'll all need allowance not only to calculate the hours, for that day, but also for the next, including your four conditions.

    It's definitely possible, it's just gonna take me more time than I have tonight.

  9. #9
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    re: complex timesheet

    I am gonna try to bring this to the attention of some of the others on here. I've done some work with timesheets, but not a ton, and one of them may be able to get you set up quicker and more efficiently than myself, but I'll work with ya if no one else picks it up.

    mew!

  10. #10
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: complex timesheet

    I would need a you to manually enter 4 or 5 full sets of hourly calculations in the sheet showing all the hurdles that have to be overcome. No way to just talk through this, need to make one work, then add another and tweak to make it work, til you get them all.

    For instance, what is i,ii,iii and iv? 100%, 112.5%, 125% and 150% pay? That should be evident on the sheet, yes?

    FIRST CONTRIBUTION:

    In cell J6, use this formula, copy down. Format the cell as GENERAL. much simpler way to add time past midnight.

    =(E6-D6+(D6>E6))*24
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  11. #11
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: complex timesheet

    Cell O16 slightly simpler formula :-

    =MOD((ROUND(L16*48,0)-ROUND(K16*48,0))/2,24)

    will calculate if there are 2 hours overtime on this value

    =2*(O16>=2)

    Subtract the second from the first to get the remaining overtime!

    PS JB! same formula above, seems in his j6 is rounding to nearest 30 minutes hence the lenght and using mod to calculate midnight!
    Last edited by squiggler47; 06-01-2009 at 03:10 AM.
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  12. #12
    Registered User
    Join Date
    05-28-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    re: complex timesheet

    Hi all,

    Mewingkitty, JB, squiggler47 Thank you all for your help.

    mm.. yah JB, [J6] needed the rounding as the employer only accepts down to 1/2 hour time entries. (i.e. can't claim 15min ...etc)

    Squigler I've used the the formula to calculate the overtime hours. and used the trusty IF function to sort out if the shift exceeds 2 hours to calculate pay too. so overtime shifts are taken care of.

    whats left is the dirty green fields for those troublesome penalty rates (or additional pay rates)....

    attached is the 3rd version.

    but thank you all for your help once again,
    any further input would be really appreciated.
    Attached Files Attached Files

  13. #13
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: complex timesheet

    wouldnt it be better to round the answer to the nearest rather than the times to be subtracted?

    Will take a look at the rest for you, BTW there are similar problems posted on here!
    Last edited by squiggler47; 06-01-2009 at 08:59 AM.

  14. #14
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: complex timesheet

    Well Firstly :-

    HOUR(E11)-HOUR(D11)

    change this to

    mod(e11-d11,1)*24

    or if you want to the nearest 30

    round(mod(e11-d11,1)*48,0)/2

    or Whole Hours

    round(mod(e11-d11,1)*24,0)

    (can substitute roundup/rounddown if you dont want the follow the 0.5 rule!

  15. #15
    Registered User
    Join Date
    05-28-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    re: complex timesheet

    Thanks squiggler for your input.

    Just been doing more fiddling around with the time sheet. A question regarding HOUR function.

    For instance, If my E12 = 24:00 (with cell formatted as [h]:mm)
    In a new cell for calculation, excel returns =HOUR(E12) as 0
    Would it be possible for excel to retain that 24 for calculations?

    This seems to be a common problem (and seems to be due to the way excel stores time data), but I still haven't really found a direct answer after browsing around the forums.

    With this problem solved the whole time sheet would just work basically.

  16. #16
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    re: complex timesheet

    24:00 = 0:00 as there is no such time as 24:00

    excel should store 24:00 as 1.0 so

    =hour(a1)+24*day(a1)

    should give you what you want

+ 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