Table:
0
A
B
C
D
E
1
Date
Opponent
Score
Attendance
Report
2
12 July
Manchester United
0–2
20,555
AFC
3
15 July
Dundee
0–0
2,422
AFC
4
18 July
Peterhead
0–4
3,241
AFC
5
21 July
Brechin City
1–0
1,589
AFC
6
24 July
DZC 68
5–0
342
AFC
7
27 July
FC Zwolle
1–2
2,964
AFC
8
30 July
Vitesse Arnhem
1–0
4,103
AFC
9
31 July
SV Rietvogels
10–0
467
AFC
10
5 August
Inverurie Loco Works
2–0
2,300
AFC

Questions and formulas:
Question: What date was the game against inverurie loco works when more than 342 attend?
Formula: LET(query1,LET(query1,FILTER(A1:E1,B1="inverurie loco works"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>342))
Formula2: LET(query1,LET(query1,FILTER(A2:E10,B2:B10="inverurie loco works"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4)))),FILTER(query1,CHOOSECOLS(query1,2)>342))
Level: hard