Table:
0
A
B
C
D
E
F
1
S No
Team (A)
Team (B)
Winner
Margin
Match Date
2
1
India
Sri Lanka
India
10 runs
Jan 17, 1987
3
2
India
Zimbabwe
India
8 wickets
Oct 17, 1987
4
3
India
England
England
35 runs
Nov 5, 1987
5
4
India
West Indies
West Indies
8 wickets
Oct 30, 1989
6
5
Sri Lanka
West Indies
West Indies
46 runs
Nov 9, 1993
7
6
India
West Indies
India
8 runs
Oct 20, 1994
8
7
India
Australia
Australia
16 runs
Feb 27, 1996
9
8
India
South Africa
India
35 runs
Nov 6, 1996
10
9
India
South Africa
India
74 runs
Dec 14, 1996
11
10
India
Sri Lanka
Sri Lanka
5 wickets
May 17, 1997
12
11
India
Bangladesh
India
5 wickets
May 25, 1998
13
12
India
England
England
5 runs
Feb 3, 2002
14
13
India
Australia
Australia
77 runs
Nov 1, 2003
15
14
India
South Africa
India
5 wickets
Nov 28, 2005
16
15
India
Australia
India
2 wickets
Oct 17, 2007
17
16
Canada
New Zealand
New Zealand
97 runs
Mar 13, 2011
18
17
New Zealand
Sri Lanka
Sri Lanka
112 runs
Mar 18, 2011
19
18
India
Sri Lanka
India
6 wickets
Apr 2, 2011
20
19
India
England
India
6 wickets
Oct 23, 2011

Questions and formulas:
Question: What is Margin, when Match Date is Oct 17, 2007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="oct 17, 2007"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F20,F2:F20="oct 17, 2007"),5))
Level: medium
Question: What is Team (B), when S No is greater than 17?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)>17))
Formula2: LET(query1,SUMMARIZE(C2:C20,SUMX(A2:A20)),FILTER(query1,CHOOSECOLS(query1,2)>17))
Level: hard
Question: What is the total number of S No(s), when the Margin is 16 runs?
Formula: SUMIFS(A1,E1,"16 runs")
Formula2: SUMIFS(A2:A20,E2:E20,"16 runs")
Level: easy
Question: What is the highest S No, when the Match Date is Nov 1, 2003?
Formula: MAXIFS(A1,F1,"nov 1, 2003")
Formula2: MAXIFS(A2:A20,F2:F20,"nov 1, 2003")
Level: easy
Question: What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989?
Formula: LET(query1,LET(query1,FILTER(A1:F1,(E1="8 wickets")*(F1="oct 30, 1989")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<18))
Formula2: LET(query1,LET(query1,FILTER(A2:F20,(E2:E20="8 wickets")*(F2:F20="oct 30, 1989")),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<18))
Level: hard