In the Philippines, every employee is entitled to a Night Differential of Night shift pay of not less than 10% of his regular wage for each hour of work performed between 10 pm and 6 am.
How to compute night differential in excel?
A2 (TIME IN)
B2 (TIME OUT)
in C2 type this formula: =B2-A2
in D2 type this formula: =IF(AND(MOD(A2,1)< TIME(22,0,0),MOD(A2,1)> TIME(6,0,0)), TIME(22,0,0)-MOD(A2,1),0)
+IF(AND(MOD(B2,1)< TIME(22,0,0),MOD(B2,1)> TIME(6,0,0)),MOD(B2,1)-TIME(6,0,0),0)
E2 =C2-D2
Column C is the total hours, column D is standard/regular hours, column E night differential hours.
Format A&B as mm/dd/yyyy hh:mm, and C,D, & E as [h]:mm
Bookmarks