+ Reply to Thread
Results 1 to 12 of 12

Calculate due date depending on type of request

  1. #1
    Registered User
    Join Date
    12-31-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    10

    Calculate due date depending on type of request

    Hi All,

    I need to calculate business due date where it differs from request
    Ex:
    Received Date Due date Request type TAT
    4/1/2013 4/4/2013 Normal 3 day
    4/1/2013 4/2/2013 Rush 1 day
    4/1/2013 4/6/2013 Exception 5 day

    The due date should atumatically calculate including the weekends which is sat and sunday.

    Pls help me with excel formula...

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate due date depending on type of request

    It looks like all you need to do is add the number of days to the date.

    A1 = 4/1/2013
    D1 = 3

    =A1+D1
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Calculate due date depending on type of request

    HI anjali0729
    if you column is 3 day, then you need like this

    Please Login or Register  to view this content.
    and change the cell format to date.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Registered User
    Join Date
    12-31-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Calculate due date depending on type of request

    Thanks for your prompt responce....i need the due date calculate automatically depending on the request type as each type has different TAT...

    Pls help again.....

    Thanks,
    Hema

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate due date depending on type of request

    Maybe this...

    Create a 2 column table with the request type in the left column and the TAT (whatever that is, turn around time?) in the right column:

    Normal.........3
    Rush............1
    Exception.....5

    Let's assume that table is in the range J2:K4.

    Then:

    A2 = some date like 4/1/2013
    C2 = some request type like Normal

    Then, the formula would be:

    =A2+VLOOKUP(C2,J$2:K$4,2,0)

    Format as Date

  6. #6
    Registered User
    Join Date
    12-31-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Calculate due date depending on type of request

    hey Tony..

    Thank u so much..this does work.....one more thing its capturing the weekends..is it possible to not count the weekend while applying the formula mentioned by.....

    Thanks again for teaching me sumthing new...

    Thanks,
    anjali

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate due date depending on type of request

    Something like this...

    =WORKDAY(A2,VLOOKUP(C2,J$2:K$4,2,0))

    If you need to exclude any holidays from the calculation then list the holiday dates in a range of cells, say L2:L10, then use this version:

    =WORKDAY(A2,VLOOKUP(C2,J$2:K$4,2,0),L2:L10)

    Format the result as Date

  8. #8
    Registered User
    Join Date
    12-31-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Calculate due date depending on type of request

    Hi Tony,......

    Need one more help....the vlook up is aboslutely working..again i have another creiteria..where the vlook up need to search for normal or rush as said above and them look in next column for exception..is there way out for this......

    pls help ....

    Thanks a lot

  9. #9
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Calculate due date depending on type of request

    I think better to have if formula then.. Can you post a sample file?

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate due date depending on type of request

    Not sure I understand.

    the vlook up need to search for normal or rush
    Isn't that what the VLOOKUP is already doing?

  11. #11
    Registered User
    Join Date
    12-31-2010
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Calculate due date depending on type of request

    hey Tony..

    The Vlook up is doing perfectly, however the exceptions are in onother column. so when formula seaches it finds only normal, rush and exceptions where only we update type i e Rush n normal in 1 column but the exceptions r in onther column which v look cannot identify...

  12. #12
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Calculate due date depending on type of request

    Sorry, I don't understand.

    Can you post a SMALL sample file (about 20 rows worth of data is plenty) so I see how your data is laid out?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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