sum combining sum formulas rules code example Example: excel sumif =SUMIF (range, criteria, [sum_range])