Results 1 to 3 of 3
  1. #1
    paultje_bos is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2016
    Posts
    13

    Count days of month with an activity


    I need an query that counts for me the days of a specific month where there was an activity. For instance, I have the following table:
    01/01/2016 #1
    03/01/2016 #2
    03/01/2016 #3
    05/01/2016 #4
    09/01/2016 #5
    12/01/2016 #6
    12/01/2016 #7
    12/01/2016 #8
    19/01/2016 #9
    31/01/2016 #10

    So for January I would needed counted days: 7 (the double days should be counted as 1)

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Make Q1 to pull dates only ,set UNIQUE VALUES = true.
    then make Q2 that uses Q1 to count.

  3. #3
    paultje_bos is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Aug 2016
    Posts
    13
    Thanx, works perfect.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 03-07-2016, 04:17 PM
  2. Replies: 1
    Last Post: 07-18-2014, 06:20 AM
  3. First and Last Working Days of Month
    By BLFOSTER in forum Queries
    Replies: 5
    Last Post: 05-01-2014, 03:14 PM
  4. Replies: 2
    Last Post: 11-16-2013, 05:38 PM
  5. No activity in last 30 days
    By CMLS in forum Queries
    Replies: 4
    Last Post: 03-18-2011, 11:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums