Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Kentucky 1
Henry Daniel
Jacksonian
1827
Re-elected
Henry Daniel (J) 66.6% Micajah Harrison (AJ) 33.4%
3
Kentucky 3
James Clark
Anti-Jacksonian
1812 1825 ( special )
Re-elected
James Clark (AJ) 71.4% Matthew Flournoy 28.6%
4
Kentucky 4
Robert P. Letcher
Anti-Jacksonian
1822
Re-elected
Robert P. Letcher (AJ)
5
Kentucky 6
Joseph Lecompte
Jacksonian
1824
Re-elected
Joseph Lecompte (J) 54.6% Thomas P. Wilson 45.4%
6
Kentucky 7
Thomas P. Moore
Jacksonianian
1822
Retired Jacksonian hold
John Kincaid (J) 56.3% William P. Booker 43.7%
7
Kentucky 10
Joel Yancey
Jacksonian
1827
Re-elected
Joel Yancey (J) 51.4% Francis Johnson (AJ?) 48.6%
8
Kentucky 11
Thomas Chilton
Jacksonian
1827 ( special )
Re-elected
Thomas Chilton (J) 64.7% James Crutcher (AJ) 35.3%

Questions and formulas:
Question: What was the result for Henry Daniel's race?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Henry Daniel"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,B2:B8="Henry Daniel"),5))
Level: medium
Question: When was Henry Daniel first elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Henry Daniel"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,B2:B8="Henry Daniel"),4))
Level: medium
Question: How many first elected years are provided for Thomas P. Moore?
Formula: ROWS(UNIQUE(FILTER(D1, B1="Thomas P. Moore")))
Formula2: ROWS(UNIQUE(FILTER(D2:D8, B2:B8="Thomas P. Moore")))
Level: medium
Question: What district is Joseph Lecompte in office in?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Joseph Lecompte"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F8,B2:B8="Joseph Lecompte"),1))
Level: medium