Table:
0
A
B
C
D
E
F
G
H
1
Position
Team
Points
Played
Drawn
Lost
Against
Difference
2
1
Santos
13
9
1
2
15
15
3
2
Corinthians
12
9
0
3
9
8
4
3
Fluminense
11
9
3
2
12
1
5
4
Botafogo
10
9
4
2
14
2
6
5
Palmeiras
10
9
2
3
12
0
7
6
Portuguesa
9
9
3
3
21
- 3
8
7
Portuguesa
8
9
0
5
13
1
9
8
São Paulo
8
9
2
4
16
- 5
10
9
Vasco da Gama
7
9
5
3
12
- 3
11
10
Olaria
7
9
2
7
23
- 14

Questions and formulas:
Question: What is the highest position of the team with an against of 12, less than 11 points, more than 2 drawn, and more than 9 played?
Formula: MAX(FILTER(A1, (G1=12)*(C1<11)*(E1>2)*(D1>9)))
Formula2: MAX(FILTER(A2:A11, (G2:G11=12)*(C2:C11<11)*(E2:E11>2)*(D2:D11>9)))
Level: easy
Question: What is the difference of the team with 12 points?
Formula: LET(query1,SUMMARIZE(H1,SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,2)=12))
Formula2: LET(query1,SUMMARIZE(H2:H11,SUMX(C2:C11)),FILTER(query1,CHOOSECOLS(query1,2)=12))
Level: hard
Question: What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
Formula: AVERAGE(FILTER(D1, (F1=3)*(C1>9)*(A1=5)*(G1<12)))
Formula2: AVERAGE(FILTER(D2:D11, (F2:F11=3)*(C2:C11>9)*(A2:A11=5)*(G2:G11<12)))
Level: easy