What the video covers
Demonstrates the basic SUMIF function in Excel to add numbers based on a single condition (e.g., sum sales for a specific category). Does not cover SUMIFS (multiple conditions), array formulas, or pivot tables.
Watch the video on YouTubeStep-by-step instructions
- Select the cell for the total
Click the worksheet cell where you want the SUMIF result to appear. - Start the SUMIF formula
Type =SUMIF( and then build the three parts: the range to check, the criterion, and the range to sum. - Enter the range to check
Select or type the range that contains the values to evaluate (for example the category column). This is the range Excel will test against your condition. - Specify the criterion
Enter the condition in quotes if it’s text (for example "Sales") or a comparison in quotes (for example "100"). You can also reference a cell that contains the condition instead of typing it directly. - Specify the sum range
Select or type the range that contains the numbers to add. This range should align with the criteria range (same number of rows). If you omit the sum range, Excel will sum the cells in the criteria range itself. - Close and evaluate the formula
Close the parentheses and press Enter. Excel will return the sum of values where the condition is met. - Verify and adjust if needed
Check that the returned total matches expected rows. If not, confirm ranges are the same size, criteria spelling is correct, and numeric cells are real numbers (not text).
Watch the video
Play tutorial
Why it matters
SUMIF lets you compute totals that match a criterion (such as a category or threshold) so your reports and summaries reflect only the relevant data rather than one combined total.
Check your result
After completing the steps you should see a cell showing the sum of only the values whose corresponding entries meet the condition (for example, only rows labeled “Sales”). If incorrect, verify ranges, criteria syntax, and that matching cells actually contain the expected values.
Troubleshooting
– If the result is 0 or unexpected: check that the criteria spelling and casing match the source cells; SUMIF is not case-sensitive but exact text must match. – If you get #VALUE!: ensure the criteria range and sum range are the same size (same number of rows). – For partial matches use wildcards in the criteria ("*text*" for contains, "text*" for begins with). – To use logical comparisons, put the operator and number in quotes (for example "100" or "=50"). – If numbers are stored as text, convert them to numeric format so they sum correctly.