What the video covers
This guide shows how to write a SUMIF formula to sum values in one range based on a single condition applied to another range in Google Sheets. It covers basic operators and text criteria; it does not cover SUMIFS, array formulas, or advanced wildcard patterns.
Watch the video on YouTubeStep-by-step instructions
- Select the result cell
Click the cell where you want the conditional total to appear. - Start the SUMIF formula
Type =SUMIF( and begin building the function. - Specify the condition range
Select the range that contains the values to test (the cells that will be compared to your condition), then type a comma. - Enter the condition
Type the condition in quotes (for example "100" or "Apples") or point to a cell that holds the criterion, then type a comma. - Specify the sum range
Select the range of numbers you want to add. This range should align row-by-row with the condition range. - Close and evaluate
Type ) and press Enter. The cell will display the sum of values where the condition is true.
Watch the video
Play tutorial
Why it matters
SUMIF lets you compute totals that meet a rule (for example, sales over 100 or totals for a specific product) so you can create clean, focused summaries without manual filtering.
Check your result
The result cell shows the expected total. Verify by filtering the condition range and summing visible values or by spot-checking individual matching rows.
Troubleshooting
– If the result is 0 or unexpected: check that the condition range and the sum range align row-for-row and include numeric values. – If text criteria are used, ensure exact spelling or use quotes around the criterion (e.g., "Apples"). – For operators use quotes: "100" or "=50". – If numbers are stored as text, convert them to numeric values (Value or Paste special values). – For multiple conditions use SUMIFS instead of SUMIF.