Compute Night Differential, and Night Differential OT

emewaw

New Member
Joined
Oct 24, 2019
Messages
1
Good Day!
How can I compute the number of hours between a specific range,
For example, an employee has timed in at 6:00 pm then timed out at 3:00 am the next day. What formula can I use to compute the number of hours that is only within the Night Differential, 10:00 pm to 6:00 am.
Note:
Night Differential can be changed based on the policy of the user.


What formula should I use on the Night Differential and Night Differential OT column?

Thank you very much.

Company Policy
Start Time6:00 pmEnd Time3:00 am
Night Differential Start10:00 pmNight Differential End6:00 am
Employee Timesheet
Time InTime OutRegular HoursRegular OTNight DifferentialNight Differential OT
6:00 pm3:00 am4 hours05 hours0
6:00 pm5:00 am4 hours05 hours2 hours
6:00 pm7:00 am4 hours1 hour5 hours3 hours

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,089,435
Messages
5,408,208
Members
403,189
Latest member
Dona88

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top