Conditional Sums with SUMIF and SUMIFS? Master It in 1 Minute!

Conditional Sums with SUMIF and SUMIFS? Master It in 1 Minute!

Excel · Functions

Conditional Sums with SUMIF and SUMIFS? Master It in 1 Minute!

Learn how to calculate single- and multiple-criteria sums with one formula—no filters or PivotTables required. Master it easily with practical examples.

Why SUMIF and SUMIFS?

When you need a conditional sum, such as “sales team revenue only” or “this month’s sales only,” filtering and totaling the data each time can be time-consuming. With SUMIF (one criterion) and SUMIFS (multiple criteria), you can reduce repetitive work to less than half the time with a single formula.

Method 1) SUMIF – Single Criterion

Sample Data

NameDepartmentSales Amount
Kim Cheol-suSales50000
Lee Young-heeMarketing60000
Kim Cheol-suSales70000
Park Min-suSales40000

Goal: Total sales amount for the “Sales” department

=SUMIF(B2:B5, "Sales", C2:C5)
  • Syntax: SUMIF(range, criteria, sum_range)
  • Tip: Use a cell reference for the criterion to make maintenance easier: =SUMIF(B2:B5, E1, C2:C5)

Method 2) SUMIFS – Multiple Criteria

Goal: Total sales amount for “Kim Cheol-su” in the “Sales” department

=SUMIFS(C2:C5, B2:B5, "Sales", A2:A5, "Kim Cheol-su")
  • Syntax: SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, …)
  • Note: SUMIFS uses the sum range as its first argument.

Comparison Table – SUMIF vs. SUMIFS

FunctionNumber of CriteriaRecommended Use
SUMIF1Simple conditional sums
SUMIFS2 or moreSums filtered by multiple criteria

3 Practical Tips

① Date Criteria

=SUMIF(C2:C10, ">"&DATE(2025,8,1))

Totals only sales amounts after 2025-08-01.

② OR Criteria

=SUMIF(B2:B10,"Sales",C2:C10) + SUMIF(B2:B10,"Marketing",C2:C10)

Totals sales amounts for the Sales or Marketing department.

③ Wildcards

=SUMIF(A2:A10, "Kim*", C2:C10)

Totals only sales amounts for names that begin with “Kim.”

Summary

Key PointPractical Checklist
Use SUMIF and SUMIFS for single- and multiple-criteria sumsSpecify the criteria and sum ranges correctly
Add separate sums for OR criteriaImplement by adding the results of two functions
Handle date and text patternsUse DATE(), TODAY(), and wildcards

FAQ

What is the difference between SUMIF and SUMIFS?

SUMIF handles one criterion, while SUMIFS handles multiple criteria.

How do I implement OR criteria?

Because SUMIFS uses AND criteria by default, add the results of two SUMIF or SUMIFS formulas to create OR criteria.

Can I use wildcards?

Yes. Use * and ?.

Open your file and try it now. Finish your conditional sums without filters in your next report, and see how much faster your work becomes!

Leave a Reply

Your email address will not be published. Required fields are marked *