Table:
0
A
B
C
D
E
1
Team 1
Agg.
Team 2
1st leg
2nd leg
2
Manzini Wanderers
6-1
Township Rollers
2-0
4-1
3
CD Elá Nguema
0-5
Etoile du Congo
0-1
0-4
4
Panthères Noires
2-3
Wagad Mogadishu
2-2
0-1
5
RL Defence Force
2-3
Sunrise Flacq United
2-0
0-3
6
Sierra Fisheries
0-1
AS Police
0-1
0-0

Questions and formulas:
Question: What is the first leg score when team 2 is Wagad Mogadishu?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="wagad mogadishu"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,C2:C6="wagad mogadishu"),4))
Level: medium
Question: What is the first leg score when the second leg score is 0-4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="0-4"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="0-4"),4))
Level: medium
Question: What is the first leg score when the second leg score is 0-4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="0-4"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,E2:E6="0-4"),4))
Level: medium