Thread
:
Counting dates greater than a certain time period
View Single Post
#
5
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
Posts: n/a
Counting dates greater than a certain time period
=sumproduct(--(a1:a10="Active"),--(b1:b10<DATE(2002,1,1)))
Adjust the ranges to match--but you can't use whole columns.
=sumproduct() likes to work with numbers. The -- stuff changes trues and falses
to 1's and 0's.
Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
And J.E. McGimpsey has some notes at:
http://mcgimpsey.com/excel/formulae/doubleneg.html
wrote:
Sorry for the hasty reply. I appear to be having a bit of difficulty. I
need to count these dats but only for entries that contain the word
"Active" in column A.
I'm trying to add the AND operator into COUNTIF but am not having any
success:(
--
Dave Peterson
Reply With Quote