Count occurance of a month in a column of dates?
In Excel I'm trying to count the number of times a given month occurs in a
column of values of the type date. |
Count occurance of a month in a column of dates?
=SUMPRODUCT(--(ISNUMBER(A2:A500)),--(MONTH(A2:A500)=2))
would count February =SUMPRODUCT(--(ISNUMBER(A2:A500)),--(YEAR(A2:A500)=2007),--(MONTH(A2:A500)=2)) would count February 2007 -- Regards, Peo Sjoblom "Stormy" wrote in message ... In Excel I'm trying to count the number of times a given month occurs in a column of values of the type date. |
All times are GMT +1. The time now is 07:29 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com