Table:
0
A
B
C
D
E
F
1
Date
Episode
Performer 1
Performer 2
Performer 3
Performer 4
2
22 April 1998
1
Brad Sherwood
Wayne Brady
Colin Mochrie
Ryan Stiles
3
29 April 1998
2
Greg Proops
Phil LaMarr
Colin Mochrie
Ryan Stiles
4
6 May 1998
3
Greg Proops
Karen Maruyama
Colin Mochrie
Ryan Stiles
5
13 May 1998
4
Patrick Bristow
Wayne Brady
Colin Mochrie
Ryan Stiles
6
20 May 1998
5
Greg Proops
Brad Sherwood
Colin Mochrie
Ryan Stiles
7
27 May 1998
6
Greg Proops
Catherine O'Hara
Colin Mochrie
Ryan Stiles
8
4 June 1998
7
Greg Proops
Phil LaMarr
Colin Mochrie
Ryan Stiles
9
11 June 1998
8
Brad Sherwood
Wayne Brady
Colin Mochrie
Ryan Stiles
10
18 June 1998
9
Brad Sherwood
Debra Wilson
Colin Mochrie
Ryan Stiles
11
25 June 1998
10
Compilation 1
Compilation 1
Compilation 1
Compilation 1
12
2 July 1998
11
Compilation 2
Compilation 2
Compilation 2
Compilation 2

Questions and formulas:
Question: Who was performer 3 with karen maruyama as performer 2?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1="karen maruyama"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F12,D2:D12="karen maruyama"),5))
Level: medium
Question: What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5?
Formula: LET(query1,LET(query1,FILTER(A1:F1,(F1="ryan stiles")*(D1="wayne brady")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>5))
Formula2: LET(query1,LET(query1,FILTER(A2:F12,(F2:F12="ryan stiles")*(D2:D12="wayne brady")),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>5))
Level: hard