+ Reply to Thread
Results 1 to 2 of 2

Counting how many times a day of the week occurs PER MONTH across a given date range

  1. #1
    Registered User
    Join Date
    06-03-2014
    Posts
    1

    Counting how many times a day of the week occurs PER MONTH across a given date range

    I am working on a spreadsheet that will be easy for someone not that familiar with Excel to populate with data on visitors to our building. I am trying as much as possible to have a few fields where they input basic data and then let automatic calculations take it from there.

    We offer classes that run for usually 6- to 8-week periods. As such, they will start in one month and finish in another. I need to come up with a way that someone can input the start & end dates of a class & the spreadsheet automatically determines how many classes were held in each month while the class was in session. So, if a class ran from June 3, 2014 to July 1, 2014, the spreadsheet could tell me the class met 5 times; 4 in June and 1 in July.

    I have found formulas that will tell me how many times a day of the week occurs in a given month, and formulas that will allocate the days across a date range to the months they fall in, but I need something that will put that together & say--within this date range, how many Tuesdays are in June and how many are in July?

    I know that Excel can automatically look at a date & tell what day of the week it is... However, one complicating factor is that some classes will meet multiple times a week--is there some way to take that into consideration?

    Another complicating factor is that if a class meeting would fall on a holiday, it would need to be taken into consideration. (So a class running from June 4, 2014 - July 29, 2014--assuming we closed the week of July 4--would meet 8 times, not 9. I would need the calculation to be able to factor that in.)

    I am trying to keep it all as simple as possible, the fewer moving parts the better since data entry will be done by someone who won't be able to trace the source of an error. However, at this point, I would be happy for ANY solution!!!

    Thank you so much for your help!

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: Counting how many times a day of the week occurs PER MONTH across a given date range

    Please attach a copy of your workbook so we don't need to re-create your data. Remember to remove/replace any sensitive info before uploading.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Registered User
    Join Date
    06-03-2014
    Posts
    1

    Re: Counting how many times a day of the week occurs PER MONTH across a given date range

    Attachment 322754
    Thank you so much, Trish! I have simplified the workbook & attach a copy above.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Counting the number of times a date occurs in multiple start and end date ranges.
    By Grizz in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-05-2013, 04:41 PM
  2. [SOLVED] Need help counting how many times something occurs
    By rfitz1289 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2013, 02:53 PM
  3. [SOLVED] Count # of times a date range occurs in the last two years
    By ddthomps in forum Excel General
    Replies: 2
    Last Post: 08-02-2012, 01:41 PM
  4. [SOLVED] counting number of times a year occurs in a column range
    By mistert in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2012, 12:20 PM
  5. Counting times a value occurs
    By Jordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2005, 02:06 PM

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