+ Reply to Thread
Results 1 to 5 of 5

combining if functions for date based TAT calculation

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    8

    combining if functions for date based TAT calculation

    Hi,

    I have 2 columns with dates one which is projected delivery date & the other the actual delivery date. I want to populate "Delivered within TAT" if the delivery happens before the projected delivery date & "Delivered out of TAT" if delivered after the projected delivery date, for this I have the formula which is IF(AC2>D2),"delivered Out of TAT","delivered Within TAT"), but if the delivery date is blank that 00/00/0000 then I want it to populate "Within TAT Yet to be delivered" for which I am not sure what needs to be the formula! Please help.

    I tried this =IF(AD2<1, "Within TAT Yet to be delivered",""), IF(AND(AC2>D2),"delivered Out of TAT","delivered Within TAT"), but it gives me a "#Value!" error

    Urgent Please help!! Thanks in advance :-)

    Regards,
    Smitha

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: combining if functions for date based TAT calculation

    Maybe

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: combining if functions for date based TAT calculation

    =IF(AD2="","Within TAT Yet to be delivered",IF(AC2>D2,"delivered Out of TAT","delivered Within TAT"))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    06-13-2011
    Location
    bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: combining if functions for date based TAT calculation

    Thanks Martin!!!! You bailed me out :-)

    Regards,
    Smitha

  5. #5
    Registered User
    Join Date
    06-13-2011
    Location
    bangalore, India
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: combining if functions for date based TAT calculation

    Quote Originally Posted by Richard Buttrey View Post
    Maybe

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks Richard! It works great :-)

+ 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. Depreciation calculation based on date and if functions
    By mingali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2013, 09:48 AM
  2. IF Functions: Combining different calculations based on choice from one column
    By Nairobi Nice in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-19-2013, 07:31 AM
  3. Replies: 4
    Last Post: 06-02-2012, 11:26 AM
  4. Quick date calculation functions
    By Grey in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-18-2010, 03:01 AM
  5. [SOLVED] Calculation based on date
    By Jack in forum Excel General
    Replies: 3
    Last Post: 03-22-2006, 04:20 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