Table:
0
A
B
C
D
E
F
1
Total tenure rank
Uninterrupted rank
Name
State represented
Total tenure time
Uninterrupted time
2
1
1
Robert Byrd
West Virginia
51 years, 176 days
51 years, 176 days
3
2
2
Daniel Inouye
Hawaii
49 years, 349 days
49 years, 349 days
4
3
4
Strom Thurmond (I)
South Carolina
47 years, 159 days
46 years, 57 days
5
4
3
Ted Kennedy
Massachusetts
46 years, 292 days
46 years, 292 days
6
5
5
Carl Hayden
Arizona
41 years, 305 days
41 years, 305 days
7
6
6
John C. Stennis
Mississippi
41 years, 59 days
41 years, 59 days
8
7
7
Ted Stevens
Alaska
40 years, 10 days
40 years, 10 days
9
8
8
Patrick Leahy
Vermont
39years, 29days
39years, 29days
10
9
9
Ernest Hollings
South Carolina
38 years, 55 days
38 years, 55 days
11
10
10
Richard Russell, Jr.
Georgia
38 years, 9 days
38 years, 9 days
12
11
11
Russell B. Long
Louisiana
38 years, 3 days
38 years, 3 days
13
12
999
Francis E. Warren (I)
Wyoming
37 years, 6 days
n/a
14
13
12
Orrin Hatch
Utah
37years, 29days
37years, 29days
15
14
999
James Eastland (I)
Mississippi
36 years, 83 days
n/a
16
15
13
Warren Magnuson
Washington
36 years, 20 days
36 years, 20 days
17
16
14
Joe Biden
Delaware
36 years, 12 days
36 years, 12 days
18
17
15
Claiborne Pell
Rhode Island
36 years, 0 days
36 years, 0 days
19
18
16
Pete Domenici
New Mexico
36 years, 0 days
36 years, 0 days
20
19
17
Richard Lugar
Indiana
36 years, 0 days
36 years, 0 days

Questions and formulas:
Question: What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days?
Formula: SUMIFS(A1,F1,"49 years, 349 days")
Formula2: SUMIFS(A2:A20,F2:F20,"49 years, 349 days")
Level: easy
Question: What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?
Formula: LET(query1,LET(query1,FILTER(A1:F1,C1="warren magnuson"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,(CHOOSECOLS(query1,2)>4)*(CHOOSECOLS(query1,3)>9)))
Formula2: LET(query1,LET(query1,FILTER(A2:F20,C2:C20="warren magnuson"),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,2)),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,(CHOOSECOLS(query1,2)>4)*(CHOOSECOLS(query1,3)>9)))
Level: hard