Table:
0
A
B
C
D
E
F
G
1
Series #
Season #
Title
Directed by
Written by
Original air date
Total viewers (in millions)
2
45
1
"The Day After"
Michael Lange
Patrick Sean Smith
August31,2009
1.211
3
46
2
"Our Fathers"
Patrick Norris
Jessica O’Toole & Amy Rardin
September7,2009
1.313
4
47
3
"The Half-Naked Gun"
Michael Lange
Roger Grant
September14,2009
N/A
5
48
4
"High and Dry"
Shawn Piller
Casey Johnson
September21,2009
N/A
6
49
5
"Down on Your Luck"
Michael Lange
Matt Whitney
September28,2009
N/A
7
50
6
"Lost and Founders"
Fred Gerber
Michael Berns
October5,2009
N/A
8
51
7
"The Dork Knight"
Rick Rosenthal
Adam Milch
October12,2009
N/A
9
52
8
"Fight the Power"
Michael Lange
Jessica O’Toole & Amy Rardin
October19,2009
N/A
10
53
9
"The Wish-Pretzel"
Melanie Mayron
Lana Cho & Matt Whitney
October26,2009
N/A
11
54
10
"Friend or Foe"
Michael Lange
Roger Grant
November2,2009
N/A
12
55
11
"I Know What You Did Last Semester"
Michael Lange
Casey Johnson & David Windsor
January25,2010
N/A
13
56
12
"Pride & Punishment"
John T. Kretchmer
Jessica O’Toole & Amy Rardin
February1,2010
N/A
14
57
13
"Take Me Out"
Lee Rose
Matt Whitney
February8,2010
N/A
15
58
14
"The Tortoise and the Hair"
Michael Lange
Rob Bragin
February15,2010
N/A
16
59
15
"Love, Actually, Possibly, Maybe... Or Not"
Mark Rosman
Roger Grant
February22,2010
0.872
17
60
16
"Your Friends and Neighbors"
Michael Lange
Dana Greenblatt
March1,2010
0.937
18
61
17
"The Big Easy Does It"
Fred Savage
Casey Johnson & David Windsor
March8,2010
1.031
19
62
18
"Camp Buy Me Love"
Michael Lange
Jessica O’Toole & Amy Rardin
March15,2010
0.820
20
63
19
"The First Last"
Patrick Norris
Roger Grant & Matt Whitney
March22,2010
N/A

Questions and formulas:
Question: What is the total number of titles written by Casey Johnson?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Casey Johnson"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,E2:E20="Casey Johnson"),3))
Level: medium
Question: Who wrote the title that received 1.211 million total viewers?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1=1.211),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,G2:G20=1.211),5))
Level: medium
Question: Who directed the title that was written by Adam Milch?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Adam Milch"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,E2:E20="Adam Milch"),4))
Level: medium
Question: How many millions of total viewers watched series #57?
Formula: SUM(FILTER(G1, A1=57))
Formula2: SUM(FILTER(G2:G20, A2:A20=57))
Level: easy
Question: How many millions of total viewers watched season #8?
Formula: LET(query1,SUMMARIZE(G1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=8))
Formula2: LET(query1,SUMMARIZE(G2:G20,SUMX(B2:B20)),FILTER(query1,CHOOSECOLS(query1,2)=8))
Level: hard