Report sales for one region
Add only the rows that meet a condition.
YOUR TASK
Put SUMIF to work.
An online student store sells in three regions. Calculate total sales for North in G2. Regions are in B2:B7 and sales are in C2:C7.
CU = fictional currency units. Use numbers without a currency symbol.
Give me a hint
SUMIF uses a criteria range, a condition in quotes, and a matching sum range.
Show the worked solution
=SUMIF(B2:B7,"North",C2:C7)SUMIF checks each region in B2:B7 and adds the corresponding value from C2:C7 only when the region is North. SUMIFS(C2:C7,B2:B7,"North") also works.
Try it yourself before opening the solution. A completed task with the solution open is saved as reviewed practice.
What can I use in this checker?
SUM, SUMPRODUCT (matching range dimensions), INDEX (single-cell result), MATCH (exact match with 0), AVERAGE, AVERAGEIF, MEDIAN, MIN, MAX, COUNT, COUNTA, IF, IFERROR, AND, OR, SUMIF, SUMIFS, COUNTIF, COUNTIFS, exact-match VLOOKUP and XLOOKUP, ROUND, LEFT, RIGHT, LEN, TRIM, UPPER, LOWER, CONCAT, arithmetic, comparisons, percentages and absolute cell references. Use the displayed data and double quotes for text. For AND and OR, use comparisons or logical values. Text-cleaning tasks check letter case. This is a focused formula checker; it does not include Excel’s full feature set.
