+ Reply to Thread
Results 1 to 5 of 5

Workdays Formula

  1. #1
    Registered User
    Join Date
    10-20-2010
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Workdays Formula

    I need to be able to calculate the date which is 7 working days before a specific date. For example,

    Target date is 18 November 2010
    7 working days before due date is 9 November 2010
    5 working days before due date is 11 November 2010
    2 working days before due date is 16 November 2010

    What are the formulae I need to get each respective answer?

    All clues gratefully received!
    Last edited by Vivienne; 10-20-2010 at 11:55 AM.

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Workdays Formula

    Assuming that you dont include holidays and that weekends are sat/sun :-

    =LARGE(ROW(INDIRECT(B1&":"&B1-B2-3))*(MOD(ROW(INDIRECT(B1&":"&B1-B2-3)),7)>1),B2)

    entered with CTRL-SHIFT-ENTER

    where B1 is the Ending Date and B2 is the number of working days, it works like an inverse networkdays
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Workdays Formula

    or:
    workday(<cell with 18th November>,-7)
    workday(<cell with 18th November>,-5)
    workday(<cell with 18th November>,-2)

    For which you need to have the analysis toolpak installed (to check, tools-> addins, check in analysis toolpak)
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Workdays Formula

    You can use WORKDAY function from Analysis ToolPak, i.e. to get 7 working days before a date in A2

    =WORKDAY(A2,-7)

    If that gives an error then try enabling the ToolPak

    Tools > add-ins > tick "Analysis ToolPak"

    format result cell as a date
    Audere est facere

  5. #5
    Registered User
    Join Date
    10-20-2010
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Workdays Formula

    Thanks folks, problem 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