Table:
0
A
B
C
D
E
1
Season
Episodes
First airdate
Last airdate
Nielsen ranking
2
Season 1
6
March 25, 1986
April 29, 1986
#13
3
Season 2
22
September 17, 1986
May 6, 1987
#31
4
Season 3
22
September 23, 1987
May 6, 1988
#48
5
Season 4
22
October 14, 1988
May 5, 1989
#38
6
Season 5
24
September 22, 1989
May 4, 1990
#34
7
Season 6
24
September 28, 1990
May 3, 1991
#32
8
Season 7
24
September 20, 1991
April 18, 1992
#61
9
Season 8
6
July 9, 1993
August 6, 1993
#19

Questions and formulas:
Question: Which season last aired on May 6, 1987?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="may 6, 1987"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,D2:D9="may 6, 1987"),1))
Level: medium
Question: What is the Nielsen ranking for Season 8?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="season 8"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E9,A2:A9="season 8"),5))
Level: medium
Question: What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="#38"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<24))
Formula2: LET(query1,LET(query1,FILTER(A2:E9,E2:E9="#38"),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<24))
Level: hard
Question: How many episodes were in the season that first aired on September 22, 1989?
Formula: SUMIFS(B1,C1,"september 22, 1989")
Formula2: SUMIFS(B2:B9,C2:C9,"september 22, 1989")
Level: easy
Question: How many episodes were in the season that ended on April 29, 1986?
Formula: SUMIFS(B1,D1,"april 29, 1986")
Formula2: SUMIFS(B2:B9,D2:D9,"april 29, 1986")
Level: easy