+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    07-01-2009
    Location
    Brighton
    MS-Off Ver
    Excel 2003
    Posts
    2

    Counting the number of Mondays between a start and end date

    Hi,

    I had a formula that uses a start and end date and the excel value for Monday (2) to return the number of mondays there are between two dates.

    For the life of me, I can't find it now - anyone have this?


    Cheers
    Phil

  2. #2
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,006

    Re: Counting the number of Mondays between a start and end date

    =SUMPRODUCT(--(WEEKDAY(StartDate-1+ROW(INDIRECT("1:"&(EndDate-StartDate+1))))=2))


    red 2 can be changed to 1=sun .. 7 = sat
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  3. #3
    Registered User
    Join Date
    07-01-2009
    Location
    Brighton
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Counting the number of Mondays between a start and end date

    You dancing bear!

    Thanks - works a treat.
    Phil

  4. #4
    Non English Excel Moderator arthurbr's Avatar
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,055

    Re: Counting the number of Mondays between a start and end date

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

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.2.0