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.
 

Sal Paradise

Well-known Member
Joined
Oct 23, 2006
Messages
2,457
Small amendment:
Excel Workbook
ABCDE
11-Mar-0914:091-Mar-0916:54
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
 

rammergu

New Member
Joined
Oct 17, 2006
Messages
8
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
 

ratishleo

New Member
Joined
May 7, 2014
Messages
1
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!!
 

suru1525

New Member
Joined
Dec 7, 2017
Messages
1
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
 

manibiotech

New Member
Joined
Dec 9, 2019
Messages
1
Office Version
2010
Tat i want in two different time means 0to 60min,61to120min,121 minto 180min
 

Forum statistics

Threads
1,082,323
Messages
5,364,582
Members
400,809
Latest member
formulasataglance

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top