Table:
0
A
B
C
D
E
F
1
station id
open year
location
manager name
vice manager name
representative name
2
1
1998
Herne Hill
BrianWingrave
Russell Denman
Clive Burr
3
2
1999
Channel Hill
SimonMarloe
Russell Brown
Rob Jefferies 
4
3
2000
Reading North
Simon Cope Derek Marloe
James Colin 
Dave Edwards Roger 
5
4
2002
Herne St
Colin Denman
Martin Garnham
Ray Hughes
6
5
2003
Reading
Colin Denman
Martin Freeman
Andrew Russell
7
6
2004
Herne Ave
Tom Whit
Simon Gaywood
Tony Gibb
8
7
2005
Hennry Hill
Bryan Taylor
James Holland-Leader
Simon Gaywood
9
8
2006
Jane Ave
BryanDenman
James Holland-Leader
Simon Gaywood
10
9
2007
Maindy Hill
Tony Bristow
JameMarloe
Courtney Rowe
11
10
2008
Maindy Ave
Luke Rowe
TonyBristow
Chris Pyatt
12
11
2009
Newport Rd
Jon Rowe
Steve Parsons
Tim Read

Questions and formulas:
Question: Show gas station id, location, and manager_name for all gas stations ordered by open year.
Formula: SORTBY(CHOOSE({1,2,3},A1,C1,D1),B1,1)
Formula2: SORTBY(CHOOSE({1,2,3},A2:A12,C2:C12,D2:D12),B2:B12,1)
Level: easy
Question: What are the gas station ids, locations, and manager names for the gas stations ordered by opening year?
Formula: SORTBY(CHOOSE({1,2,3},A1,C1,D1),B1,1)
Formula2: SORTBY(CHOOSE({1,2,3},A2:A12,C2:C12,D2:D12),B2:B12,1)
Level: easy
Question: How many gas station are opened between 2000 and 2005?
Formula: SUM(FILTER(A1, (Year(B1)>=2000)*(Year(B1)<2006)))
Formula2: SUM(FILTER(A2:A12, (Year(B1)>=2000)*(Year(B1)<2006)))
Level: easy
Question: What is the total number of gas stations that opened between 2000 and 2005?
Formula: SUM(FILTER(A1, (Year(B1)>=2000)*(Year(B1)<2006)))
Formula2: SUM(FILTER(A2:A12, (Year(B1)>=2000)*(Year(B1)<2006)))
Level: easy
Question: Show all locations and the number of gas stations in each location ordered by the count.
Formula: SORT(SUMMARIZE(C1,SUMX(A1)), 2, -1)
Formula2: SORT(SUMMARIZE(C2:C12,SUMX(A2:A12)), 2, -1)
Level: medium
Question: For each location, how many gas stations are there in order?
Formula: SORT(SUMMARIZE(C1,SUMX(A1)), 2, -1)
Formula2: SORT(SUMMARIZE(C2:C12,SUMX(A2:A12)), 2, -1)
Level: medium
Question: Show the manager name with most number of gas stations opened after 2000.
Formula: TAKE(SORT(LET(query1,FILTER(A1:F1,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:F12,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: What is the name of the manager with the most gas stations that opened after 2000?
Formula: LET(a,D1,b,D1,c,CHOOSECOLS(TAKE(SORT(LET(query1,FILTER(A1:F1,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,D2:D12,b,D2:D12,c,CHOOSECOLS(TAKE(SORT(LET(query1,FILTER(A2:F12,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: What are the locations of all the gas stations ordered by opening year?
Formula: SORTBY(C1,B1,1)
Formula2: SORTBY(C2:C12,B2:B12,1)
Level: easy
Question: Locations, manager names and open years of stations, sorted by opening dates in chronological order
Formula: SORT(UNIQUE(HSTACK(A1,C1,D1,B1)), 4, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A12,C2:C12,D2:D12,B2:B12)), 4, 1)
Level: medium
Question: The managers of all stations in all locations sorted by opening dates earliest to latest 
Formula: SORT(UNIQUE(HSTACK(A1,C1,D1,B1)), 4, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A12,C2:C12,D2:D12,B2:B12)), 4, 1)
Level: medium
Question: the number of stations opened between 2000 and 2005
Formula: SUM(FILTER(A1, (Year(B1)<2006)*(Year(B1)>=2000)))
Formula2: SUM(FILTER(A2:A12, (Year(B1)<2006)*(Year(B1)>=2000)))
Level: easy
Question: How many stations opened between 2000 and 2005?
Formula: SUM(FILTER(A1, (Year(B1)<2006)*(Year(B1)>=2000)))
Formula2: SUM(FILTER(A2:A12, (Year(B1)<2006)*(Year(B1)>=2000)))
Level: easy
Question: Number of stations from greatest to fewest in all locations
Formula: SORT(SUMMARIZE(C1,SUMX(A1)), 2, -1)
Formula2: SORT(SUMMARIZE(C2:C12,SUMX(A2:A12)), 2, -1)
Level: medium
Question: The number of stations from most to least at different locations.
Formula: SORT(SUMMARIZE(C1,DCOUNTX(A1)), 2, -1)
Formula2: SORT(SUMMARIZE(C2:C12,DCOUNTX(A2:A12)), 2, -1)
Level: medium
Question: Which manager has been in charge of the greatest number of stations opened after 2000?
Formula: TAKE(SORT(LET(query1,FILTER(A1:F1,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:F12,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: The name of the manager who is in charge of the most stations opened after 2000.
Formula: TAKE(SORT(LET(query1,FILTER(A1:F1,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Formula2: TAKE(SORT(LET(query1,FILTER(A2:F12,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1)
Level: hard
Question: All stations' opening years in chronological order at different locations
Formula: SORT(UNIQUE(HSTACK(C1,A1,B1)), 3, 1)
Formula2: SORT(UNIQUE(HSTACK(C2:C12,A2:A12,B2:B12)), 3, 1)
Level: medium
Question: Locations, manager names and open years of stations opened from earliest to latest.
Formula: SORT(UNIQUE(HSTACK(A1,C1,D1,B1)), 4, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A12,C2:C12,D2:D12,B2:B12)), 4, 1)
Level: medium
Question: The managers of all stations opened from earliest to latest at different locations.
Formula: SORT(UNIQUE(HSTACK(A1,C1,D1,B1)), 4, 1)
Formula2: SORT(UNIQUE(HSTACK(A2:A12,C2:C12,D2:D12,B2:B12)), 4, 1)
Level: medium
Question: Name of the manager who is in charge of the greatest number of stations opened after 2000.
Formula: LET(a,D1,b,D1,c,CHOOSECOLS(TAKE(SORT(LET(query1,FILTER(A1:F1,Year(B1)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,D2:D12,b,D2:D12,c,CHOOSECOLS(TAKE(SORT(LET(query1,FILTER(A2:F12,Year(B2:B12)>2000),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: The open years from the earliest to the latest of all stations in different locations.
Formula: SORT(UNIQUE(HSTACK(C1,A1,B1)), 3, 1)
Formula2: SORT(UNIQUE(HSTACK(C2:C12,A2:A12,B2:B12)), 3, 1)
Level: medium