Table:
0
A
B
C
D
E
F
G
1
No. in series
No. in season
Title
Directed by
Written by
Original air date
U.S. viewers (million)
2
25
1
"Game On"
Steve Buscemi
Liz Brixius & Linda Wallem
March28,2011
0.61
3
26
2
"Enough Rope"
Steve Buscemi
Liz Brixius
April4,2011
0.49
4
27
3
"Play Me"
Michael Lehmann
Linda Wallem
April11,2011
0.57
5
28
4
"Mitten"
Michael Lehmann
Liz Flahive
April18,2011
0.60
6
29
5
"Rat Falls"
Tristram Shapeero
Alison McDonald
April25,2011
0.65
7
30
6
"When the Saints Go"
Tristram Shapeero
Liz Brixius
May2,2011
0.53
8
31
7
"Orchids and Salami"
Bob Balaban
Ellen Fairey
May9,2011
0.47
9
32
8
"The Astonishing"
Bob Balaban
Rajiv Joseph
May16,2011
0.43
10
33
9
"Have You Met Ms. Jones?"
Daisy von Scherler Mayer
Liz Brixius & Wyndham Lewis
May23,2011
0.60
11
34
10
"Fuck the Lemurs"
Daisy von Scherler Mayer
Liz Brixius
June6,2011
0.56
12
35
11
"Batting Practice"
Linda Wallem
Liz Flahive
June13,2011
0.58

Questions and formulas:
Question: How many episodes were written by Alison McDonald?
Formula: ROWS(UNIQUE(FILTER(D1, E1="Alison McDonald")))
Formula2: ROWS(UNIQUE(FILTER(D2:D12, E2:E12="Alison McDonald")))
Level: medium
Question: How many viewers in millions did the Alison McDonald episode get?
Formula: SUMIFS(G1,E1,"Alison McDonald")
Formula2: SUMIFS(G2:G12,E2:E12,"Alison McDonald")
Level: easy
Question: How many viewers in millions did "batting practice" get?
Formula: SUMIFS(G1,C1,"Batting Practice")
Formula2: SUMIFS(G2:G12,C2:C12,"Batting Practice")
Level: easy