Results 1 to 3 of 3

Autofill weekdays/skip weekends in a month

Threaded View

  1. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Autofill weekdays/skip weekends in a month

    see NETWORKDAYS function in XL Help, eg

    B2: =NETWORKDAYS(EOMONTH(A2,-1)+1,A2,holidays)
    copied down

    where holidays is a named range containing public holidays to be excluded in addition to weekends - if not required omit.

    If you're working the other way around, which in hindsight I think you are, then see WORKDAY function (works along similar lines to above)

    A2: =WORKDAY(DATE(2009,12,0),B2,holidays)
    copied down

    where B2 contains your workday flag - use of named range as before and optional as before
    Last edited by DonkeyOte; 11-30-2009 at 03:07 PM.

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