The SUMIF function in Google Sheets is designed to sum numeric data based on one condition.
SYNTAX: =SUMIF(range, criterion, [sum_range])
Range (required) - the range of cells that should be evaluated by criterion.
Criterion (required) - the condition to be met.
Sum_range (optional) - the range in which to sum numbers. If omitted, then range is summed.
Practice sheet