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
10
3
" Dennis and Dee Go on Welfare "
Dan Attias
Rob McElhenney
July6,2006
IP02004
3
11
4
"Mac Bangs Dennis' Mom"
Dan Attias
Charlie Day & Glenn Howerton
July6,2006
IP02005
4
12
5
" Hundred Dollar Baby "
Dan Attias
Charlie Day, Glenn Howerton and Rob McElhenney
July13,2006
IP02007
5
13
6
" The Gang Gives Back "
Dan Attias
Charlie Day
July20,2006
IP02003
6
14
7
" The Gang Exploits a Miracle "
Dan Attias
Charlie Day, Eric Falconer and Chris Romano
July27,2006
IP02009
7
15
8
" The Gang Runs for Office "
Dan Attias
David Hornsby
August3,2006
IP02006

Questions and formulas:
Question: On how many different dates was the episode written by Charlie Day aired for the first time?
Formula: ROWS(UNIQUE(FILTER(F1, E1="Charlie Day")))
Formula2: ROWS(UNIQUE(FILTER(F2:F7, E2:E7="Charlie Day")))
Level: medium
Question: Who are the writers of the episode with production code IP02009?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="IP02009"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,G2:G7="IP02009"),5))
Level: medium
Question: Who are the writers of the episode titled "Mac Bangs Dennis' Mom"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,C1="Mac Bangs Dennis' Mom"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,C2:C7="Mac Bangs Dennis' Mom"),5))
Level: medium
Question: How many different titles does the episode with production code IP02003 have?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,G1="IP02003"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G7,G2:G7="IP02003"),3))
Level: medium