Hi all,
I've got a spreadsheet with one column that is full of dates, and I want to add up the number of dates that fall within each year. So, if, for example, cells A1:A10 each have dates, I would like to know if it is possible to have a formula in cell A11 which counts all of the dates that fall in year 2008 by using:
=countif(a1:a10, year(?)=2008)
where ? is a variable which refers to the current cell being examined. Is there a way to do this in Excel?
I've got a spreadsheet with one column that is full of dates, and I want to add up the number of dates that fall within each year. So, if, for example, cells A1:A10 each have dates, I would like to know if it is possible to have a formula in cell A11 which counts all of the dates that fall in year 2008 by using:
=countif(a1:a10, year(?)=2008)
where ? is a variable which refers to the current cell being examined. Is there a way to do this in Excel?