Kyle Johnson2 said:That isn't quite right.
The COUNT function uses the syntax =COUNT(value1;value2;value3...) or =COUNT(range), which won't get you what you're looking for.
You need to use the COUNTIF function, which follows the syntax =COUNTIF(range;criteria)
where the criteria is the number of years, which can be typed directly into the formula or placed in its own cell.
=COUNTIF(B1: B10;15)
=COUNTIF(B1: B10;E1)
Thanks a lot! You saved me... I was trying to use COUNTIF, but being an idiot, I kept putting the criteria before the range.