+ Reply to Thread
Results 1 to 3 of 3

Formula to find the target date from the start date with few criteria.

  1. #1
    Registered User
    Join Date
    09-21-2013
    Location
    chennai,India
    MS-Off Ver
    Excel 2010
    Posts
    75

    Formula to find the target date from the start date with few criteria.

    Hi All,

    I have to find the target date from the start date but it should exclude weekends(saturday and sunday).

    say example, i have two kinds of products milk and medicine.

    i want to calculate the dispatch timings.So i am capturing the start_date and the target date.

    For Milk, the target date should be start_date + 3 business days.
    For Medicine, the target should be start_date + 7 business days.


    But on the above both cases, the calculation should exculde the weekends between two dates(start date and target date).

    start_date like 12/7/13 10:20 AM.

    Thanks in Advance

    Thinker

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula to find the target date from the start date with few criteria.

    hi there. a sample Excel file with your desired results would help. say A1 is the date, then maybe:
    =WORKDAY(A1,3)

    change to 7 for Medicine. if you need the time, then:
    =WORKDAY(A1,3)+MOD(A1,1)

    if Milk or Medicine is in Column B, then maybe:
    =WORKDAY(A1,IF(B1="Milk",3,7))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-21-2013
    Location
    chennai,India
    MS-Off Ver
    Excel 2010
    Posts
    75

    Re: Formula to find the target date from the start date with few criteria.

    Hi Benishriyo,

    WOW.. it works..
    Last edited by Thinker8; 12-09-2013 at 06:33 AM.

+ 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. Replies: 5
    Last Post: 09-24-2013, 02:40 PM
  2. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  3. [SOLVED] Find start date and end date for the employee
    By Solomon14all in forum Excel General
    Replies: 2
    Last Post: 09-29-2012, 12:46 AM
  4. [SOLVED] Find date using start date and number of network days
    By v!ctor in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 05:27 PM
  5. Replies: 2
    Last Post: 01-04-2012, 09:15 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