Calculate hours of work substracting non-working time

  • Thread starter Thread starter robo
  • Start date Start date
R

robo

We have an application that gives us these fields in Excel. These are logged
jobs being performed for staff.

Start Date (date the job started)
StartTime
Returned Date (date job was completed)
Returned Time
Turnaround hours (total hours including non-working time)

If the job goes beyond the day it's started, I would like to create a
calculation to determine the numbers of hours a job took minus 16 hours of
non-working time for each day.

Thanks
 
If the job goes beyond the day it's started, I would like to create a
calculation to determine the numbers of hours a job took minus 16
hours of non-working time for each day.

Try:

=A5-16*(A3-A1)

where A1 is the start date, A3 is the end date and A5 is the total hours.
That assumes that A5 is indeed hours, not the format hh:mm. If the latter,
then try:

=A5-16*(A3-A1)/24


----- original message -----
 
Thanks for your help
Rob

JoeU2004 said:
Try:

=A5-16*(A3-A1)

where A1 is the start date, A3 is the end date and A5 is the total hours.
That assumes that A5 is indeed hours, not the format hh:mm. If the latter,
then try:

=A5-16*(A3-A1)/24


----- original message -----
 
Back
Top