+ Reply to Thread
Results 1 to 4 of 4

How to calculate the number of specific weekdays in a month

  1. #1
    Registered User
    Join Date
    05-10-2011
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    How to calculate the number of specific weekdays in a month

    Hi,

    I am trying to find out how many specific weekdays exist in a month. For example, I need to know how many Mondays in a particular month.

    I know how to get the working days in a month using the networkdays formula but is there any way then to link that to another formula which gives you a break down of the number of specific days e.g.

    May has 22 work days, 5 Mondays, 5 Tuesdays, 4 Wednesdays, 4 Thursdays and 4 Fridays

    Thanks
    Last edited by rowlandrat; 05-10-2011 at 10:53 AM.

  2. #2
    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 the number of specific weekdays in a month

    With A1 containing a date, try:

    Please Login or Register  to view this content.
    This finds # of Mondays in the month of the date you entered.

    Change the 1 to 2 for Tuesday, 3 for Wednesday, etc...
    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 Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How to calculate the number of specific weekdays in a month

    An array formula (commit with Ctrl+Shift+enter)

    Please Login or Register  to view this content.
    This formula assumes the following:
    A2 contains the beginning date of the interval
    B2 contains the ending date of the interval
    C2 contains the day-of-week number (1=Sunday, 2=Monday,...,7=Saturday)

  4. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: How to calculate the number of specific weekdays in a month

    There is also a function called NETWORKDAYS()

    I think you need to have the analysis toolpak installed for this, though.

    Anyway, the syntax is

    =NETWORKDAYS(Start_Date,End_Date,[Holidays])

    **Edit**
    Oh. Nevermind. I read the original post again, this time with my eyes open, and realized what you were asking. NETWORKDAYS will give you the total count of workdays, but not specific days.
    Last edited by Whizbang; 05-10-2011 at 10:03 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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