Sum values based on one or more conditions by using the SUMIFS function in a formula.| support.microsoft.com
How to use the SUMIF function in Excel to add the values in a range that meet criteria that you specify.| support.microsoft.com