Time Sheet with Shift Differentials

trush12

New Member
Joined
Dec 27, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello... I am new to this forum and am in desperate need of a spreadsheet to breakdown and calculate hours worked with the following shift differentials when Time in and Time Out is entered:

Shift 1 (Day) = Monday-Friday 7AM-2:59PM
Shift 2 (Eve) = Monday-Friday 3PM-10:59PM
Shift 3 (Night) = Monday-Friday 11PM-6:59AM
Shift 4 (WK Day) = Saturday-Sunday 7AM-2:59PM
Shift 5 (WK Eve) = Saturday-Sunday 3PM-10:59PM
Shift 6 (WK Night) = Friday-Saturday 11PM-6:59AM
Shift 7 (ED SPEC) = Friday 7PM-Monday 7:30AM

Can you help me please?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi Trush12,

Can you give an example of the input times, along with any shift name/number they may contain.

Can you give an example of the output you'd like to see?
 
Upvote 0
Thanks so much!

Shifts are normally 12 hour shifts with 36 hours weekly. Anything above 40 is considered OT. Weeks run Sunday to Saturday:

Dayshift: 7a-7:30p
Nightshift: 7:00p-7:30a
Mid-shift1: 10a-10:30p
Mid-shift2: 1p-1:30a

For example:

If I work, Sunday, Monday, Tuesday on Dayshift (7a-7:30p), I would get the following shift diffs:
Shift 1 (Day)= 24 hours
Shift 2 (Eve)= 12 hours
Shift 4 (WK Day)= 8 hours
Shift 5 (WK Eve)= 4 hours
Shift 7 (ED SPEC)= 12 hours

I would just like to be able to put in the Time In and Time Out and have each differential broken down into hours to send to the payroll dept.
 
Upvote 0
I'm still not sure what calculation you want.
"I would just like to be able to put in the Time In and Time Out and have each differential broken down into hours to send to the payroll dept."
So if you enter 7th January 2022 (a Friday) clock-in at 18:30 with a 8th January (a Saturday) clock-out at 07:30 then that would be 4.5 hours of a Shift 2, 0.5 hours of a Shift 4, 8 hours of a Shift 6 and 10.5 hours of a Shift 7? So do you just want the total of 23.5 hours or presented as the four different shift times?
 
Upvote 0
When you record the Time, you should record the Date as well in the same cell.
NOW can be entered with CTRL+: , CTRL+;, Enter

@*trucsh12, and I also don't see what your calculation must be used to get the results in your 2nd post
 
Upvote 0
Thank you for the help...Does this make sense?


28-Nov29-Nov30-Nov1-Dec2-Dec3-Dec4-Dec5-Dec6-Dec7-Dec8-Dec9-Dec10-Dec11-Dec
Nurse, BettySUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISATTOTALS
Time In & Time Out (Hrs)24HR OC1000-22301000-22301000-22301000-22301900-07301900-073072.00
OT= Anything over 40 hours in one week-
Shift 1= Day (Regular)- Monday-Friday 7AM-2:59PMNA5.005.005.005.0020.00
Shift 2= BRX ER Evening - Monday-Friday 3PM-10:59PM
$1.00​
7.007.007.007.004.004.0036.00
Shift 3= BRX ER Night - Monday-Friday 11PM-6:59AM
$2.00​
8.008.0016.00
Shift 4= Wnkd Day - Saturday-Sunday 7AM-2:59PM
$1.35​
5.005.0010.00
Shift 5= Wknd Eve - Saturday-Sunday 3PM-10:59PM
$2.25​
7.007.0014.00
Shift 6= Wknd Night - Saturday-Sunday 11PM-6:59AM
$2.55​
Shift 7= BRX (ED SPEC) - Friday 7PM-Monday 7:30AM
$3.00​
3.0012.0012.0012.0039.00
On Call24.0024.00
Call Back
PTO
Tier 3 CS
Holiday
*30 min lunch unpaid
 
Upvote 0
I'm still struggling to understand much.
  1. Why is there 5 hours on Saturday 4 December against Shift 1 as that's designated as "Monday-Friday 7AM-2:59PM"?
  2. I don't see where Overtime should go but it says "per week" so I've shown it against Saturday. I therefore expect that if you work 44 hours one week and 36 hours the next then you would show 4 hours O/T and 0 hours O/T but you'd still be paid 4 hours O/T.
  3. I don't understand how the 30 minutes unpaid lunch is handled. How can you tell when it should be subtracted?
  4. I don't understand what should be done with the rows for Call Back, PTO, Tier 3 CS, Holiday.
Here's my 1st attempt:

Trush12.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
128-Nov29-Nov30-Nov1-Dec2-Dec3-Dec4-Dec5-Dec6-Dec7-Dec8-Dec9-Dec10-Dec11-Dec
2Nurse, BettySUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISATTOTALS
3Time In & Time Out (Hrs)24HR OC1000-22301000-22301000-22301000-22301900-07301900-0730
4Start 29-Nov 10:00   3-Dec 10:004-Dec 10:005-Dec 10:00   9-Dec 20:3010-Dec 20:30 
5End 29-Nov 22:30   3-Dec 22:304-Dec 22:305-Dec 22:30   10-Dec 07:3011-Dec 07:30 
6Hours 12.5   12.512.5 12.5   1111 72
7OT= Anything over 40 hours in one week      28.5       4.533
8Shift 1DayMONTUEWEDTHUFRI7:0015:000Shift 1= Day (Regular)- Monday-Friday 7AM-2:59PMNA 5   5     00 10
9Shift 2EveMONTUEWEDTHUFRI15:0023:000Shift 2= BRX ER Evening - Monday-Friday 3PM-10:59PM$1.00 7.5   7.5     2.52.5 20
10Shift 3NightMONTUEWEDTHUFRI23:007:001Shift 3= BRX ER Night - Monday-Friday 11PM-6:59AM$2.00 0   0     88 16
11Shift 4WK DaySATSUN7:0015:000Shift 4= Wnkd Day - Saturday-Sunday 7AM-2:59PM$1.35      55      10
12Shift 5WK EveSATSUN15:0023:000Shift 5= Wknd Eve - Saturday-Sunday 3PM-10:59PM$2.25      7.57.5      15
13Shift 6WK NightSATSUN23:007:001Shift 6= Wknd Night - Saturday-Sunday 11PM-6:59AM$2.55      00      0
14Shift 7ED SPECFRIMON19:007:301Shift 7= BRX (ED SPEC) - Friday 7PM-Monday 7:30AM$3.00 3.5   3.5      11 18
15On Call24             24
16Call Back
17PTO
18Tier 3 CS
19Holiday
20*30 min lunch unpaid
1st
Cell Formulas
RangeFormula
Q2:W2,I2:O2I2=UPPER(TEXT(I$1,"ddd"))
I4:O4I4=IF(OR(I3="",I3="24HR OC"),"",I1+TIME(LEFT(I$3,2),MID(I$3,2,2),0))
I5:O5I5=IF(OR(I3="",I3="24HR OC"),"",IF(RIGHT(I$3,4)<LEFT(I$3,4),I1+1,I1)+TIME(MID(I$3,6,2),RIGHT(I$3,2),0))
Q4:W4Q4=IF(Q3="","",Q1+TIME(LEFT(Q$3,2),MID(Q$3,2,2),0))
Q5:W5Q5=IF(Q3="","",IF(RIGHT(Q$3,4)<LEFT(Q$3,4),Q1+1,Q1)+TIME(MID(Q$3,6,2),RIGHT(Q$3,2),0))
I6:W6I6=IF(I$5<>"",(I5-I4)*24,"")
I7:W7I7=IF(I$2="SAT",MAX(0,SUM(C8:I15)-40),"")
X6:X15X6=SUM(I6:W6)
I8:O15,Q8:W15Q8=IF(AND(Q$3="24HR OC",$G8="On Call"),24,IF(AND(Q$4<>"",ISNUMBER(SEARCH(Q$2,$C8))),MAX(MIN(Q$5,Q$1+$E8+$F8)-MAX(Q$4,Q$1+$D8),0)*24,""))
F8:F14F8=IF(E8<D8,1,0)
 
Upvote 0
I am sorry for the confusion. I am in over my head a bit :) This is very helpful!

1. My mistake on the Dec 4 and Dec 5 for Shift 1 and also on Shift 2 for those days
2. You are correct on the OT
3. Lunch is never paid...they work 12.5 hours but only get paid for 12.
4. ON CALL, Call Back, PTO, Tier 3 CS, Holiday is nothing I need calculated.
 
Upvote 0
1. My mistake on the Dec 4 and Dec 5 for Shift 1 and also on Shift 2 for those days
OK

2. You are correct on the OT
A good guess!

3. Lunch is never paid...they work 12.5 hours but only get paid for 12.
This is where it gets confusing.
Your sample for Friday 3rd December had worked hours of 10:00 to 22:30 and you show:
Shift 1 has 5 hours.
Shift 2 has 7 hours.
Shift 7 has 3 hours.
In my example:
Shift 1 has 5 hours (because the half hour extra isn't in the shift range of 7am to 3pm)
Shift 2 has 7.5 hours.
Shift 7 has 3.5 hours.

I can't subtract 30 minutes from every calculation because the overlap might not include that extra half hour, as in my Shift 1 calculation.
What would you like me to try?

4. ON CALL, Call Back, PTO, Tier 3 CS, Holiday is nothing I need calculated.
Good news!
 
Upvote 0
What if we change hours worked as follows: 10:00-22:00, 19:00-07:00...etc. and eliminate the 30 minutes altogether?
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,941
Members
449,094
Latest member
teemeren

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