About this lesson

B6 LESSON 13 · PASS

Criteria in cells in Google Sheets: tests you can change without editing formulas

In Google Sheets, 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.

Using Excel? Do this lesson in Excel.

=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 · A$49 for six months

This drill comes with the semester pass.

Every lesson, for A$49 every six months. Cancel any time and you keep the pass until the six months you've paid for run out.