Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Mauritania
1 - 0
Algeria
1 - 0
0 - 0
3
Sierra Leone
1 - 3
Senegal
1 - 1
0 - 2
4
Somalia
3 - 3 (3-5 PSO)
Kenya
2 - 1
1 - 2
5
Tanzania
walkover
Sudan
W/O
W/O
6
Lesotho
1 - 2
Zimbabwe
1 - 0
0 - 2
7
Madagascar
walkover
Mauritius
W/O
W/O
8
Malawi
2 - 2 (3-4 AGR)
Burundi
1 - 2
1 - 0
9
DR Congo
1 - 0
Uganda
0 - 0
1 - 0
10
Namibia
1 - 2
Botswana
1 - 1
0 - 1
11
Réunion
4 - 3
Mozambique
2 - 2
2 - 1
12
Guinea
4 - 2
Liberia
3 - 2
1 - 0
13
Niger
2 - 2 (4-3 PSO)
Libya
2 - 0
0 - 2

Questions and formulas:
Question: What was the aggregate for the match with a team 2 of Kenya?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="kenya"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,C2:C13="kenya"),2))
Level: medium
Question: What was the aggregate for the match with Sierra Leone as team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="sierra leone"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13="sierra leone"),2))
Level: medium
Question: What was the 1st leg score for the match with Lesotho as team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="lesotho"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13="lesotho"),4))
Level: medium
Question: What was the 2nd leg score for the match with Lesotho as team 1?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="lesotho"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E13,A2:A13="lesotho"),5))
Level: medium