+ Reply to Thread
Results 1 to 9 of 9

How to calculate (and remove) the number of weekend days between two date ranges

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    How to calculate (and remove) the number of weekend days between two date ranges

    Hi,

    I need to keep record of the number of days people have off sick from work.

    I have a simple END DATE - START DATE formula but I need to ignore any non weekend days

    Is there a nice simple solution?

    Thanks
    Last edited by Gooford; 03-09-2012 at 10:11 AM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    With your start date in A1 and your end date in A2

    =NETWORKDAYS(A1,A2)

  3. #3
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    Hi,

    When I type this in I get #NAME?

    Is there something missing?

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    Hi
    Inoffice 2003 you have to install anova pack 1 add in

    In toll menu select add in and select the addin

    You may need office 2033 CD

    Regard
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    That's Analysis Toolpak addin....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    Oh dear that is not an option as I dont have administrator privileges - is there another function?

  7. #7
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    Quote Originally Posted by NBVC View Post
    That's Analysis Toolpak addin....
    Thanks for correction

    Best regards

  8. #8
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    With start date in A1 and end date in A2...possibly,

    =((A2-A1+WEEKDAY(A1)-WEEKDAY(A2))/7)*5-(WEEKDAY(A1)-WEEKDAY(A2))

  9. #9
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: How to calculate (and remove) the number of weekend days between two date ranges

    Thanks everyone

+ 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