Table:
0
A
B
C
D
E
1
Place
Code
Area (km 2 )
Population
Most spoken language
2
Boipatong
70401
1.62
16,867
Sotho
3
Bophelong
70402
5.97
37,782
Sotho
4
Evaton
70404
35.20
143,157
Sotho
5
Orange Farm
70405
3.79
16,720
Zulu
6
Sebokeng
70406
32.80
222,045
Sotho
7
Sharpeville
70407
5.04
41,032
Sotho
8
Tshepiso
70408
5.26
22,952
Sotho
9
Vanderbijlpark
70409
207.69
80,205
Afrikaans
10
Vereeniging
70410
191.33
73,283
Afrikaans
11
Remainder of the municipality
70403
498.77
4,378
Sotho

Questions and formulas:
Question: What is the Most Spoken language in the Place with Code 70403 with an Area (km 2) larger than 3.79 and a Population larger than 73,283?
Formula: LET(query1,SUMMARIZE(E1,SUMX(B1),SUMX(C1),SUMX(D1)),FILTER(query1,(CHOOSECOLS(query1,2)>70403)*(CHOOSECOLS(query1,3)>3.79)*(CHOOSECOLS(query1,4)>73283)))
Formula2: LET(query1,SUMMARIZE(E2:E11,SUMX(B2:B11),SUMX(C2:C11),SUMX(D2:D11)),FILTER(query1,(CHOOSECOLS(query1,2)>70403)*(CHOOSECOLS(query1,3)>3.79)*(CHOOSECOLS(query1,4)>73283)))
Level: hard
Question: What is the Population of the Place with an Area (km 2) larger than 498.77?
Formula: SUM(FILTER(D1, C1>498.77))
Formula2: SUM(FILTER(D2:D11, C2:C11>498.77))
Level: easy
Question: What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than 5.97?
Formula: SUM(FILTER(D1, (B1<70409)*(C1<5.97)*(A1="tshepiso")))
Formula2: SUM(FILTER(D2:D11, (B2:B11<70409)*(C2:C11<5.97)*(A2:A11="tshepiso")))
Level: easy