+ Reply to Thread
Results 1 to 5 of 5

How to calculate workdays in a month?

  1. #1
    Forum Contributor
    Join Date
    10-30-2007
    Posts
    125

    Question How to calculate workdays in a month?

    Greetings- Does anyone know of an easy way to calculate business days in a month minus weekends and holidays?

    TIA,
    ExcelNewby

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The Networkdays() function should work for you. It is, however, an Analysis Toolpak function and therefore the Analysis Toolpak must be installed.

    Go to Tools|Options|Addins and select the Analysis Toolpak...

    example formula: =Networkdays(A1,B1,X1:X10)

    Where A1 is Start date, B1 is End Date and X1:X10 contains holidays to ignore.
    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.

  3. #3
    Forum Contributor
    Join Date
    10-30-2007
    Posts
    125
    Thank you for your reply, it was greatly appreciated as always. Based on my manual calculation (ex. Jan 08=21), your formula included the holidays but not weekends (23-I'm going to assume the two days are New Year & MLK). How can I get it to exclude both weekends and holidays.

    Thank you. Your cute boy is growing FAST

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    According the help files on Networkdays function:

    Returns the number of whole working days between start_date and end_date. Working days exclude weekends and any dates identified in holidays. Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days worked during a specific term.
    So not sure how it is including weekends

    Note: If you holidays fall on the weekends, then the date is not double-counted...
    Last edited by NBVC; 06-19-2008 at 10:12 AM.

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    How are you listing the holiday dates? You need to put the actual dates within the holiday range.

+ 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