When you only need to add up items that meet one condition
Totaling spending for a specific department, or sales for a specific month, normally means filtering or scanning a table by eye first. SUMIF skips that step entirely: give it a range to check, a condition, and a range to sum, and it returns the total for exactly the rows that match, instantly and without touching the rest of the data.
Need more than one condition? That is what SUMIFS is for
SUMIF only evaluates a single condition at a time. The moment you need two or more -- say, a department and a month -- switch to its close relative SUMIFS, which takes a sum range followed by as many condition-range and condition pairs as needed: "=SUMIFS(sum_range, range1, criteria1, range2, criteria2)". Learning SUMIF first makes SUMIFS feel like a natural extension rather than a new function to memorize.
Frequently Asked Questions
What if I need to match more than one condition?
SUMIF only supports a single condition. For two or more conditions, use the SUMIFS function instead, in the form "=SUMIFS(sum_range, range1, criteria1, range2, criteria2)".
Do the condition range and the sum range need to be the same size?
Yes -- both ranges need to cover the same number of rows so each condition cell lines up with the correct value to sum. Mismatched range sizes can produce results that look plausible but are actually wrong.