+ Reply to Thread
Results 1 to 5 of 5

If Function for a Time set as overtime

  1. #1
    Registered User
    Join Date
    10-28-2008
    Location
    Chicago
    MS-Off Ver
    MS365 - 2211
    Posts
    94

    If Function for a Time set as overtime

    I am trying to write a function that will work as an if over a certain time of day it is overtime or between a certain time period it is straight time.

    I work in even production and many times when doing union schedules there are different caveats on the rate hours and working stipulations. I have made a workbook, see attached as a dumbed down version for this example, that has two sheets. First sheet is a simple schedule. It will list the number of people needed, their start time and end time. I typically repeat that chunk 3 times because often time we do a start of the day check in, a lunch, then an afternoon work call, then sometimes a dinner, then a evening call.

    For this example all hours Monday through Friday 8am to 5pm would be straight time. All hours on saturday and sunday and anything from 5pm-8am would be overtime. Is there in the attached example a way I could write an if function in cell F4 to look at the times in C4 & D4 to determine if they are overtime or straight time. My hope is I can on the second sheet labeled rates that I can fill in the start time/end time for the given straight or overtime starting and ending points.

    What really confuses me with doing this is the face that saturday and sunday are always overtime no matter what the rate.

    I definitely can do this manually. In my real sheet I have it just look for rate amount based on the rate type being OT or ST. I typically just manually enter that in there. No real biggie, but in trying to expand my excel knowledge I think there would be a way to actually do this and hoping I can figure that out.

    Thanks in advance for any insight.

    Matt
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: If Function for a Time set as overtime

    Are the straight and overtime start/finish times the SAME for all staff?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-28-2008
    Location
    Chicago
    MS-Off Ver
    MS365 - 2211
    Posts
    94

    Re: If Function for a Time set as overtime

    No not necessarily

    I may have staff A from 8-5 but keep staff be from 8am - 10pm or whatever.

    Would that make a difference?

    Matt

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,002

    Re: If Function for a Time set as overtime

    Ah no. Communication problem.

    are the times in Rates C2 & D2, F2 & G2 the same for all staff, or do those timea apply only to A. Is it possible that some staff are employed with different normal working hours?

  5. #5
    Registered User
    Join Date
    10-28-2008
    Location
    Chicago
    MS-Off Ver
    MS365 - 2211
    Posts
    94

    Re: If Function for a Time set as overtime

    No the times are not the same

+ 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. Calculating Regular Time, Overtime, Double Time
    By SoCalRizzy in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-29-2023, 11:54 PM
  2. Replies: 3
    Last Post: 01-21-2016, 06:07 PM
  3. Replies: 3
    Last Post: 01-16-2016, 06:37 AM
  4. Trying to create a time sheet to calculate my regular time/ overtime
    By Chichirod in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2015, 09:18 AM
  5. Overtime & Double Overtime - IF function
    By KimBVS in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-14-2014, 04:46 AM
  6. Replies: 5
    Last Post: 04-18-2013, 11:31 AM
  7. Detailed Time Sheet (overtime, comp time, vacation used)
    By Robert D. Sandersfeld in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-22-2006, 05:25 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