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.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Company Policy[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Start Time[/TD]
[TD]6:00 pm[/TD]
[TD][/TD]
[TD][/TD]
[TD]End Time[/TD]
[TD]3:00 am[/TD]
[/TR]
[TR]
[TD]Night Differential Start[/TD]
[TD]10:00 pm[/TD]
[TD][/TD]
[TD][/TD]
[TD]Night Differential End[/TD]
[TD]6:00 am[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee Timesheet[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Time In[/TD]
[TD]Time Out[/TD]
[TD]Regular Hours[/TD]
[TD]Regular OT[/TD]
[TD]Night Differential[/TD]
[TD]Night Differential OT[/TD]
[/TR]
[TR]
[TD]6:00 pm[/TD]
[TD]3:00 am[/TD]
[TD]4 hours[/TD]
[TD]0[/TD]
[TD]5 hours[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]6:00 pm[/TD]
[TD]5:00 am[/TD]
[TD]4 hours[/TD]
[TD]0[/TD]
[TD]5 hours[/TD]
[TD]2 hours[/TD]
[/TR]
[TR]
[TD]6:00 pm[/TD]
[TD]7:00 am[/TD]
[TD]4 hours[/TD]
[TD]1 hour[/TD]
[TD]5 hours[/TD]
[TD]3 hours[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,224,813
Messages
6,181,115
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top