Table:
0
A
B
C
D
E
F
G
1
Ep.
Season
Title
Directed by
Written by
Original air date
Prod. Code
2
52
1
"Initiation"
Michael Zinberg
Frank Dungan & Jeff Stein & Tony Sheehan
October 30, 1987
5M03
3
53
2
"TV George"
Alan Bergmann
Frank Dungan & Jeff Stein & Tony Sheehan
November 06, 1987
5M02
4
54
3
"Triangle"
Alan Bergmann
Frank Dungan & Jeff Stein & Tony Sheehan
November 13, 1987
5M01
5
55
4
"Marsha's Job"
Don Corvan
Liz Sage
November 20, 1987
5M07
6
56
5
"Moonlighting"
Gerren Keith
Frank Dungan & Jeff Stein & Tony Sheehan
November 27, 1987
5M04
7
57
6
"The Wedding"
Tony Singletary
Jeff Stein
December 04, 1987
5M08
8
58
7
"Fall Guy"
Don Corvan
Doug Steckler
December 11, 1987
5M10
9
59
8
"Christmas Story"
Don Corvan
Doug Steckler
December 18, 1987
5M11
10
60
9
"G.I. George"
Don Corvan
Jeff Greenstein & Jeff Strauss
January 08, 1988
5M06
11
61
10
"Kevin's Model"
Michael Zinberg
Jim Kearns
January 15, 1988
5M12
12
62
11
"Commentary"
Michael Zinberg
Jack Carrerrow
January 22, 1988
5M13
13
63
12
"The Diary"
Howard Storm
Mitzi McCall Brill & Adrienne Armstrong
January 29, 1988
5M05
14
64
13
"The Trip: Part 1"
Don Corvan
Frank Dungan & Jeff Stein & Tony Sheehan
February 05, 1988
5M16
15
65
14
"The Trip: Part 2"
Don Corvan
Frank Dungan & Jeff Stein & Tony Sheehan
February 12, 1988
5M17
16
66
15
"Foxtrot"
Don Corvan
Doug Steckler
March 04, 1988
5M18
17
67
16
"Heather's Monk"
Don Corvan
Jim Kearns
March 11, 1988
5M20
18
68
17
"Kevin Nightingale"
Don Corvan
Liz Sage
March 18, 1988
5M15
19
69
18
"The Apartment"
Tony Sheehan
Frank Dungan & Jeff Stein & Tony Sheehan
March 25, 1988
5M19
20
70
19
"Graduation"
Don Corvan
Liz Sage
April 29, 1988
5M22

Questions and formulas:
Question: Who directed the episode that originally aired on March 18, 1988?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="March 18, 1988"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,F2:F20="March 18, 1988"),4))
Level: medium
Question: What is the episode number in the series for "graduation" that was directed by Don Corvan?
Formula: SUM(FILTER(A1, (D1="Don Corvan")*(C1="Graduation")))
Formula2: SUM(FILTER(A2:A20, (D2:D20="Don Corvan")*(C2:C20="Graduation")))
Level: easy
Question: What was the name of the episode that aired originally on March 11, 1988?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,F1="March 11, 1988"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,F2:F20="March 11, 1988"),3))
Level: medium
Question: What is the production code of the episode written by Jack Carrerrow?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,E1="Jack Carrerrow"),7))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G20,E2:E20="Jack Carrerrow"),7))
Level: medium
Question: How many episodes had a production code of 5m13?
Formula: SUMIFS(A1,G1,"5M13")
Formula2: SUMIFS(A2:A20,G2:G20,"5M13")
Level: easy