Table:
0
A
B
C
D
E
F
G
1
Name
Years
Gender
Area
Authority
Decile
Roll
2
Argyll East School
1–8
Coed
Otane
State
4
51
3
Central Hawke's Bay College
9–15
Coed
Waipukurau
State
4
557
4
Elsthorpe School
1–8
Coed
Elsthorpe
State
9
42
5
Flemington School
1–8
Coed
Waipukurau
State
8
71
6
Mangaorapa School
1–8
Coed
Porangahau
State
3
19
7
Omakere School
1–8
Coed
Waipawa
State
8
30
8
Ongaonga School
1–8
Coed
Ongaonga
State
6
111
9
Otane School
1–8
Coed
Otane
State
3
43
10
Porangahau School
1–8
Coed
Porangahau
State
4
31
11
Pukehou School
1–8
Coed
Pukehou
State
5
108
12
Sherwood School
1–8
Coed
Takapau
State
6
30
13
St Joseph's School
1–8
Coed
Waipukurau
State integrated
5
95
14
Takapau School
1–8
Coed
Takapau
State
5
141
15
Te Aute College
9–15
Boys
Pukehou
State integrated
3
86
16
The Terrace School
1–8
Coed
Waipukurau
State
2
214
17
Tikokino School
1–8
Coed
Waipawa
State
7
42
18
TKKM o Takapau
1–8
Coed
Takapau
State
3
37
19
Waipawa School
1–8
Coed
Waipawa
State
3
139
20
Waipukurau School
1–8
Coed
Waipukurau
State
3
243

Questions and formulas:
Question: Name the years for elsthorpe school
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="elsthorpe school"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,A2:A20="elsthorpe school"),2))
Level: medium
Question: Name the total number of roll for st joseph's school when decile is less than 5
Formula: SUM(FILTER(G1, (A1="st joseph's school")*(F1<5)))
Formula2: SUM(FILTER(G2:G20, (A2:A20="st joseph's school")*(F2:F20<5)))
Level: easy
Question: Name the years for porangahau school
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,(D1="porangahau")*(A1="porangahau school")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,(D2:D20="porangahau")*(A2:A20="porangahau school")),2))
Level: medium
Question: Name the gender for elsthorpe school
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,A1="elsthorpe school"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,A2:A20="elsthorpe school"),3))
Level: medium