Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
South Carolina 1
Joel R. Poinsett
Jackson Republican
1820
Re-elected
Joel R. Poinsett (J) 58.2% Samuel Warren 41.8%
3
South Carolina 2
James Hamilton, Jr.
Jackson Republican
1822 (special)
Re-elected
James Hamilton, Jr. (J)
4
South Carolina 3
Robert B. Campbell
Jackson Republican
1823
Retired Jacksonian hold
Thomas R. Mitchell (J) 100%
5
South Carolina 4
Andrew R. Govan
Jackson Republican
1822 (special)
Re-elected
Andrew R. Govan (J)
6
South Carolina 5
George McDuffie
Jackson Republican
1820
Re-elected
George McDuffie (J)
7
South Carolina 6
John Wilson
Jackson Republican
1820
Re-elected
John Wilson (J) 50.8% Warren R. Davis (J) 49.2%

Questions and formulas:
Question: What party does joel r. poinsett represent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Joel R. Poinsett"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Joel R. Poinsett"),3))
Level: medium
Question: What was the first elected year that featured incumbent andrew r. govan?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Andrew R. Govan"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Andrew R. Govan"),4))
Level: medium