About this lesson

B6 LESSON 14 · PASS

Criteria in cells: tests you can change without editing formulas

Point the criteria at input cells instead of typing them into the formula: =COUNTIF(B6:B17,B1) matches whatever is in B1, and =COUNTIF(D6:D17,">="&B2) joins an operator to the cell with &. Writing ">=B2" inside the quotes compares against the text B2 and counts nothing.

=COUNTIF(B6:B17,B1)

What you'll practise

Build a gym chain's club review where the state, membership threshold and cut-off date are inputs, so one change updates every answer.

4 steps · 40 points · the cells outlined in gold below

  • COUNTIF
  • SUMIFS
  • criteria in cells
  • & operator
  • inputs

The data

ABCDE
1StateVIC
2Min members2,000
3Opened before01/07/2023
4
5ClubStateOpenedMembersEBITDA ($k)
6FitzroyVIC04/03/20192,640812
7Geelong WaterfrontVIC16/08/20211,870455
8Box HillVIC11/09/20231,520128
9BallaratVIC23/05/20222,215604
10ToowoombaQLD05/02/20241,190-46
11Surry HillsNSW12/11/20183,1051,037
12ParramattaNSW29/06/20202,780869
13NewcastleNSW03/10/20222,390517
14PenrithNSW03/07/20231,64592
15ChatswoodNSW15/04/20242,510233
16New FarmQLD30/09/20192,455721
17SouthportQLD20/03/20231,980386
18
19Clubs in the state
20Clubs meeting threshold
21Mature clubs' EBITDA ($k)

Semester pass · on sale soon

This drill comes with the semester pass.

Make a free account in the meantime: lessons 2 to 4 are yours now, your points are saved, and you can ask to hear first when the pass goes on sale, with a launch discount code.