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
47
1
"Happy Fucking Birthday"
Randall Einhorn
Clyde Phillips
April14,2013
0.77
3
48
2
"Luck of the Drawing"
John Cameron Mitchell
Tom Straw
April21,2013
0.76
4
49
3
"Smile"
Randall Einhorn
Liz Flahive
April28,2013
0.69
5
50
4
"Lost Girls"
Romeo Tirone
Michael Davidoff & Bill Rosenthal
May5,2013
0.73
6
51
5
"Good Thing"
Randall Einhorn
Cindy Caponera
May12,2013
0.84
7
52
6
"Walk of Shame"
Seith Mann
Abe Sylvia
May19,2013
0.83
8
53
7
"Teachable Moments"
Jesse Peretz
Daniele Nathanson
May26,2013
0.56
9
54
8
"Forget It"
Randall Einhorn
Gina Gold & Aurorea Khoo
June2,2013
0.78

Questions and formulas:
Question: What is the title of the episode directed by Romeo Tirone?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="Romeo Tirone"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,D2:D9="Romeo Tirone"),3))
Level: medium
Question: When did the episode written by Abe Sylvia originally air?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Abe Sylvia"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,E2:E9="Abe Sylvia"),6))
Level: medium
Question: Which episode number had a viewership of 0.56 million?
Formula: SUM(FILTER(A1, G1=0.56))
Formula2: SUM(FILTER(A2:A9, G2:G9=0.56))
Level: easy
Question: Who was the writer in the episode directed by Jesse Peretz?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,D1="Jesse Peretz"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G9,D2:D9="Jesse Peretz"),5))
Level: medium