The SUMPRODUCT function in Excel multiplies corresponding values in given arrays or ranges and then sums the results.
SUMPRODUCT Function in Excel: A Step-by-Step Guide for Beginners

The SUMPRODUCT function in Excel multiplies corresponding values in given arrays or ranges and then sums the results.