One mo
=sumproduct(--(text(m2:m999,"yyyymm")="200809"))
Adjust the ranges to match--but you can't use whole columns (except in xl2007).
=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
Exceluser1 wrote:
My formula is COUNTIF(M2:M999,"01/09/08,30/09/08")
I want it to count if the date in the cell is in any given month - the above
isn't working.
Can anyone suggest another way to add a date range as the criteria?
--
Dave Peterson