+ Reply to Thread
Results 1 to 3 of 3

using countif to add dates

  1. #1
    jwmillzy
    Guest

    using countif to add dates


    I need to count the number of events in a month.
    I am reading off a column of cells that have 5/1/2006,
    5/11/2006, 4/27/2006, etc
    I want to tally the number of events, so in the above example
    the result would be May 2 and April 1
    I need it to count all dates in may as one total, April as a total etc
    I am having trouble because my formula will only recognize each unique date
    Any suggestions, thx




  2. #2
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094
    You could use SUMPRODUCT


    If A1:A10 is your range of dates then,


    =SUMPRODUCT(--(MONTH(A1:A10)=5))

    The 5 in the formula represents the month number 1 for Jan 2 for Feb and so on.

    HTH

    Steve

  3. #3
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    Hope this helps:

    Assuming Range is A1:A10

    =COUNTIF(A1:A10,">=04/01/06")-COUNTIF(A1:A15,">=04/30/06")
    =COUNTIF(A1:A10,">=05/01/06")-COUNTIF(A1:A15,">=05/31/06")

+ 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