View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Counting records in a column range occuring between specific dates

And if the dates range is for a certain month/year, ie the range doesn't cut
across months, you could use this to count it for all dates falling in Dec
2008 (for eg):
=SUMPRODUCT(--(TEXT(A1:A200,"mmmyyyy")="Dec2008"))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Jeremy Prosser" wrote:
I'm using Excel 2003, Win XP. I just want to enter a funtion/formula that
counts how many times a record appears in a range between two specific dates
rather than having to filter the records and do a count. I've been trying
the COUNTIF function but without any luck. Example:
=COUNTIF(A1:A200,=12012008,<=12312008). I know this is completely wrong
but you get the idea. Thanks in advance. Jeremy.