Table:
0
A
B
C
D
E
F
G
1
No. in series
No. in season
Title
Directed by
Written by
Original air date
Production code
2
18
1
"The Gang Finds a Dumpster Baby"
Jerry Levine
Rob McElhenney & Charlie Day
September13,2007
IP03001
3
19
2
" The Gang Gets Invincible "
Fred Savage
Charlie Day & Glenn Howerton & David Hornsby
September13,2007
IP03010
4
20
3
"Dennis and Dee's Mom Is Dead"
Matt Shakman
Rob McElhenney & David Hornsby
September20,2007
IP03013
5
21
4
"The Gang Gets Held Hostage"
Fred Savage
Story by: Lisa Parsons Teleplay by: Rob McElhenney
September20,2007
IP03009
6
22
5
"The Aluminum Monster vs. Fatty Magoo"
Fred Savage
Charlie Day & Glenn Howerton
September27,2007
IP03007
7
23
6
"The Gang Solves the North Korea Situation"
Fred Savage
Charlie Day & Scott Marder & Rob Rosell
September27,2007
IP03006
8
24
7
"The Gang Sells Out"
Matt Shakman
Charlie Day & David Hornsby
October4,2007
IP03014
9
27
10
"Mac is a Serial Killer"
Jerry Levine
Story by: Charlie Day Teleplay by: David Hornsby
October18,2007
IP03003
10
28
11
"Dennis Looks Like a Registered Sex Offender"
Jerry Levine
Rob McElhenney
October25,2007
IP03005
11
29
12
"The Gang Gets Whacked (Part 1)"
Matt Shakman
Glenn Howerton & Scott Marder & Rob Rosell
November1,2007
IP03011
12
30
13
"The Gang Gets Whacked (Part 2)"
Matt Shakman
Scott Marder & Rob Rosell
November1,2007
IP03012
13
31
14
"Bums: Making a Mess All Over the City"
Jerry Levine
Charlie Day & David Hornsby
November8,2007
IP03004

Questions and formulas:
Question: Who wrote the episode with a production code of ip03007?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="IP03007"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G13,G2:G13="IP03007"),5))
Level: medium
Question: What is the name of episode number 29 in the series?
Formula: LET(query1,SUMMARIZE(C1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=29))
Formula2: LET(query1,SUMMARIZE(C2:C13,SUMX(A2:A13)),FILTER(query1,CHOOSECOLS(query1,2)=29))
Level: hard
Question: Who wrote the episode with ip03012 as the production code?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="IP03012"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G13,G2:G13="IP03012"),5))
Level: medium
Question: Who directed the episode with production code ip03010?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="IP03010"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G13,G2:G13="IP03010"),4))
Level: medium