excel - Calculate hours outside normal working time -


from sample xls(office2007) listed below. trying calculate hours worked 17:00 onwards. show me how write formula achieve this. many thanks...

leaving time    arrival time    deliverytime    rtb      time per job   hoursfordayswork 09:30:00       11:05:00         11:15:00        11:15:00    01:45:00    12:00:00 11:15:00        12:15:00        12:30:00        13:30:00    02:15:00     13:30:00       15:30:00         15:45:00        15:45:00    02:15:00     15:45:00       18:15:00         18:30:00        18:30:00    02:45:00     18:30:00       19:00:00         19:45:00        21:30:00    03:00:00     

time in excel based upon parts of 24 (whole day) explained in this article.

so assuming care hours after 17:00, not after midnight, following should out:

=if(c2<17/24,0,c2-17/24)*24 

c2 cell calculation for, 17/24 giving time 17:00 (5pm). *24 @ end converts response in hours instead of partial day.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -