Table:
0
A
B
C
D
E
F
G
1
Episode No.
Series No.
Title
Directed by
Written by
Viewers (millions)
Original airdate
2
16
1
"The Apple Doesn't Fall"
Ben Bolt
Richard Stoneman
8.10
24September2007
3
17
2
"Movement"
Ben Bolt
Nick Vivan
8.58
1October2007
4
18
3
"City Slickers"
Ben Bolt
Richard Stoneman
8.84
8October2007
5
19
4
"The Admirer"
Ben Bolt
Jack Lothian
8.81
15October2007
6
20
5
"The Holly Bears a Prickle"
Ben Bolt
Ben Bolt
9.21
22October2007
7
21
6
"Nowt So Queer"
Ben Bolt
Keith Temple
9.92
29October2007

Questions and formulas:
Question: Who wrote the episode that had 8.84 million viewers?
Formula: LET(query1,SUMMARIZE(E1,SUMX(F1)),FILTER(query1,CHOOSECOLS(query1,2)=8.84))
Formula2: LET(query1,SUMMARIZE(E2:E7,SUMX(F2:F7)),FILTER(query1,CHOOSECOLS(query1,2)=8.84))
Level: hard
Question: How many million viewers watched episode number 20?
Formula: SUM(FILTER(F1, A1=20))
Formula2: SUM(FILTER(F2:F7, A2:A7=20))
Level: easy
Question: What was the title of the episode written by Keith Temple?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Keith Temple"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,E2:E7="Keith Temple"),3))
Level: medium