Explanation
TheYEAR functionextracts the year from a validExcel date.
Note: The SUMPRODUCT formula above is an example of usingBoolean logicin anarray operation.
This is a powerful and flexible approach to solving many problems in Excel.
SUMPRODUCT Function
The Excel SUMPRODUCT function multipliesrangesorarraystogether and returns the sum of products.