+ Reply to Thread
Results 1 to 5 of 5

Count number of dates in one month

  1. #1
    Registered User
    Join Date
    01-16-2008
    Posts
    16

    Count number of dates in one month

    Column A consists of dates throughout the year. 11/17/2007 11/18/2007 12/1/2007/12/2/2007 12/2/2007 12/3/2007 12/3/2007 etc each correspongding to a ticket. I want to count the occurance of the month 11 and put in column C then the occurance of month 12 and put in column D. Basically I want to find out how many tickets there were in November, December, etc by couting the dates.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try

    =Sumproduct(--(Month(A1:A100)=11)

    to count November occurances in cells A1:A100

    change 11 to 12 for December, etc...

    adjust range to suit.
    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
    Registered User
    Join Date
    01-16-2008
    Posts
    16
    Thanks a bunch. Functions are not my stronghold.

  4. #4
    Registered User
    Join Date
    01-16-2008
    Posts
    16
    Had text in column A. DUH!
    Last edited by korygrandy; 01-18-2008 at 04:19 PM.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Yes, I did forget an extra closing bracket... so Excel's fix is right....

    but it should work after that with any date format... as long as the dates are entered in as dates and not text strings... and as long as you don't have any errors in that range....

    what error is it giving you?

+ 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