excel formula to calculate time I would like to present to higher manager on the
ID: 3571048 • Letter: E
Question
excel formula to calculate time
I would like to present to higher manager on the time punctuality within the team
some time x employee will login late and logout early, so I would like to know:
1)on an average how many days the x has worked less than 9 hours
2)Average time he work for less than 9 hours
for example employee X
login 7:00AM
logout 3:00PM
actual login = 7:00AM
actual logout= 4:00PM
so this time he has worked only for 8 hours and the difference 1 hours and some time the difference will be 15minutes
Thanks for help !
Explanation / Answer
Hi,
I'm not sure which columns we're looking at here but the formula below will count the number of times the hours worked; based upon columns B & D, is less than 8 hours...
=SUMPRODUCT(--(D2:D19-B2:B19+(D2:D19<B2:B19)<TIME(8,0,0)))
If you want the count row by row then put this in in (say) G2 and drag down. Format the formula cell as general.
=(D2-B2+(D2<B2))*24
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.