Table:
0
A
B
C
D
E
F
G
1
Episode
Original title
Directed by
Written by
Original airdate
Duration
Viewership
2
16
" But is it Art? "
Dewi Humphreys
Jim Sullivan
2November2007
30 minutes
5.34 million
3
17
" The Lonely Herdsman "
Dewi Humphreys
Jim Sullivan
9November2007
30 minutes
4.62 million
4
18
" If You Go Down to the Woods "
Dewi Humphreys
Jim Sullivan
23November2007
30 minutes
5.20 million
5
19
" Sweet Sorrow "
Dewi Humphreys
John Sullivan and Keith Lindsay
30November2007
30 minutes
6.05 million
6
20
" Fifteen Minutes "
Dewi Humphreys
David Cantor
7December2007
30 minutes
5.08 million
7
21
" The Final Curtain "
Dewi Humphreys
John Sullivan
14December2007
30 minutes
5.46 million

Questions and formulas:
Question: Name the number of duration for viewership of 5.46 million
Formula: ROWS(UNIQUE(FILTER(F1, G1="5.46 million")))
Formula2: ROWS(UNIQUE(FILTER(F2:F7, G2:G7="5.46 million")))
Level: medium
Question: Name the total number of episodes written by david cantor
Formula: SUMIFS(A1,D1,"David Cantor")
Formula2: SUMIFS(A2:A7,D2:D7,"David Cantor")
Level: easy
Question: Name the total number of original titles written by john sullivan and keith lindsay
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="John Sullivan and Keith Lindsay"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,D2:D7="John Sullivan and Keith Lindsay"),2))
Level: medium
Question: Name the original title for 6.05 million viewership
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="6.05 million"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,G2:G7="6.05 million"),2))
Level: medium