Confident CellsExcel practice Start free

SUMIFS practice: practice exercises

SUMIFS with cells, comparisons, date ranges, not equal, a summary grid. 5 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.

Your turn

In H3, total the orders for the region in H1 and the product in H2. Use the cells, not the words.

ABCDEFGH
1DateSalespersonRegionProductAmount (£)RegionNorth
215/01/2026NadiaEastMonitors£1,355.00ProductMonitors
317/01/2026GraceWestLaptops£2,215.00Total
414/02/2026SamNorthMonitors£805.00
518/02/2026PippaEastMonitors£1,795.00
620/02/2026SamWestMonitors£2,070.00
703/03/2026PippaNorthTablets£790.00
805/03/2026OwenSouthTablets£255.00
905/03/2026OwenSouthMonitors£1,690.00
1024/03/2026ZoeNorthTablets£210.00
1131/03/2026PippaEastLaptops£1,455.00
1205/04/2026ZoeWestTablets£2,370.00
1316/04/2026NiaSouthTablets£2,345.00
1419/04/2026NiaSouthLaptops£1,945.00
1520/04/2026PippaSouthMonitors£665.00
1604/05/2026NiaSouthTablets£910.00
1704/05/2026OwenEastTablets£2,385.00
1825/05/2026GraceNorthMonitors£1,350.00
1913/06/2026SamNorthLaptops£965.00
2015/06/2026NiaSouthMonitors£1,515.00
2118/06/2026ZoeWestMonitors£420.00

How it works

SUMIFS(sum range, range1, criteria1, range2, criteria2, …) adds up the rows that meet every condition. The range to add comes first.

Keep the conditions in cells so they're easy to change. A comparison is joined to the cell with &: ">="&H1 means “at least the number in H1”, and "<>"&H1 means “anything except H1”.

=SUMIFS(C2:C30,A2:A30,G1,B2:B30,G2) =SUMIFS(C2:C30,C2:C30,">="&G3) =SUMIFS($C$2:$C$30,$A$2:$A$30,$F2,$B$2:$B$30,G$1)

SUMIFS step by step

=SUMIFS(sum range, range1, criteria1, range2, criteria2, …)

  1. The sum range: the numbers to add.
  2. Then pairs: a range to check, and what it must match.
  3. A row is added only if it matches all the pairs.

Every range must be the same size, all starting on the same row.

Worked example

ABCDEFG
1RegionProductAmountRegionNorth
2NorthPens£120.00ProductPens
3SouthPens£80.00At least100
4NorthPaper£150.00
5NorthPens£60.00
  1. =SUMIFS(C2:C5,A2:A5,G1,B2:B5,G2) in H1. North and Pens: rows 2 and 5, so 120 + 60 = 180. Row 4 is North but Paper, so it's left out.
  2. =SUMIFS(C2:C5,A2:A5,G1,C2:C5,">="&G3) in H1. A comparison goes in quotes, joined to the cell with &. North orders of at least 100: 120 + 150 = 270.

Comparisons

  • ">="&H1: at least H1. "<"&H1: less than H1.
  • "<>"&H1: anything except H1.
  • Between two dates: two conditions on the same range, A2:A21,">="&H1, A2:A21,"<="&H2.

For a grid of totals, lock the ranges with $. Lock the column of the row labels ($G3) and the row of the column labels (H$1), then copy across and down.

What you'll practise

  1. In H3, total the orders for the region in H1 and the product in H2. Use the cells, not the words.
  2. Big orders only: in H3, total the orders in the region in H2 that are worth at least the amount in H1.
  3. In H3, total the orders dated from H1 to H2, including both dates.
  4. In H3, total the orders of the product in H2 from every region except the one in H1.
  5. Fill in the summary grid. In H2, total the orders for the region in column G and the product in row 1. Write it so it can be copied across and down the whole grid.

Guides with worked examples: SUMIF and SUMIFS: adding up the rows that match · AVERAGEIFS: the average of the rows that match