+ Reply to Thread
Results 1 to 6 of 6

Calculating Overtime Premium

  1. #1
    Registered User
    Join Date
    08-06-2011
    Location
    North West
    MS-Off Ver
    Excel 2003
    Posts
    25

    Calculating Overtime Premium

    Hi,

    I have developed a spreadsheet to calculate wages, and produce an upload into sage. This sheet will save me a day and a half in manual paper processing, but I am unable to calculate overtime premium worked on Saturdays.

    At present, the first 4 hours over 37.5 are paid at time and one third, the next 4 hours, time and one half, and anything over that is double time.

    The problem occurs if they work Saturdays. They automatically go onto time and one half for the first six hours, and then the hours are distributed as illustrated below.

    1/3--1/2--DBL---TOTAL

    0-----6-----0-----6
    1-----6-----0-----7
    2-----6-----0-----8
    3-----5-----1-----9
    4-----4-----2-----10
    4-----4-----3-----11


    I am only able to get overtime premium to work in multiples of 4.
    If anyone could offer some solution, this would be greatly appreciated

    Thanks

    Sue
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating Overtime Premium

    where do you want this calc to be done/shown?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-06-2011
    Location
    North West
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Calculating Overtime Premium

    Hi Cutter,

    The cells which contain upload data are

    V705 to V770

    Thanks

    Sue

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating Overtime Premium

    in cell C705, you have this formula...

    =MAX(MIN($P$704-$Q$704+O704,4),0)

    effectively, what this is doing is 1st, determining the minimun between $P$704-$Q$704+O704 (holiday hours less total hours plus contract hours) and 4, and then finding the maximum between that answer and zero. not sure of your logic, so im uncertain if that is what you are intending to do?

  5. #5
    Registered User
    Join Date
    08-06-2011
    Location
    North West
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Calculating Overtime Premium

    My excel skills may be somewhat limited, but I have managed to get the upload to split out the overtime premium payable based on 1/3, 1/2, and double time as required by the company.

    The upload has been tested in sage and works perfect.

    My problem now is finding a way to get excel to recognise that if someone works on saturday, then the rules change.

    Unfortunatly, I can't get it to work, and maybe I need to approach the problem differently.

    Any advice, better still a solution would be greatly appreciated

    Sue

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Calculating Overtime Premium

    =WEEKDAY(cell-reference,2) will give you 6 for saturday, try to include that in your formula?

+ 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