SUMIF function - Microsoft Support
support.microsoft.com › en-us › officeTo sum cells based on multiple criteria, see SUMIFS function. Important: The SUMIF function returns incorrect results when you use it to match strings longer than 255 characters or to the string #VALUE!. Syntax SUMIF (range, criteria, [sum_range]) The SUMIF function syntax has the following arguments: range Required.