Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Excel SUM vs. SUMIFS: When to Use Conditional Totals

Use SUM for a straightforward total and SUMIFS when rows must meet conditions, with working examples for names, sales, and dates.

Table of Contents

Use SUM when you want to add a range without conditions. Use SUMIFS when only rows matching one or more conditions should contribute. Neither function is a universal replacement for the other.

Start with one condition

Suppose column A contains student names and column C contains scores. This formula adds scores for rows whose name equals John:

=SUMIFS(C2:C10,A2:A10,"John")
The SUM function is too basic, use SUMIFS instead! Picture 1

This is an equality match, not a search for any name containing “John.” By comparison, =SUM(C2:C10) totals the whole score range.

Add multiple conditions

The syntax places the values to add first, followed by pairs of criteria ranges and criteria:

=SUMIFS(sum_range,criteria_range1,criteria1,[criteria_range2,criteria2],...)

For example, if A is Region, D is Channel, J is Price, and L is Revenue:

=SUMIFS(L2:L100,A2:A100,"Asia",D2:D100,"Online",J2:J100,">400")

This totals revenue only for Asia rows with the Online channel and a price greater than 400. All three conditions must be true for the same row. The threshold is 400, not 500.

The SUM function is too basic, use SUMIFS instead! Picture 2

Use cells for changing criteria

If P2 contains a region and Q2 a numeric minimum price, use:

=SUMIFS(L2:L100,A2:A100,P2,J2:J100,">"&Q2)

Change the input cells to update the report without editing the formula. Do not place quotation marks around a cell reference.

Build date criteria without ambiguous date text

If F contains real Excel dates and N contains amounts, this totals January 2026, including date-time values throughout the month:

=SUMIFS(N2:N100,F2:F100,">="&DATE(2026,1,1),F2:F100,"<"&DATE(2026,2,1))

The upper limit is the start of the following month. Dates stored as text may need conversion before they compare correctly.

The SUM function is too basic, use SUMIFS instead! Picture 3The SUM function is too basic, use SUMIFS instead! Picture 4The SUM function is too basic, use SUMIFS instead! Picture 5The SUM function is too basic, use SUMIFS instead! Picture 6

Check unexpected results

  • Use matching range sizes and row alignment.
  • Check for extra spaces in names and numbers stored as text.
  • Ensure new rows are included in the ranges, or use an Excel table.
  • Remember that SUMIFS also considers hidden rows; filtering the display does not change its criteria.
  • Some regional Excel settings use semicolons instead of commas.

SUMIF is another option for a single condition, but its argument order differs. Consult Microsoft’s SUMIFS reference when adapting formulas.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.