Hello Everyone
-Sheet "Attendance contains the full timing of employees
-In this sheet"Report",every employee work in multiple areas
-I want to calculate the overtime of every employee for every area
Find the attachment
Hello Everyone
-Sheet "Attendance contains the full timing of employees
-In this sheet"Report",every employee work in multiple areas
-I want to calculate the overtime of every employee for every area
Find the attachment
how do you decide area A or B?
AG3=SUMPRODUCT((Attendance!$B$3:$B$31=B3)*(Attendance!$C$2:$AF$2-0>16)*(Attendance!$C$3:$AF$31))*24-SUMPRODUCT((Attendance!$B$3:$B$31=B3)*(Attendance!$C$2:$AF$2-0>16)*(Attendance!$C$3:$AF$31>0)*1)
AG13=SUMPRODUCT((Attendance!$B$3:$B$31=B13)*(Attendance!$C$2:$AF$2-0<17)*(Attendance!$C$3:$AF$31))*24-SUMPRODUCT((Attendance!$B$3:$B$31=B13)*(Attendance!$C$2:$AF$2-0<17)*(Attendance!$C$3:$AF$31>0)*1)
AG3 =SUMPRODUCT((Attendance!B$3:B$31=B3)*(C3:AF3<>"")*(Attendance!C$3:AF$31))*24-SUMPRODUCT((Attendance!B$3:B$31=B3)*(C3:AF3<>"")*(Attendance!C$3:AF$31>0))*8
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks