+ Reply to Thread
Results 1 to 3 of 3

Count daynames in a defined week

  1. #1
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Count daynames in a defined week

    I use the function below to count all days equal to monday in a range of dates, but I want to extend this function to count only mondays with weeknumber 11 as an example. I am aware of the WEEKNUM-function, but it will not work together with SUMPRODUCT because one can not use WEEKNUM on arrays.


    Code:
    =SUMPRODUCT(--(WEEKDAY(range)=2))

    This is a link to my question about counting daynames.

    http://www.excelforum.com/excel-gene...-equal-to.html
    Last edited by mkvassh; 03-19-2010 at 05:31 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: Count daynames in a defined week

    Try, perhaps:

    Please Login or Register  to view this content.
    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
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Re: Count daynames in a defined week

    Great. It works... Thanks a lot :-)

+ 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