+ Reply to Thread
Results 1 to 10 of 10

Need help in TAT calculation (Excel 2007)

  1. #1
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Need help in TAT calculation (Excel 2007)

    Dear Members,

    I need your help in TAT calculation. A file with dummy data is attached for your reference and the criteria is given below. Can anyone please help?

    I am using excel 2007 version.

    TAT Criteria:
    1. Only Sunday is holiday, no public holidays are followed
    2. TAT is 4 hours from received time
    3. Final outcome should be TAT Met or TAT NOT MET
    4. If a file is received on Sunday, the TAT should start from 9:30:00 next day
    5. If a file is received post 18:30 on any workday, the TAT should start from 9:30:00 next day
    6. All time mentioned here is in 24 hours format
    7. Date format is DD-MM-YYYY

    Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Need help in TAT calculation (Excel 2007)

    Not sure if this right, if not please mockup TAT time for each row with an explanation.
    F2
    =IF(SUM(D2:E2)>B2+IF(WEEKDAY(B2)=1,1+"13:30",C2+"4:00"+(C2>--"14:30")*("15:00")),"TAT NOT MET","TAT MET")
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Need help in TAT calculation (Excel 2007)

    Hello Friend,

    Thank you very much for replying. However, the formula is not working correctly under different scenario as required. Can you please look into it?

    I have made some changes in the data to show few more scenarios. Let me give you an explanation for the first row.

    Received date: 15-06-2019 (Saturday)
    File received at: 19:30:00 (the cut off time is 18:30:00 because post that no employees are available)

    as per above scenario, the TAT should start from 17-06-2019 (Monday) and 9:30:00 and the file should be completed by 13:30:00. If you see the example in the attached file, it should be TAT MET.
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Need help in TAT calculation (Excel 2007)

    And what does TAT mean please? You cannot expect everyone to understand technical jargon

  5. #5
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Need help in TAT calculation (Excel 2007)

    Quote Originally Posted by Pepe Le Mokko View Post
    And what does TAT mean please? You cannot expect everyone to understand technical jargon
    I am sorry! TAT means "Turn around time". It's mainly the time frame given to complete each file.

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Need help in TAT calculation (Excel 2007)

    Please try at F2
    =IF(SUM(D2:E2)>WORKDAY.INTL(B2,--OR(C2>--"14:30",WEEKDAY(B2)=1),11)+IF(OR(C2>--"14:30",WEEKDAY(B2)=1),"13:30",C2+"4:00"),"TAT NOT MET","TAT MET")

  7. #7
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Need help in TAT calculation (Excel 2007)

    Quote Originally Posted by Bo_Ry View Post
    Please try at F2
    =IF(SUM(D2:E2)>WORKDAY.INTL(B2,--OR(C2>--"14:30",WEEKDAY(B2)=1),11)+IF(OR(C2>--"14:30",WEEKDAY(B2)=1),"13:30",C2+"4:00"),"TAT NOT MET","TAT MET")
    HI friend,

    Thank again for your reply! However, "WORKDAY.INTL" doesn't work in Excel 2007. It is not returning anything!

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Need help in TAT calculation (Excel 2007)

    How about
    =IF(SUM(D2:E2)>B2+OR(C2>--"14:30",WEEKDAY(B2)=1)+AND(C2>--"14:30",WEEKDAY(B2)=7)+IF(OR(C2>--"14:30",WEEKDAY(B2)=1),"13:30",C2+"4:00"),"TAT NOT MET","TAT MET")

  9. #9
    Registered User
    Join Date
    12-30-2014
    Location
    Mumbai
    MS-Off Ver
    2007
    Posts
    15

    Re: Need help in TAT calculation (Excel 2007)

    Quote Originally Posted by Bo_Ry View Post
    How about
    =IF(SUM(D2:E2)>B2+OR(C2>--"14:30",WEEKDAY(B2)=1)+AND(C2>--"14:30",WEEKDAY(B2)=7)+IF(OR(C2>--"14:30",WEEKDAY(B2)=1),"13:30",C2+"4:00"),"TAT NOT MET","TAT MET")


    Splendid! Thank you very much! Worked like magic!

  10. #10
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Need help in TAT calculation (Excel 2007)

    Please don't quote entire posts unnecessarily. They are just clutter and make threads hard to read.
    Use the "Quick reply" instead
    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calculation of TAT between two dates in Excel 2007
    By tocoolbuddy in forum Excel General
    Replies: 10
    Last Post: 06-04-2014, 09:12 AM
  2. Replies: 6
    Last Post: 04-24-2014, 08:41 AM
  3. Excel 2007 : Complex calculation in Excel 2007
    By TheStealth in forum Excel General
    Replies: 10
    Last Post: 05-07-2011, 07:35 AM
  4. Excel 2007 : Calculation Help In Excel 2007
    By km.mohamedyousuf in forum Excel General
    Replies: 4
    Last Post: 02-24-2011, 07:53 AM
  5. Excel 2007 : Excel 2007 - Calculation time
    By carlo1951 in forum Excel General
    Replies: 4
    Last Post: 01-13-2011, 11:52 AM
  6. Excel 2007 : Is this a calculation bug in Excel 2007 ?
    By Rand_Calc in forum Excel General
    Replies: 5
    Last Post: 03-11-2009, 08:48 AM
  7. Calculation using Macro ( MS Excel 2007 )
    By hally in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-07-2008, 03:48 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1