SUMIF adds values in a range that meet a specified condition. For example, SUMIF(A1:A10,'>100') adds only values greater than 100, or SUMIF(B1:B10,'Sales',C1:C10) adds values in column C where column B contains 'Sales'. It's different from SUM which adds all numbers without conditions, and SUBTOTAL which creates filtered totals.