Table:
0
A
B
C
D
E
F
G
1
No. in series
No. in season
Title
Directed by
Written by
Original air date
U.S. viewers (millions)
2
145
4
" Fannysmackin' "
Richard J. Lewis
Dustin Lee Abraham
October12,2006
21.85
3
146
5
"Double-Cross"
Michael Slovis
Marlene Meyer
October19,2006
20.49
4
147
6
" Burn Out "
Alec Smight
Jacqueline Hoyt
November2,2006
20.77
5
149
8
"Happenstance"
Jean de Segonzac
Sarah Goldfinger
November16,2006
24.11
6
151
10
"Loco Motives"
Kenneth Fink
Evan Dunsky & Anthony E. Zuiker
December7,2006
23.25
7
153
12
" Sweet Jane "
Kenneth Fink
Kenneth Fink & Naren Shankar
January18,2007
21.41
8
155
14
"Meet Market"
Paris Barclay
Dustin Lee Abraham
February1,2007
21.49
9
157
16
"Monster in the Box"
Jeffrey Hunt
Naren Shankar & Douglas Petrie
February15,2007
22.71
10
158
17
"Fallen Idols"
Christopher Leitch
Marlene Meyer
February22,2007
21.78
11
159
18
" Empty Eyes "
Michael Slovis
Allen MacDonald
March29,2007
22.71
12
160
19
" Big Shots "
Jeff Woolnough
Dustin Lee Abraham
April5,2007
21.69
13
162
21
" Ending Happy "
Kenneth Fink
Evan Dunsky
April26,2007
20.20
14
164
23
"The Good, the Bad, and the Dominatrix"
Alec Smight
Jacqueline Hoyt
May10,2007
18.75

Questions and formulas:
Question: What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
Formula: SUM(FILTER(B1, (E1="Marlene Meyer")*(G1=20.49)))
Formula2: SUM(FILTER(B2:B14, (E2:E14="Marlene Meyer")*(G2:G14=20.49)))
Level: easy
Question: When did the no. 23 show originally air?
Formula: LET(query1,SUMMARIZE(F1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=23))
Formula2: LET(query1,SUMMARIZE(F2:F14,SUMX(B2:B14)),FILTER(query1,CHOOSECOLS(query1,2)=23))
Level: hard