Table:
0
A
B
C
D
E
F
G
H
1
No.
#
Title
Directed by
Story by
Teleplay by
Original air date
U.S. viewers (millions)
2
11
1
"Accentuate the Positive"
Anthony Hemingway
Eric Overmyer & Anthony Bourdain
Eric Overmyer
April24,2011
0.61
3
12
2
"Everything I Do Gonh Be Funky"
Tim Robbins
David Simon
David Simon
May1,2011
0.56
4
13
3
"On Your Way Down"
Simon Cellan Jones
James Yoshimura
James Yoshimura
May8,2011
0.52
5
14
4
"Santa Claus, Do You Ever Get the Blues? "
Alex Zakrzewski
Eric Overmyer & Lolis Eric Elie
Lolis Eric Elie
May15,2011
0.56
6
15
5
"Slip Away"
Rob Bailey
David Simon & Mari Kornhauser
Mari Kornhauser
May22,2011
0.59
7
16
6
"Feels Like Rain"
Roxann Dawson
Eric Overmyer & Tom Piazza
Tom Piazza
May29,2011
0.53
8
17
7
"Carnival Time"
Brad Anderson
David Simon & Eric Overmyer
David Simon & Eric Overmyer
June5,2011
0.55
9
18
8
"Can I Change My Mind"
Ernest Dickerson
Eric Overmyer & James Yoshimura
James Yoshimura
June12,2011
0.44
10
19
9
"What Is New Orleans?"
Adam Davidson
David Simon & George Pelecanos
George Pelecanos
June19,2011
0.57
11
20
10
"That's What Lovers Do"
Agnieszka Holland
Eric Overmyer
Eric Overmyer
June26,2011
0.72

Questions and formulas:
Question: Who wrote the story viewed by 0.53 million viewers?
Formula: LET(query1,SUMMARIZE(E1,SUMX(H1)),FILTER(query1,CHOOSECOLS(query1,2)=0.53))
Formula2: LET(query1,SUMMARIZE(E2:E11,SUMX(H2:H11)),FILTER(query1,CHOOSECOLS(query1,2)=0.53))
Level: hard
Question: How many viewers watched the episode with a story by david simon & mari kornhauser?
Formula: SUMIFS(H1,E1,"David Simon & Mari Kornhauser")
Formula2: SUMIFS(H2:H11,E2:E11,"David Simon & Mari Kornhauser")
Level: easy
Question: How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?
Formula: SUMIFS(H1,D1,"Rob Bailey")
Formula2: SUMIFS(H2:H11,D2:D11,"Rob Bailey")
Level: easy
Question: What is the date the episode directed by rob bailey aired?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:H1,D1="Rob Bailey"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:H11,D2:D11="Rob Bailey"),7))
Level: medium