Table:
0
A
B
C
D
E
1
Representative
Years
State
Party
Lifespan
2
John A. Quackenbush
1889–1893
New York
Republican
1828–1908
3
James Minor Quarles
1859–1861
Tennessee
Oppositionist
1823–1901
4
Julian M. Quarles
1899–1901
Virginia
Democratic
1848–1929
5
Tunstal Quarles
1817–1820
Kentucky
Democratic-Republican
1781–1856
6
Dan Quayle
1977–1981
Indiana
Republican
1947–
7
John Quayle
1923–1930
New York
Democratic
1868–1930
8
Al Quie
1958–1979
Minnesota
Republican
1923–
9
Lemuel E. Quigg
1894–1899
New York
Republican
1863–1919
10
James M. Quigley
1955–1957 1959–1961
Pennsylvania
Democratic
1918–
11
Jimmy Quillen
1963–1997
Tennessee
Republican
1916–2003
12
Percy Quin
1913–1932
Mississippi
Democratic
1872–1932
13
Josiah Quincy III
1805–1813
Massachusetts
Federalist
1772–1864
14
Jack Quinn
1993–2005
New York
Republican
1951–
15
James L. Quinn
1935–1939
Pennsylvania
Democratic
1875–1960
16
John Quinn
1889–1891
New York
Democratic
1839–1903
17
Peter A. Quinn
1945–1947
New York
Democratic
1904–1974
18
Terence J. Quinn
1877–1878
New York
Democratic
1836–1878
19
T. Vincent Quinn
1949–1951
New York
Democratic
1903–1982
20
John A. Quitman
1855–1858
Mississippi
Democratic
1798–1858

Questions and formulas:
Question: Which party has Peter A. Quinn as a representative?
Formula: FILTER(D1,A1="peter a. quinn")
Formula2: FILTER(D2:D20,A2:A20="peter a. quinn")
Level: easy
Question: Which state does Jimmy Quillen represent?
Formula: FILTER(C1,A1="jimmy quillen")
Formula2: FILTER(C2:C20,A2:A20="jimmy quillen")
Level: easy
Question: What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?
Formula: FILTER(E1,(D1="democratic")*(C1="new york")*(A1="terence j. quinn"))
Formula2: FILTER(E2:E20,(D2:D20="democratic")*(C2:C20="new york")*(A2:A20="terence j. quinn"))
Level: easy