Table:
0
A
B
C
D
E
1
District
Vacator
Reason for Vacancy
Successor
Date of successors taking office
2
Pennsylvania 15th
Edwin J. Jordan (R)
Resigned March 4, 1895
James H. Codding (R)
November 5, 1895
3
Utah At-large
New seat
State was admitted to the Union
Clarence E. Allen (R)
January 4, 1896
4
Massachusetts 6th
William Cogswell (R)
Died May 22, 1895
William H. Moody (R)
November 5, 1895
5
Illinois 18th
Frederick Remann (R)
Died July 14, 1895
William F. L. Hadley (R)
December 2, 1895
6
Utah Territory AL
Frank J. Cannon (R)
Resigned January 4, 1896
Statehood achieved
Statehood achieved
7
Texas 11th
William H. Crain (D)
Died February 10, 1896
Rudolph Kleberg (D)
April 7, 1896
8
Georgia 3rd
Charles F. Crisp (D)
Died October 23, 1896
Charles R. Crisp (D)
December 19, 1896

Questions and formulas:
Question: When the person died May 22, 1895 is the reason for vacancy what is the district?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="Died May 22, 1895"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,C2:C8="Died May 22, 1895"),1))
Level: medium
Question: When frederick remann (r) is the vacator what is the reason for vacancy?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="Frederick Remann (R)"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,B2:B8="Frederick Remann (R)"),3))
Level: medium
Question: When rudolph kleberg (d) is the successor is the reason for vacancy?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="Rudolph Kleberg (D)"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,D2:D8="Rudolph Kleberg (D)"),3))
Level: medium
Question: When massachusetts 6th is the district what is the reason for vacancy?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Massachusetts 6th"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="Massachusetts 6th"),3))
Level: medium
Question: When rudolph kleberg (d) is the successor what is the date of successors taking office?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="Rudolph Kleberg (D)"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,D2:D8="Rudolph Kleberg (D)"),5))
Level: medium