+ Reply to Thread
Results 1 to 4 of 4

Excel Formula Capabilities regarding time and pay rates

  1. #1
    Registered User
    Join Date
    05-15-2017
    Location
    Brisbane, Australia
    MS-Off Ver
    2016
    Posts
    6

    Smile Excel Formula Capabilities regarding time and pay rates

    Hi,

    I have attached a really basic example as I don't want to create my spreadsheet this way if the formula functions aren't there.

    I'll try to explain this best I can.

    We have 24hr departments that work 7 days a week, some staff are in separate states and some are home users.

    In the attached spreadsheet I have tried to narrow down the variables per user as to whether its a weekend/weekday/public holiday - if they are a home or office user, their start and end time, their hours and their regular rates.

    The issue we are having is correctly calculating penalty rates etc as it has been made reasonably complicated.

    On the right I've put a penalties table - It would be fine if rates were just based on entire shift times and anything that is done for entire shift or per hour is fine I can easily do that.

    Our issue is that overnight rates start at a certain time and finish at a certain time so if your shift runs over any of the time in between you need to have penalty rates added. E.g. 9:00pm - 6:00am would need the overnight rates from 10pm-6am or 3:00am - 10:00am would need them from 3am-6am

    Maybe the easiest way would be to create an hours column for the ovnight etc scenarios? so maybe have a regular hours and overnight hours? I am just not too sure how to do this.

    Any help is greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Excel Formula Capabilities regarding time and pay rates

    You can get night hours worked with this formula in I7 copied down

    =(G7-F7)*24+(G7<F7)*8-MEDIAN(G7*24,6,22)+MEDIAN(F7*24,6,22)

    format as number
    Audere est facere

  3. #3
    Registered User
    Join Date
    05-15-2017
    Location
    Brisbane, Australia
    MS-Off Ver
    2016
    Posts
    6

    Re: Excel Formula Capabilities regarding time and pay rates

    Thank you so much! This formula is excellent.

    Could I please ask one more question about it. If we needed to change the hours for the night rates (just in case) could I confirm what to change in this formula to reference a different time period ?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Excel Formula Capabilities regarding time and pay rates

    6 and 22 in MEDIAN functions are the start and end times, 8 is the overnight hours, so if you wanted to change night hours to 21:30 - 07:00 then formula would need to be like this:

    =(G7-F7)*24+(G7<F7)*9.5-MEDIAN(G7*24,7,21.5)+MEDIAN(F7*24,7,21.5)

+ 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. Excel formula for rates
    By graemekoz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2014, 06:50 AM
  2. Excel scoring capabilities
    By Lucho1942 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-29-2014, 06:12 PM
  3. Excel capabilities?
    By leshall in forum Excel General
    Replies: 2
    Last Post: 11-25-2013, 05:30 PM
  4. Replies: 4
    Last Post: 11-27-2012, 04:42 PM
  5. [SOLVED] Excel formula to compare pay rates based on employee ID
    By Kimston in forum Excel General
    Replies: 2
    Last Post: 07-19-2012, 04:12 AM
  6. excel capabilities
    By Grouge in forum Excel General
    Replies: 4
    Last Post: 07-17-2006, 01:19 PM
  7. Excel formula for monthly interest rates
    By Bluie2407 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-11-2005, 06:05 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