Results 1 to 6 of 6

Thread: TAT Calculation

  1. #1
    Junior Member
    Join Date
    Apr 2016
    Posts
    3
    Rep Power
    0

    TAT Calculation

    Hi,

    I have excel sheet, wherein we have ticket raise date and time & ticket close date and time. i need to calculate the time difference if the ticket is closed with 4 hrs to TAT or not. also if the ticket is created after 2:30 PM then the time calculation will be till 6:30 for TAT and rest of the TAT will start next day after 9:30 AM. need to exclude saturday and sunday.

    sample file is like this:

    Ticket Number Date Help Topic Source Current Status Last Updated
    158635 22-02-2016 09:32 Featured Static Listing Phone Closed 22-02-2016 12:32
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Jul 2015
    Posts
    1
    Rep Power
    0
    Hi, see if this formula does the trick in calculating the TAT:
    =(NETWORKDAYS(B2,F2)-1)*("18:30"-"09:30")+IF(NETWORKDAYS(F2,F2);MEDIAN(MOD(F2,1),"1 8:30";"09:30"),"18:30")-MEDIAN(NETWORKDAYS(B2,B2)*MOD(B2,1),"18:30","09:30 ")

    The formula to check f TAT is realized is:=IF(G2*24>4,"No","Yes")

  3. #3
    Junior Member
    Join Date
    Apr 2016
    Posts
    3
    Rep Power
    0
    Quote Originally Posted by joris moerings View Post
    Hi, see if this formula does the trick in calculating the TAT:
    =(NETWORKDAYS(B2,F2)-1)*("18:30"-"09:30")+IF(NETWORKDAYS(F2,F2);MEDIAN(MOD(F2,1),"1 8:30";"09:30"),"18:30")-MEDIAN(NETWORKDAYS(B2,B2)*MOD(B2,1),"18:30","09:30 ")

    The formula to check f TAT is realized is:=IF(G2*24>4,"No","Yes")

    Hi Joris,

    thanks for help but this formulla is not working, giving #Value error.

    Regards,
    Pramod Kumar

  4. #4
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    Pramod, are you saying that any ticket that is created before 6:30PM should have a TAT of 4 hours. And if any ticket is created after 6:30PM, then the TAT should be 4 hours from 9:30AM the next working day? And you need a formula to check whether that TAT is met or not?
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  5. #5
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,402
    Rep Power
    10
    If what I asked is correct, then you could validate the TAT compliance using this formula

    =IF(MOD(B2,1)>TIME(18,30,0),F2-WORKDAY(B2,1)+TIME(9,30,0),F2-B2)<=TIME(4,0,0)

    But if you are looking for something else, let me know.
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  6. #6
    Junior Member
    Join Date
    Apr 2016
    Posts
    3
    Rep Power
    0
    Quote Originally Posted by Excel Fox View Post
    If what I asked is correct, then you could validate the TAT compliance using this formula

    =IF(MOD(B2,1)>TIME(18,30,0),F2-WORKDAY(B2,1)+TIME(9,30,0),F2-B2)<=TIME(4,0,0)

    But if you are looking for something else, let me know.
    Hi,

    Thanks this was really a great help, i really appreciate your efforts. earlier it took me hours to calculate the data, but now with this i can calculate thousands to rows within a minutes.

    thanks once again.

    Regards,
    Pramod Kumar

Similar Threads

  1. On Going Calculation
    By justme1052 in forum Excel Help
    Replies: 2
    Last Post: 12-31-2013, 02:06 AM
  2. Correcting “Negative” Time Difference Calculation in Excel
    By Transformer in forum Tips, Tricks & Downloads (No Questions)
    Replies: 0
    Last Post: 05-17-2013, 12:32 AM
  3. Formula Following Order Of Calculation BODMAS
    By paul_pearson in forum Excel Help
    Replies: 7
    Last Post: 03-27-2013, 02:07 PM
  4. Hours Calculation between two times
    By excel_learner in forum Excel Help
    Replies: 3
    Last Post: 11-21-2012, 05:04 PM
  5. Calculation with different condition in a cell
    By LalitPandey87 in forum Excel Help
    Replies: 5
    Last Post: 04-04-2012, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •