Turnaround Time between date & time needed in hours excluding weekends and holidays

dawwni

New Member
Joined
Feb 10, 2023
Messages
19
Office Version
  1. 365
I need to calculate total turn around time between a start date and time and an end start and time. The turnaround time would be reported in total hours between the two and need to exclude weekends and holidays.
Example:
Date ReceivedTime ReceivedDate CompletedTime CompletedTurnaround Time in Hours
1/3/238:261/4/238:26
1/3/2313:151/4/2216:33

Please also clarify the cell formats in order for it to work. Thanks,
 
cell format should be [hh]:mm
Try this formula in cell I2. I did not do anything else with the other formulas in the worksheet:

Book1
ABCDEFGHIJKLMN
1Date ReceivedTime ReceivedDate CompletedTime Completedwhole dayswhole days in hrsTAT Hrs (Turn Around Time)combinedCalculated HoursHolidays
2Mon, 2023-03-1306:20Tue, 2023-03-1408:2000:0000:0000:0000:0026:00Should be 26 hrs2023-01-01
3Mon, 2023-03-1306:20Tue, 2023-03-1408:2200:0000:0000:4800:4826:02Should be 26 hr 2 min2023-05-29
4Mon, 2023-03-1306:20Tue, 2023-03-1408:4900:0000:0011:3611:3626:292023-07-04
5Mon, 2023-03-1306:20Tue, 2023-03-1408:2200:0000:0000:4800:4826:022023-09-04
6Mon, 2023-03-1306:20Tue, 2023-03-1408:5000:0000:0012:0012:0026:302023-11-23
7Mon, 2023-03-1306:20Tue, 2023-03-1408:5100:0000:0012:2412:2426:312023-11-24
8Mon, 2023-03-1310:00Tue, 2023-03-1410:1800:0000:0007:1207:1224:182023-12-24
9Mon, 2023-03-1306:20Tue, 2023-03-1408:5100:0000:0012:2412:2426:312023-12-25
10Mon, 2023-03-1310:05Tue, 2023-03-1409:2300:0000:0007:1207:1223:18Formulas
11Mon, 2023-03-1310:05Tue, 2023-03-1409:2300:0000:0007:1207:1223:18Whole Days2
12Mon, 2023-03-1309:50Tue, 2023-03-1408:5100:0000:0000:2400:2423:01Whole Days inHrs48
13Tue, 2023-03-1414:41Wed, 2023-03-1507:3500:0000:0021:3621:3616:54TAT in Hrs2
14Tue, 2023-03-1413:30Wed, 2023-03-1511:2400:0000:0021:3621:3621:54Combined50
15Tue, 2023-03-1413:30Wed, 2023-03-1511:2300:0000:0021:1221:1221:53
16Fri, 2023-03-0316:00Mon, 2023-03-0608:0000:0000:0000:0000:0016:00not working at all over a weekend
Sheet1
Cell Formulas
RangeFormula
L11L11=NETWORKDAYS.INTL(A2,C2,1,N2:$N9)+IF(B2>D2,-1,0)
L12L12=24*(NETWORKDAYS.INTL(A2,C2,1,O2:$U9)+IF(B2>D2,-1,0))
L13L13=(IF(B2>D2,1,0)+D2-B2)*24
L14L14=24*(NETWORKDAYS.INTL(A2,C2,1,O2:$U9)+IF(B2>D2,-1,0))+(IF(B2>D2,1,0)+D2-B2)*24
I2:I16I2=IF(NETWORKDAYS.INTL(A2,C2,1,$N$2:$N$9)-1=0,D2-B2,(NETWORKDAYS.INTL(A2,C2,1,$N$2:$N$9)-1)) +(D2-B2)
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,828
Messages
6,181,204
Members
453,022
Latest member
RobertV1609

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top