Table:
0
A
B
C
D
E
1
Departure
Going to
Calling at
Arrival
Operator
2
03.29
Peterborough East
Wansford, Peterborough East
04.05
LNWR
3
03.35
Stamford
Stamford
03.52
LNWR
4
09.50
Stamford
Morcott, Luffenham, Ketton & Collyweston, Stamford
10.16
LNWR
5
09.54
Uppingham
Uppingham
10.05
LNWR
6
12.09
Peterborough East
King's Cliffe, Wansford, Peterborough East
12.40
LNWR
7
12.12
Stamford
Morcott, Luffenham, Ketton & Collyweston, Stamford
12.35
LNWR
8
12.15
Uppingham
Uppingham
12.25
LNWR
9
14.30
Uppingham
Uppingham
14.40
LNWR
10
14.35
Stamford
Morcott, Luffenham, Ketton & Collyweston, Stamford
14.58
LNWR
11
17.10 Fri only
Uppingham
Uppingham
17.20
LNWR
12
18.17
Uppingham
Uppingham
18.27
LNWR
13
18.19
Stamford
Morcott, Luffenham, Ketton & Collyweston, Stamford
18.42
LNWR
14
19.10
Market Harborough
Rockingham, Ashley & Weston, Market Harborough
19.35
LNWR
15
20.35
Rugby
Market Harborough, Welford & Lutterworth, Rugby
21.32
LNWR

Questions and formulas:
Question: What was the calling for the 18.42 arrival time?
Formula: LET(query1,SUMMARIZE(C1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=18.42))
Formula2: LET(query1,SUMMARIZE(C2:C15,SUMX(D2:D15)),FILTER(query1,CHOOSECOLS(query1,2)=18.42))
Level: hard
Question: What was the arrival for Wansford, Peterborough East?
Formula: SUMIFS(D1,C1,"Wansford, Peterborough East")
Formula2: SUMIFS(D2:D15,C2:C15,"Wansford, Peterborough East")
Level: easy
Question: What was the departure time when the arrival was 14.40?
Formula: LET(query1,SUMMARIZE(A1,SUMX(D1)),FILTER(query1,CHOOSECOLS(query1,2)=14.4))
Formula2: LET(query1,SUMMARIZE(A2:A15,SUMX(D2:D15)),FILTER(query1,CHOOSECOLS(query1,2)=14.4))
Level: hard
Question: What is the departure for Peterborough East whose arrival time is 12.40?
Formula: LET(query1,LET(query1,FILTER(A1:E1,B1="Peterborough East"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=12.4))
Formula2: LET(query1,LET(query1,FILTER(A2:E15,B2:B15="Peterborough East"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)=12.4))
Level: hard
Question: What is the calling at for the 09.50 departure?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1=9.5),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E15,A2:A15=9.5),3))
Level: medium
Question: Where is the train going to when departing at 20.35?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1=20.35),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E15,A2:A15=20.35),2))
Level: medium