+ Reply to Thread
Results 1 to 6 of 6

Date caluclator to exclude weekends

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Date caluclator to exclude weekends

    I have a spreadsheet that calculates a future date based on a fixed start date, by inserting the number of weeks you would like it to project.

    I.e

    Start Date: 01/01/2011 (Saturday)
    No Weeks: 14
    End Date: 09/04/2011 (Saturday)

    I use this to arrange appraisal interviews.

    Now if someone starts work for us on either a Saturday or Sunday, the calculation will naturally show a Saturday or Sunday date, however many weeks into the future.

    We don’t interview at the weekends so Id like the calculator to show the first Monday date following a Saturday or Sunday. In this example it would be 11/04/2011. Also if the formula could display the Day of the week that would be better, i.e Monday 11/04/2011

    Can any one help.

    Sample sheet attached.

    Brian
    Attached Files Attached Files
    Last edited by singerbatfink; 09-01-2011 at 05:29 AM.

  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: Date caluclator to exclude weekends

    Hello Brian,

    See the attached,

    Regards
    Attached Files Attached Files
    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 Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Date caluclator to exclude weekends

    Thanks Richard, thats perfect.

    As an afterthought would it be possible to build in a list if bank holiday dates.?

    Thanks

    Brian

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Date caluclator to exclude weekends

    NETWORKDAYS Function allows for a list of Bank Holidays. Check the Help files
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,697

    Re: Date caluclator to exclude weekends

    This formula in C3 will give the same result as Richard's

    =WORKDAY(A3+B3*7-1,1)

    If you have a list of holidays, e.g. in H2:H10 then you can add that too

    =WORKDAY(A3+B3*7-1,1,H$2:H$10)

    Note that WORKDAY is part of Analysis ToolPak add-in if you are using Excel versions earlier than 2007
    Audere est facere

  6. #6
    Forum Contributor
    Join Date
    03-02-2010
    Location
    Northumberland, England
    MS-Off Ver
    Excel 2016
    Posts
    143

    Re: Date caluclator to exclude weekends

    Thanks Richard, RoyUK and daddylonglegs.

    This works perfectly now..

    Cheers

    Brian

+ 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