SUMIF Function in Excel

Beginner

Adds the cells specified by a given condition or criteria.

Syntax

=SUMIF(range, criteria, [sum_range])

Example

Use Case

Sum total sales for a specific region.

Common Errors to Avoid

  • Range and sum_range must be the same size and shape
  • Forgetting the sum_range parameter when summing different columns
  • Criteria not properly formatted with quotes for operators

Pro Tips

Always use absolute references ($) for the range if copying the formula. For multiple criteria, upgrade to SUMIFS. Test your criteria separately with COUNTIF to verify it's working correctly.

Need help with this formula?

Our AI Formula Generator can write this for you instantly.

Try AI Formula Generator →
SUMIF Function in Excel | Excel AI Tools