occurance in each year
I would suggest that you create a test sheet and copy 3 or so dates in there
(k column)i.e. 1/1/07, 2/3/06,4/5/07 and then cut/past the formula in
another cell. I just did that and got the correct answer = 2. If
successful, then go back to your real sheet and figure what the difference
is.
"Anvil22" wrote in message
...
=SUMPRODUCT(--(YEAR(K2:K850)=2007))
I entered the above formula, and receive a value error. I went back and
made
sure the dates wer formatted as date, and received hte same error. The
dates
are entered as 01/05/2007
did I not copy the formula correctly
All the best,
Dick
"Duke Carey" wrote:
Try
=SUMPRODUCT(--(YEAR(K2:K850)=2007))
"Anvil22" wrote:
I have a 850 dates in a column with various years. I want to count the
number
of occurances in each year. I use the following formula but continue to
reveiw 0. The formula I am using is;
=COUNTIF(k2:k850,"(date(2007/1/1)=(date(2007/12/31)")
What I am lookin for is the number of entries in 2007.
Can anyone tell me what I am doin wrong/
Thanks
Dick
|