What is SUMIF function in excel? code example Example: excel sumif =SUMIF (range, criteria, [sum_range])