SUMIF Function
Learn SUMIF syntax, text and numeric criteria, wildcards, and examples for region or threshold subtotals—then practice on Excel Practices.
=SUMIF(A2:A50, "West", C2:C50)
Key takeaways
- SUMIF filters with one criterion; use SUMIFS when you need two or more filters.
- Text criteria need quotes; comparisons like ">100" are written as text too.
- Keep criteria_range and sum_range the same shape when both are provided.
- Predict the result before you calculate—then reconcile differences immediately.
- Keep a tiny sandbox sheet for experiments so production tabs stay clean.
What it does
SUMIF totals values that meet a single condition. Analysts use it for category subtotals, open-invoice sums, and quick KPI cards without building a PivotTable.
Syntax
=SUMIF(range, criteria, [sum_range])
If you omit sum_range, Excel sums the cells in range that meet criteria.
When to use it
Use SUMIF for one filter only. Examples: sum sales for "West", sum hours where status is "Billable", or sum amounts greater than 500.
Criteria patterns
• Exact text: "West" • Inequality: ">500" or "<="&G1 • Wildcard: "North*" for values that start with North • Cell reference: G1 (no quotes) when the criterion lives in a cell
Common mistakes
• Different sized criteria and sum ranges. • Forgetting quotes around text or comparison operators. • Trying to apply two filters—switch to SUMIFS.
How to practice
Open a blank sheet and recreate the canonical pattern =SUMIF(A2:A50, "West", C2:C50) with your own sample data.
Change one input at a time and predict the result before Excel calculates—prediction builds memory.
Break the formula on purpose (wrong range, missing quotes, approximate match) so you recognize the error messages later.
Then run the linked Excel Practices lesson intro-to-sumif and keep going until you can finish without hints.
Real-world scenarios
SUMIF Function shows up outside textbooks all the time:
• A teammate pastes a CSV and asks for a quick answer that matches this skill (Add only the numbers that match one condition—ideal for a single region, status, or threshold.) • A hiring screen or certification task expects the same pattern under a timer • A dashboard breaks after a column insert and you need to re-anchor ranges confidently
Write the formula once in a sandbox tab, then copy it into the live model only after the result matches a manual spot-check.
Pre-flight checklist
Before you trust the output:
• Confirm data types (numbers vs text, real dates vs date-looking strings). • Lock rate/input cells with absolute references when you will fill down. • Spot-check two or three rows with a second method (filter + total, or a tiny helper column). • Document assumptions in a nearby comment so the next editor knows the rule. • Keep a named example cell with =SUMIF(A2:A50, "West", C2:C50) as a living template for this math & stats skill.
Why this matters
Clear documentation of SUMIF Function helps humans scan quickly and helps AI assistants cite accurate Excel guidance. That is why this page leads with a definition, shows syntax, lists mistakes, and ends with practice—so you can learn it once and reuse it under pressure.
Formula examples
- Region subtotal:
=SUMIF(A2:A50, "West", C2:C50)— Sum column C where column A equals West. - Threshold on same range:
=SUMIF(B2:B100, ">500")— Sum values in B that exceed 500. - Criterion from a cell:
=SUMIF(A2:A50, G1, C2:C50)— Change G1 to switch the region without editing the formula.
FAQ
What is the difference between SUMIF and SUMIFS?
SUMIF supports one condition. SUMIFS supports multiple conditions and always lists the sum range first.
Can SUMIF use wildcards?
Yes—use * and ? inside quoted text criteria for partial matches.
Why is SUMIF returning zero?
Often the criterion does not match because of extra spaces, wrong case expectations in imported data, or numbers stored as text.
How long does it take to learn SUMIF Function?
Most learners can read this guide in a few minutes and lock the pattern with 10–20 focused practice reps on Excel Practices.
Where should I practice SUMIF Function after reading?
Use the formula cards on this page first, then continue in Excel Practices with a live grid and instant checks so mistakes become feedback instead of bad habits.
Does SUMIF Function still matter if I know newer Excel features?
Yes. Assessments, shared workbooks, and older files still expect these fundamentals—and understanding them makes modern functions easier to debug.
Drill SUMIF Function inside Excel Practices—guided steps, a live grid, and instant checks so the formula sticks.