Table:
0
A
B
C
D
E
1
Episode no.
Airdate
Viewers
BBC Three weekly ranking
Cable rank
2
1
12 April 2012
947000
5
16
3
2
19 April 2012
857000
5
29
4
3
26 April 2012
783000
4
30
5
4
3 May 2012
1024000
1
11
6
5
10 May 2012
925000
5
18
7
6
17 May 2012
1070000
6
15
8
7
24 May 2012
1044000
4
9
9
8
31 May 2012
936000
5
13
10
9
7 June 2012
1073000
3
6
11
10
14 June 2012
656000
N/A
N/A
12
11
21 June 2012
604000
N/A
N/A

Questions and formulas:
Question: When 3 is the bbc three weekly ranking what is the airdate?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=3),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E12,D2:D12=3),2))
Level: medium
Question: When 656000 is the amount of viewers and n/a is the cable rank what is the airdate?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="N/A"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)=656000))
Formula2: LET(query1,LET(query1,FILTER(A2:E12,E2:E12="N/A"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,3)))),FILTER(query1,CHOOSECOLS(query1,2)=656000))
Level: hard