Free Excel guide
How to Use SUMIF in Excel
Use SUMIF to total amounts that meet one condition. In an order report, you can test the region column and add only the matching order amounts.
Try it yourselfFormula syntax
=SUMIF(range, criteria, [sum_range])Supply the range to test, the criterion, and the range to add. Omit the third argument when you want to test and sum the same cells.
Example formula
=SUMIF(B2:B6,">=100")On this worksheet, the example uses a numeric criterion to add 100, 160 and 120 from B2:B6. It returns 380.
Common mistakes
- When using two ranges, align their starting rows and use the same dimensions.
- Put a comparison criterion such as ">=100" in double quotes.
Try it yourself
In B7, use SUMIF to total B2:B6 only where the corresponding region in C2:C6 is "East".
Keep practicing with the Excel course
Start with the free SUM exercise. You can try it before creating an account.
Related course lesson: SUMIF· Premium course lesson