Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Pennsylvania 2
John Sergeant
Anti-Jacksonian
1816 1827 ( special )
Lost re-election Jacksonian gain
Joseph Hemphill (J) 54.2% John Sergeant (AJ) 45.8%
3
Pennsylvania 6
Innis Green
Jacksonian
1826
Re-elected
Innis Green (J) 72.0% Valentine Hummel (AJ) 28.0%
4
Pennsylvania 10
Adam King
Jacksonian
1826
Re-elected
Adam King (J) 63.2% William McIlvine (AJ) 36.8%
5
Pennsylvania 14
Andrew Stewart
Anti-Jacksonian
1820
Lost re-election Jacksonian gain
Thomas Irwin (J) 56.3% Andrew Stewart (AJ) 43.7%
6
Pennsylvania 17
Richard Coulter
Jacksonian
1826
Re-elected
Richard Coulter (J) 100%

Questions and formulas:
Question:  What party was represented by incumbent Richard Coulter ? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Richard Coulter"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Richard Coulter"),3))
Level: medium