Table:
0
A
B
C
D
E
F
G
1
id
name
capacity
city
country
opening year
stadium
2
1
Nou Mestalla
75000
Valencia
Spain
2004
3
2
Gazprom Arena
69501
Saint Petersburg
Russia
2005
4
3
Baku Olympic Stadium
68000
Baku
Azerbaijan
2005
5
4
Estadio La Peineta
67500
Madrid
Spain
2005
6
5
Ferenc Puskás Stadion
65000
Budapest
Hungary
2006
7
6
Stade des Lumières
61556
Lyon
France
2004
8
7
Northumberland Development Project
56250
London
England
2006
9
8
Fisht Olympic Stadium
47659
Sochi
Russia
2004
10
9
Arena Baltika
45015
Kaliningrad
Russia
2007
11
10
Yubileyniy Stadium
45015
Saransk
Russia
2005

Questions and formulas:
Question: How many stadiums are there?
Formula: ROWS(UNIQUE(G1))
Formula2: ROWS(UNIQUE(G2:G11))
Level: easy
Question: Find the name of the stadium that has the maximum capacity.
Formula: LET(a,SORTBY(B1,C1,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Formula2: LET(a,SORTBY(B2:B11,C2:C11,-1),FILTER(a,SEQUENCE(ROWS(a))<=1))
Level: hard
Question: Find the country that has the most stadiums.
Formula: TAKE(SORT(SUMMARIZE(E1,DCOUNTX(G1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(E2:E11,DCOUNTX(G2:G11)), 2, -1), 1)
Level: hard
Question: Which country has at most 3 stadiums listed?
Formula: LET(query1,SUMMARIZE(E1,DCOUNTX(G1)),FILTER(query1,CHOOSECOLS(query1,3)<=3))
Formula2: LET(query1,SUMMARIZE(E2:E11,DCOUNTX(G2:G11)),FILTER(query1,CHOOSECOLS(query1,3)<=3))
Level: hard
Question: How many stadiums does each country have?
Formula: SUMMARIZE(E1,DCOUNTX(G1))
Formula2: SUMMARIZE(E2:E11,DCOUNTX(G2:G11))
Level: easy
Question: How many stadiums are not in country "Russia"?
Formula: LET(query1,FILTER(A1:G1,E1<>"russia"),SUMMARIZE(CHOOSECOLS(query1,5),DCOUNTX(CHOOSECOLS(query1,7))))
Formula2: LET(query1,FILTER(A2:G11,E2:E11<>"russia"),SUMMARIZE(CHOOSECOLS(query1,5),DCOUNTX(CHOOSECOLS(query1,7))))
Level: hard
Question: How many stadiums?
Formula: ROWS(UNIQUE(G1))
Formula2: ROWS(UNIQUE(G2:G11))
Level: easy
Question: Which stadium has the greatest capacity?
Formula: TAKE(SORT(SUMMARIZE(G1,SUMX(C1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(G2:G11,SUMX(C2:C11)), 2, -1), 1)
Level: hard
Question: Which country has the most stadiums?
Formula: TAKE(SORT(SUMMARIZE(E1,DCOUNTX(G1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(E2:E11,DCOUNTX(G2:G11)), 2, -1), 1)
Level: hard
Question: Which countries have 3 stadiums or more?
Formula: LET(query1,SUMMARIZE(E1,DCOUNTX(G1)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Formula2: LET(query1,SUMMARIZE(E2:E11,DCOUNTX(G2:G11)),FILTER(query1,CHOOSECOLS(query1,3)>=3))
Level: hard
Question: Number of stadiums per country
Formula: SUMMARIZE(E1,DCOUNTX(G1))
Formula2: SUMMARIZE(E2:E11,DCOUNTX(G2:G11))
Level: easy
Question: The number of stadiums which are not in Russia.
Formula: LET(query1,FILTER(A1:G1,E1<>"russia"),SUMMARIZE(CHOOSECOLS(query1,5),DCOUNTX(CHOOSECOLS(query1,7))))
Formula2: LET(query1,FILTER(A2:G11,E2:E11<>"russia"),SUMMARIZE(CHOOSECOLS(query1,5),DCOUNTX(CHOOSECOLS(query1,7))))
Level: hard
Question: The average capacity of the stadiums opened in 2005.
Formula: LET(query1,FILTER(A1:G1,Year(F1)=2005),SUMMARIZE(CHOOSECOLS(query1,7),AVERAGEX(CHOOSECOLS(query1,3))))
Formula2: LET(query1,FILTER(A2:G11,Year(F1)=2005),SUMMARIZE(CHOOSECOLS(query1,7),AVERAGEX(CHOOSECOLS(query1,3))))
Level: hard
Question: The stadium with the largest capacity.
Formula: TAKE(SORT(SUMMARIZE(G1,SUMX(C1)), 2, -1), 1)
Formula2: TAKE(SORT(SUMMARIZE(G2:G11,SUMX(C2:C11)), 2, -1), 1)
Level: hard
Question: Which country has no more than 3 stadiums?
Formula: LET(query1,SUMMARIZE(E1,DCOUNTX(G1)),FILTER(query1,CHOOSECOLS(query1,3)<=3))
Formula2: LET(query1,SUMMARIZE(E2:E11,DCOUNTX(G2:G11)),FILTER(query1,CHOOSECOLS(query1,3)<=3))
Level: hard
Question: The numbers of stadiums located in each country.
Formula: SUMMARIZE(E1,DCOUNTX(G1))
Formula2: SUMMARIZE(E2:E11,DCOUNTX(G2:G11))
Level: easy