LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Harlan Grove
 
Posts: n/a
Default count no. of dates in a column that falls on certain month & year

Ron Rosenfeld wrote...
....
Then in F1 enter the formula:

=TEXT(E1,"""Month:""mmm ""Year:""yyyy"" = """)&
COUNTIF($D$1:$D$6,"="&E1)-COUNTIF($D$1:$D$6,
""&DATE(YEAR(E1),MONTH(E1)+1,0))

....

Could be shortened a bit.

=TEXT(E1,"""Month:""mmm ""Year:""yyyy = ")&
SUMPRODUCT(--(TEXT($D$1:$D$6,"yyyymm")=TEXT(E1,"yyyymm")))

 
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
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM
sort dates by day then month, not by year. Lisa Peterson Excel Worksheet Functions 5 July 12th 05 10:38 AM
Get count of records for a particular month and year maxtrixx Excel Discussion (Misc queries) 5 April 8th 05 07:39 PM
Count based on another column Chance224 Excel Discussion (Misc queries) 1 March 4th 05 04:33 PM
COUNT IF COLUMN X="" COUNT COLUMN Y? Tom Hewitt Excel Discussion (Misc queries) 1 March 3rd 05 11:20 AM


All times are GMT +1. The time now is 05:07 AM.

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"