+ Reply to Thread
Results 1 to 3 of 3

Different Pay Rate for different times and days.

  1. #1
    Registered User
    Join Date
    01-05-2018
    Location
    England
    MS-Off Ver
    365
    Posts
    2

    Different Pay Rate for different times and days.

    Hi everyone,

    I’m trying to create a formula for my overtime, as I get a different pay rate at different days and times.

    Mon – Fri: 17:00 – 19:59 = 1

    Mon – Fri: 20:00 – 23:59 = 1.5

    Mon – Sat: 00:00 – 08:30 = 2

    Sat: 08:30 – 23:59 = 1.5

    Sun 00:00 – Mon 08:30 = 2

    I’ve tried using the following formula, but get a “False” output.
    I have no idea how to work out the days etc.

    =IF(AND(C8>=TIMEVALUE(“17:00”))*(C8<=TIMEVALUE(“19:59″)),”1”,IF(AND(C8>=TIMEVALUE(“20:00”))*(C8<=TIMEVALUE(“23:59″)),”1.5”,IF(AND(C8>=TIMEVALUE(“00:00”))*(C8<=TIMEVALUE(“08:29″)),”2”)),IF(AND(C8>=TIMEVALUE(“08:30”))*(C8<=TIMEVALUE(“17:00″)),”1.5”)))

    Thank you for your help!

    J

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11)
    Posts
    52,098

    Re: Different Pay Rate for different times and days.

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    01-05-2018
    Location
    England
    MS-Off Ver
    365
    Posts
    2

    Re: Different Pay Rate for different times and days.

    Thank you, I've attached a mock up now

    The part I need working is the "Overtime Rate" column as this will affect the outcome of the total pay etc.
    Attached Files Attached Files
    Last edited by JimmyTheRustler; 01-05-2018 at 11:31 AM. Reason: More info

+ 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] Time Sheet Formula - different rate at different times
    By toxic27 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-10-2020, 08:08 AM
  2. [SOLVED] Averaging the earliest start times and latest end times for multiple days
    By kbiro in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2016, 02:15 PM
  3. Time Sheet Formula - different rate at different times
    By ZeRoo_ in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-24-2014, 10:15 AM
  4. Replies: 3
    Last Post: 11-12-2012, 04:03 PM
  5. Hourly rate times hours?
    By L in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-08-2006, 01:35 PM
  6. Calculation of hourly rate times hours times 1.5
    By Newbusinessbod in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-06-2005, 12:50 PM
  7. Calculating a Building\'s Occupancy Rate at Specified Times
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-23-2005, 12:21 PM

Tags for this Thread

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