Table:
0
A
B
C
D
E
1
Year
Senator
Party
State
Result
2
1808
John Smith
Democrat-Republican
Ohio
Not expelled
3
1856
Henry Mower Rice
Democratic
Minnesota
Not expelled
4
1862
Lazarus W. Powell
Democratic
Kentucky
Not expelled
5
1862
James F. Simmons
Republican
Rhode Island
Resigned
6
1873
James W. Patterson
Republican
New Hampshire
Term expired
7
1893
William N. Roach
Democratic
North Dakota
Not expelled
8
1905
John H. Mitchell
Republican
Oregon
Died during proceedings
9
1906
Joseph R. Burton
Republican
Kansas
Resigned
10
1907
Reed Smoot
Republican
Utah
Not expelled
11
1919
Robert M. La Follette, Sr.
Republican
Wisconsin
Not expelled
12
1922
Truman Handy Newberry
Republican
Michigan
Resigned
13
1924
Burton K. Wheeler
Democratic
Montana
Not expelled
14
1934
John H. Overton
Democratic
Louisiana
Not expelled
15
1934
Huey Long
Democratic
Louisiana
Not expelled
16
1942
William Langer
Republican
North Dakota
Not expelled
17
1982
Harrison A. Williams
Democratic
New Jersey
Resigned
18
1995
Bob Packwood
Republican
Oregon
Resigned
19
2011
John Ensign
Republican
Nevada
Resigned

Questions and formulas:
Question: what is the sum of the year in rhode island
Formula: SUMIFS(A1,D1,"rhode island")
Formula2: SUMIFS(A2:A19,D2:D19,"rhode island")
Level: easy
Question: what is the senator in kentucky
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="kentucky"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,D2:D19="kentucky"),2))
Level: medium