Table:
0
A
B
C
D
E
1
Name
Took Office
Left Office
Party
District Residence
2
District created March 4, 1875
District created March 4, 1875
District created March 4, 1875
District created March 4, 1875
District created March 4, 1875
3
John Hancock
March 4, 1875
March 3, 1877
Democrat
Austin
4
Dewitt Clinton Giddings
March 4, 1877
March 3, 1879
Democrat
Brenham
5
George Washington Jones
March 4, 1879
March 3, 1883
Greenback
Bastrop
6
James W. Throckmorton
March 4, 1883
March 3, 1887
Democrat
McKinney
7
Silas Hare
March 4, 1887
March 3, 1891
Democrat
Sherman
8
Joseph W. Bailey
March 4, 1891
March 3, 1901
Democrat
Gainesville
9
Choice B. Randell
March 4, 1901
March 3, 1903
Democrat
Sherman
10
James Andrew Beall
March 4, 1903
March 3, 1915
Democrat
Waxahachie
11
Hatton W. Sumners
March 4, 1915
January 3, 1947
Democrat
Dallas
12
Joseph Franklin Wilson
January 3, 1947
January 3, 1955
Democrat
Dallas
13
Bruce Reynolds Alger
January 3, 1955
January 3, 1965
Republican
Dallas
14
Earle Cabell
January 3, 1965
January 3, 1973
Democrat
Dallas
15
Alan Steelman
January 3, 1973
January 3, 1977
Republican
Dallas
16
Jim Mattox
January 3, 1977
January 3, 1983
Democrat
Dallas
17
John W. Bryant
January 3, 1983
January 3, 1997
Democrat
Dallas
18
Pete Sessions
January 3, 1997
January 3, 2003
Republican
Dallas
19
Jeb Hensarling
January 3, 2003
Present
Republican
Dallas

Questions and formulas:
Question: Name of choice b. Randell is the name of which District Residence?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="choice b. randell"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,A2:A19="choice b. randell"),5))
Level: medium
Question: Who has a Took Office of march 4, 1903?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="march 4, 1903"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,B2:B19="march 4, 1903"),1))
Level: medium
Question: Which Took Office that has a Party of democrat, under the name of John Hancock
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="democrat")*(A1="john hancock")),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,(D2:D19="democrat")*(A2:A19="john hancock")),2))
Level: medium
Question: Who has Took Office of march 4, 1875?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="march 4, 1875"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E19,B2:B19="march 4, 1875"),1))
Level: medium