excel sum where condition row = number code example Example: EXCEL sum WITH condition SUMIF(range, criteria, [sum_range])