Table:
0
A
B
C
D
E
1
Games
Drawn
Lost
Points difference
Points
2
7
0
0
36 - 12
14
3
7
2
1
29 - 20
10
4
7
0
2
45 - 18
10
5
7
2
2
33 - 15
8
6
7
1
4
22 - 25
5
7
7
1
4
20 - 29
5
8
7
0
6
10 - 59
2
9
7
2
5
17 - 34
2

Questions and formulas:
Question: What is the difference related to 2 losses and fewer than 10 points?
Formula: LET(query1,SUMMARIZE(D1,SUMX(C1),SUMX(E1)),FILTER(query1,(CHOOSECOLS(query1,2)=2)*(CHOOSECOLS(query1,3)<10)))
Formula2: LET(query1,SUMMARIZE(D2:D9,SUMX(C2:C9),SUMX(E2:E9)),FILTER(query1,(CHOOSECOLS(query1,2)=2)*(CHOOSECOLS(query1,3)<10)))
Level: hard