Table:
0
A
B
C
D
E
1
Competition
Current position / round
Final position / round
First match
Last match
2
Scottish Premier League
—
2nd
4 August
22 May
3
UEFA Champions League
—
Group Stage
31 July
12 December
4
UEFA Cup
—
Runners-up
13 February
14 May
5
Scottish League Cup
—
Winners
24 September
16 March
6
Scottish Cup
—
Winners
13 January
24 May

Questions and formulas:
Question: What is the final position/round of the UEFA cup?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="uefa cup"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,A2:A6="uefa cup"),3))
Level: medium
Question: When the final position/round is group stage, when is the last match?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="group stage"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E6,C2:C6="group stage"),5))
Level: medium