I was able to get this to work as I understand it?
03/28/11
08/19/13
07/02/14
01/11/15
05/30/16
1
"=COUNTIFS(H1:H5,">="&DATE(2015,1,1),H1:H5,"<="&DATE(2015,12,31))"
I put the dates in column H in rows 1 to 5. (I have a actual date fields in
MM/DD/YY format.
Had to use the COUNTIFS instead of COUNTIF, since had to get the range.
Don't know if it would be possible to get the =(year) of the cells without
creating a second column with that?
Then set the two criterians to find matching values.
=COUNTIFS(H1:H5,">="&DATE(2015,1,1),H1:H5,"<="&DATE(2015,12,31))
Other option was to put in I1-i5 =year(h1) ti =year(h5), and then
=countif(i1:i5,2015) works.
Date sent: Wed, 5 Oct 2016 17:30:56 -0600