Table:
0
A
B
C
D
E
1
Goal
Date
Score
Result
Competition
2
1
10 February 2002
1–1
1–2
Friendly
3
2
7 June 2003
1–1
1–2
2004 Euro qualifying
4
3
20 August 2003
1–1
1–2
2004 Euro qualifying
5
4
18 August 2004
2–0
3–2
Friendly
6
5
9 October 2004
2–1
2–2
2006 WC Qualifying
7
6
5 June 2005
1–1
1–3
2006 WC Qualifying
8
7
28 March 2007
1–2
1–3
2008 Euro qualifying
9
8
2 June 2007
1–2
1–2
2008 Euro qualifying
10
9
12 September 2007
1–2
1–2
2008 Euro qualifying
11
10
21 November 2007
1–3
1–3
2008 Euro qualifying

Questions and formulas:
Question: Tell me the result for 3 goals
Formula: LET(query1,SUMMARIZE(D1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=3))
Formula2: LET(query1,SUMMARIZE(D2:D11,SUMX(A2:A11)),FILTER(query1,CHOOSECOLS(query1,2)=3))
Level: hard