Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jwmillzy
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default using countif to add dates


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


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=547897

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default using countif to add dates


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")


--
Bearacade
------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=547897

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
countif non blank cells + dates overdue mcmillad Excel Worksheet Functions 1 April 19th 06 01:47 PM
Countif on multiple dates Jim Excel Worksheet Functions 6 December 13th 05 05:56 PM
COUNTIF using Dates WLMPilot Excel Worksheet Functions 1 October 7th 05 12:51 AM
Countif using dates Bugaglugs Excel Worksheet Functions 11 August 23rd 05 05:16 PM
COUNTIF With Multiple Dates, Columns and Text Shannon Excel Worksheet Functions 4 November 26th 04 11:12 PM


All times are GMT +1. The time now is 06:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"