ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calculate hours of work substracting non-working time (https://www.excelbanter.com/excel-worksheet-functions/232765-calculate-hours-work-substracting-non-working-time.html)

[email protected]

Calculate hours of work substracting non-working time
 

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

joeu2004

Calculate hours of work substracting non-working time
 
" wrote:
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 -----

" wrote in
message ...

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



[email protected]

Calculate hours of work substracting non-working time
 
Thanks for your help
Rob

"JoeU2004" wrote:

" wrote:
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 -----

" wrote in
message ...

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





All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com