+ Reply to Thread
Results 1 to 5 of 5

[SOLVED] workday function --> calculate START date

  1. #1
    Registered User
    Join Date
    06-11-2010
    Location
    Ghent, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    17

    [SOLVED] workday function --> calculate START date

    Hello,

    The workday function can return the end date based on start date and duration, excluding weekends. However, I want to calculate start date based on end date and duration also weekends.

    For example

    Start Date: ?
    Finish Date: 27 Jul 2010
    Duration: 3 days

    The Start Date should be 24 July 2010

    I would very much appreciate it if you would take a look at this problem, many thanks in advance for your help!

    Regards,

    Kaatje
    Last edited by kaaver; 06-14-2010 at 09:17 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: workday function --> calculate START date

    The WORKDAY() function works in both directions.

    A3 --- End Date
    A4 --- Duraition

    Formula in A2:
    =WORKDAY(A3, -A4)

    The answer is 22 July, 2010, though.


    If you do not want to skip weekends:
    =A3-A4
    ...formatted as Date.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: workday function --> calculate START date

    Try

    =WORKDAY(end_date,-days)

  4. #4
    Registered User
    Join Date
    06-11-2010
    Location
    Ghent, Belgium
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: workday function --> calculate START date

    Simple answer, I should have known this! Thanks to you both!

    Regards,

    Kaatje

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: workday function --> calculate START date

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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