turn around time calculation

rammergu

New Member
Joined
Oct 17, 2006
Messages
8
hi,
i want to calculate the TAT between two times. the TAT target is <= 2 hours. i used the following formula
a1 has 3/13/2009 (received date)
b1 has 7:08 AM (received time)
c1 has 3/13/2009 (completed date)
d1 has 9:08 AM (completed time)
e1 has TAT formula :- '=IF((D1-B1)*1440<=120,"Met TAT","Not Met TAT")

however this formula does not work in the following conditions.

In these conditions, it is considered that TAT is met.
1. When the difference in time is <=2 hours .... for TAT calculation, on working days and working hours are taken into consideration.

To illustrate.
Day begins : 8:00 AM
Day ends : 4:00 PM

If job is received at 3:30 PM and completed the next working day by 9:30 AM, then it is considered TAT is met.
calculation = 4:00 PM - 3:30 PM = half hour + next day's 9:30 AM - 8:00 AM = 1.5 hours, therefore, total working hours used to complete the job is within the agreed TAT.

If job is received and completed on non working days and during non working hours, it is considered TAT met.

If job is received almost at the end of the day, say, 3.30 PM and job is completed at 8:00 PM same day, then it is considered TAT met, rationale, only half an hour of working hours used to complete the job.

Any suggestion to build upon my formula is greatly appreciated.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Small amendment:
Excel Workbook
ABCDE
11-Mar-0914:091-Mar-0916:54Not met
22-Mar-0912:382-Mar-0914:19Met
33-Mar-0915:474-Mar-098:07Met
44-Mar-0915:305-Mar-098:18Met
54-Mar-099:404-Mar-0910:34Met
64-Mar-099:074-Mar-0911:01Met
75-Mar-0913:325-Mar-0915:28Met
86-Mar-0915:599-Mar-098:27Met
96-Mar-0915:529-Mar-0910:25Not met
109-Mar-098:299-Mar-0910:19Met
119-Mar-098:189-Mar-0910:19Not met
1210-Mar-098:5910-Mar-0911:02Not met
1310-Mar-0912:4410-Mar-0915:41Not met
1411-Mar-0915:4612-Mar-099:02Met
1511-Mar-099:4611-Mar-0910:47Met
1612-Mar-0915:0513-Mar-098:28Met
1713-Mar-0914:0113-Mar-0915:32Met
1816-Mar-0910:2216-Mar-0912:50Not met
1917-Mar-099:1717-Mar-0910:44Met
2017-Mar-099:3917-Mar-0910:27Met
Sheet2
 
Upvote 0
Thank you Sol Paradise,

I found a solution that is similar to my question and it meets my need perfectly, The link to the solution is below for your reference.

http://www.ozgrid.com/forum/showthread.php?t=85062

=(NETWORKDAYS(A2,B2,$J$4:$J$10)-1)*(J$3-J$2)+IF(NETWORKDAYS(B2,B2,$J$4:$J$10),MEDIAN(MOD(B2,1),J$3,J$2),J$3)-MEDIAN(NETWORKDAYS(A2,A2,$J$4:$J$10)*MOD(A2,1),J$3,J$2)

Regards,
Ram
 
Upvote 0
Sir, your post was very much helpful for me. but my only doubt is for the desired turn around time <= 2 hrs you have substituted (D1-B1)*1400<=120 in the formula. I didn't understand the logic behind that so that I can apply the same for desired turnaround time of <= 4 hrs.
Looking forward for your reply and help. I am an MBA student of VIT University doing my internship project at TAFE, My email Id is ratish.ratheesh.t@gmail.com.
Thank You Sir!!
 
Upvote 0
I have a question. pls solve this. i need a simple formula for below.

S.NOVEH NO.IN DATE IN TIMEOut DATE Out timeTAT
123346-FUJ01.11.20171:2002.11.201714:30
220022-FUJ02.11.20171:2002.11.201714:30
311882-DXB04.11.201719:3005.11.20179:40
412002-DXB05.11.20172:1005.11.20179:40
513489-DXB05.11.201718:5005.11.20179:40

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Pls reply
 
Upvote 0

Forum statistics

Threads
1,213,530
Messages
6,114,162
Members
448,554
Latest member
Gleisner2

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