+ Reply to Thread
Results 1 to 3 of 3

Is there an easy way to calculate # of "work days" in a month?

  1. #1
    Forum Contributor
    Join Date
    03-12-2004
    Posts
    147

    Is there an easy way to calculate # of "work days" in a month?

    I'm sure there is, just haven't figured out how.. suspecting somthing to do with the "workday" formula, but not sure how to use it right.

    thanks in advance

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try

    =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)),2)<6))

    or networkdays (See link)

    http://support.microsoft.com/kb/259200

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Have a look at

    Use Datedif
    Have a read of Chips page ob this function

    http://www.cpearson.com/excel/datedif.htm

    A1 = 1/10/2006
    B1 = 1/11/2006

    =DATEDIF(A1,B1,"d")-1

+ 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