Table:
0
A
B
C
D
E
1
track id
name
location
seating
year opened
2
1
Auto Club Speedway
Fontana, CA
92000
1/10/1997
3
2
Chicagoland Speedway
Joliet, IL
75000
1/10/2001
4
3
Darlington Raceway
Darlington, SC
63000
1/10/1950
5
4
Daytona International Speedway
Daytona Beach, FL
168000
1/10/1959
6
5
Homestead-Miami Speedway
Homestead, FL
65000
1/10/1995
7
6
Kansas Speedway
Kansas City, KS
81687
1/10/2001
8
7
Martinsville Speedway
Ridgeway, VA
65000
1/10/1947
9
8
Michigan International Speedway
Brooklyn, MI
137243
1/10/1968
10
9
Phoenix International Raceway
Avondale, AZ
76812
1/10/1964

Questions and formulas:
Question: How many tracks do we have?
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: Count the number of tracks.
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: Show the name and location for all tracks.
Formula: CHOOSE({1,2},B1,C1)
Formula2: CHOOSE({1,2},B2:B10,C2:C10)
Level: easy
Question: What are the names and locations of all tracks?
Formula: CHOOSE({1,2},B1,C1)
Formula2: CHOOSE({1,2},B2:B10,C2:C10)
Level: easy
Question: Show names and seatings, ordered by seating for all tracks opened after 2000.
Formula: SORTBY(CHOOSE({1,2},FILTER(B1,E1>2000),FILTER(D1,E1>2000)),FILTER(D1,E1>2000),1)
Formula2: SORTBY(CHOOSE({1,2},FILTER(B2:B10,E2:E10>2000),FILTER(D2:D10,E2:E10>2000)),FILTER(D2:D10,E2:E10>2000),1)
Level: hard
Question: What are the names and seatings for all tracks opened after 2000, ordered by seating?
Formula: SORTBY(CHOOSE({1,2},FILTER(B1,E1>2000),FILTER(D1,E1>2000)),FILTER(D1,E1>2000),1)
Formula2: SORTBY(CHOOSE({1,2},FILTER(B2:B10,E2:E10>2000),FILTER(D2:D10,E2:E10>2000)),FILTER(D2:D10,E2:E10>2000),1)
Level: hard
Question: What are distinct locations where tracks are located?
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C10)
Level: easy
Question: Give the different locations of tracks.
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C10)
Level: easy
Question: Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.
Formula: FILTER(E1,(D1>=4000)*(D1<=5000))
Formula2: FILTER(E2:E10,(D2:D10>=4000)*(D2:D10<=5000))
Level: easy
Question: What are the years of opening for tracks with seating between 4000 and 5000?
Formula: FILTER(E1,(D1>=4000)*(D1<=5000))
Formula2: FILTER(E2:E10,(D2:D10>=4000)*(D2:D10<=5000))
Level: easy
Question: The opening years of tracks with seating between 4000 and 5000
Formula: LET(query1,SUMMARIZE(HSTACK(E1,A1),SUMX(D1)),FILTER(query1,(CHOOSECOLS(query1,3)>=4000)*(CHOOSECOLS(query1,3)<=5000)))
Formula2: LET(query1,SUMMARIZE(HSTACK(E2:E10,A2:A10),SUMX(D2:D10)),FILTER(query1,(CHOOSECOLS(query1,3)>=4000)*(CHOOSECOLS(query1,3)<=5000)))
Level: hard
Question: the number of tracks
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: How many entries for tracks?
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: What is the location, name and track id?
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B10,C2:C10,A2:A10))
Level: easy
Question: locations, names and track ids
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B10,C2:C10,A2:A10))
Level: easy
Question: Where is each track located?
Formula: UNIQUE(HSTACK(C1,A1))
Formula2: UNIQUE(HSTACK(C2:C10,A2:A10))
Level: easy
Question: the location and track id.
Formula: UNIQUE(HSTACK(C1,A1))
Formula2: UNIQUE(HSTACK(C2:C10,A2:A10))
Level: easy
Question: How many tracks?
Formula: SUM(A1)
Formula2: SUM(A2:A10)
Level: easy
Question: the location, name and track id
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B10,C2:C10,A2:A10))
Level: easy