Table:
0
A
B
C
D
E
1
Tie no
Home team
Score
Away team
Attendance
2
1
Arsenal
3 – 0
Newcastle United
60,046
3
2
Coventry City
2 – 1
Millwall
17,268
4
3
Oldham Athletic
0 – 1
Huddersfield Town
12,749
5
4
Barnet
0 – 1
Bristol Rovers
5,190
6
5
Liverpool
5 – 2
Havant & Waterlooville
42,566
7
6
Southend United
0 – 1
Barnsley
7,212
8
7
Wigan Athletic
1 – 2
Chelsea
14,166
9
8
Derby County
1 – 4
Preston North End
17,344
10
9
Manchester United
3 – 1
Tottenham Hotspur
75,369
11
10
Portsmouth
2 – 1
Plymouth Argyle
19,612
12
11
Southampton
2 – 0
Bury
25,449
13
12
Hereford United
1 – 2
Cardiff City
6,885
14
13
Peterborough United
0 – 3
West Bromwich Albion
12,701
15
14
Mansfield Town
0 – 2
Middlesbrough
6,258
16
15
Sheffield United
2 – 1
Manchester City
20,800
17
16
Watford
1 – 4
Wolverhampton Wanderers
12,719

Questions and formulas:
Question: who is the home team when tie no is less than 7 and the away team is havant & waterlooville?
Formula: LET(query1,LET(query1,FILTER(A1:E1,D1="havant & waterlooville"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<7))
Formula2: LET(query1,LET(query1,FILTER(A2:E17,D2:D17="havant & waterlooville"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<7))
Level: hard