= SUMPRODUCT( --(YEAR($A$2:$A$5)=A8) * ($B$2:$B$5))
Perfect ! Thanks !=SUMPRODUCT(--(YEAR(A$2:A$5)=A10),(B$2:B$5))
Many thanks, this is perfect when you want to keep track of your current sales figures (for this FY vs last FY).You are welcome.
Glad we were able to help!
You can also use a SUMIFS formula, though it would be a little longer.
That is a great option is trying to total between two dates that may not necessarily be year start/end dates.
See: Excel SUMIFS date range formula - sum if between two dates