Hi,

You need to set up a table with the years say in column F, then use SUMIF

=SUMIF($A$2:$B$100,F2,$B$2:$B$100)