ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   count by month (https://www.excelbanter.com/excel-worksheet-functions/75750-count-month.html)

gpoky

count by month
 
I have a range of cells with dates (mm/dd/yy). I wish to count how many
entries I have in a monthly time period. i.e. how many insances do I have in
December 05?

bpeltzer

count by month
 
If the dates are in column A, the count is =countif(a:a,"=" &
date(2005,12,1))-countif(a:a,"=" & date(2006,1,1)).
In words, count the number of entries dated Dec 05 or later, then subtract
the number dated Jan 06 or later. The net is those dated Dec 05.
--Bruce

"gpoky" wrote:

I have a range of cells with dates (mm/dd/yy). I wish to count how many
entries I have in a monthly time period. i.e. how many insances do I have in
December 05?


Bob Phillips

count by month
 
=SUMPRODUCT(--(TEXT(A1:A1000,"mmmyy")="Dec05"))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"gpoky" wrote in message
...
I have a range of cells with dates (mm/dd/yy). I wish to count how many
entries I have in a monthly time period. i.e. how many insances do I have

in
December 05?





All times are GMT +1. The time now is 08:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com