SUMPRODUCT

From Office Components Spreadsheet Function