ctrl/shift/enter:
=SUM((MONTH(A1:A100)=1)*1)
Suppose that your date field is in column A and
the 1st row of data (not headers) is row 2.
Enter =MONTH(A2)=12 into an unused cell and
leve the cell above it blank. Choose Advanced
AutoFilter and enter as a Criteria the 2 cell
range where you entered the formula above
(including the blank cell above it). This is
a computed criteria... that don't have a
field name in their 1st row!
...that my response was predicated on your subject
line... If all you want to do is count them
then you could use...
=SUM((MONTH(A1:A10)=12)+0)}
Note: This is an array formula which must be
entered using the Control+Shift+Enter key
combination. The outermost braces, {}, are not
entered by you -- they're supplied by Excel in
recognition of a properly entered array formula.
...that my response was predicated on your subject
line... If all you want to do is count them
then you could use...
{=SUM((MONTH(A1:A10)=12)+0)}
Note: This is an array formula which must be
entered using the Control+Shift+Enter key
combination. The outermost braces, {}, are not
entered by you -- they're supplied by Excel in
recognition of a properly entered array formula.