Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Virginia 1
John G. Jackson
Democratic-Republican
1803 1813
Re-elected
John G. Jackson (DR) 94.7% Others 5.3%
3
Virginia 2
Francis White
Federalist
1813
Lost re-election Federalist hold
Magnus Tate (F) 63.4% Francis White (DR) 36.6%
4
Virginia 5
James Breckinridge
Federalist
1809
Re-elected
James Breckinridge (F) 51.5% John Floyd (DR) 48.5%
5
Virginia 6
Daniel Sheffey
Federalist
1809
Re-elected
Daniel Sheffey (F)
6
Virginia 7
Hugh Caperton
Federalist
1813
Retired Democratic-Republican gain
Ballard Smith (DR) John Matthews (F)
7
Virginia 10
Aylett Hawes
Democratic-Republican
1811
Re-elected
Aylett Hawes (DR) 59.4% John Scott (F) 40.6%
8
Virginia 11
Philip P. Barbour
Democratic-Republican
1814 (special)
Re-elected
Philip P. Barbour (DR) John Mercer (DR)
9
Virginia 13
Thomas M. Bayly
Federalist
1811
Retired Democratic-Republican gain
Burwell Bassett (DR) 52.6% John Eyre (F)
10
Virginia 14
William A. Burwell
Democratic-Republican
1806 (special)
Re-elected
William A. Burwell (DR)
11
Virginia 16
John W. Eppes
Democratic-Republican
1803 1813
Lost re-election Democratic-Republican hold
John Randolph (DR) 51.6% John W. Eppes (DR) 48.4%
12
Virginia 17
James Pleasants
Democratic-Republican
1811
Re-elected
James Pleasants (DR)
13
Virginia 19
Peterson Goodwyn
Democratic-Republican
1803
Re-elected
Peterson Goodwyn (DR)
14
Virginia 20
James Johnson
Democratic-Republican
1813
Re-elected
James Johnson (DR) 52.2% Edwin Gray (F) 47.8%
15
Virginia 21
Thomas Newton, Jr.
Democratic-Republican
1797
Re-elected
Thomas Newton, Jr. (DR)
16
Virginia 22
Hugh Nelson
Democratic-Republican
1811
Re-elected
Hugh Nelson (DR)

Questions and formulas:
Question: What party does James Pleasants belong to?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="James Pleasants"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F16,B2:B16="James Pleasants"),3))
Level: medium