Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Virginia 1
Daniel Morgan
Federalist
1797
Retired Federalist hold
Robert Page (F) 54.3% John Smith (DR) 45.7%
3
Virginia 2
David Holmes
Democratic-Republican
1797
Re-elected
David Holmes (DR) Robert Porterfield (F)
4
Virginia 3
James Machir
Federalist
1797
Retired Democratic-Republican gain
George Jackson (DR) 53.9% John Haymond (F) 46.0%
5
Virginia 4
Abram Trigg
Democratic-Republican
1797
Re-elected
Abram Trigg (DR) 88.5% William Preston (F) 11.5%
6
Virginia 5
John J. Trigg
Democratic-Republican
1797
Re-elected
John J. Trigg (DR) George Hancock (F)
7
Virginia 6
Matthew Clay
Democratic-Republican
1797
Re-elected
Matthew Clay (DR) Isaac Coles (DR)
8
Virginia 12
Thomas Evans
Federalist
1797
Re-elected
Thomas Evans (F) 62.3% John Page (DR) 37.7%
9
Virginia 13
John Clopton
Democratic-Republican
1795
Lost re-election Federalist gain
John Marshall (F) John Clopton (DR)
10
Virginia 15
John Dawson
Democratic-Republican
1797
Re-elected
John Dawson (DR)
11
Virginia 16
Anthony New
Democratic-Republican
1793
Re-elected
Anthony New (DR) Benjamin Temple (F)
12
Virginia 17
Richard Brent
Democratic-Republican
1795
Retired Federalist gain
Leven Powell (F) 63.8% Roger West (DR) 36.4%
13
Virginia 18
John Nicholas
Democratic-Republican
1793
Re-elected
John Nicholas (DR) John Blackwell (F)

Questions and formulas:
Question: What is the latest first elected?
Formula: MAX(D1)
Formula2: MAX(D2:D13)
Level: easy
Question: How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
Formula: SUMIFS(D1,F1,"Leven Powell (F) 63.8% Roger West (DR) 36.4%")
Formula2: SUMIFS(D2:D13,F2:F13,"Leven Powell (F) 63.8% Roger West (DR) 36.4%")
Level: easy
Question: What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="Leven Powell (F) 63.8% Roger West (DR) 36.4%"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F13,F2:F13="Leven Powell (F) 63.8% Roger West (DR) 36.4%"),1))
Level: medium
Question: What is the district with the incumbent john nicholas?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="John Nicholas"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F13,B2:B13="John Nicholas"),1))
Level: medium
Question: How many were in district virginia 6?
Formula: ROWS(UNIQUE(FILTER(F1, A1="Virginia 6")))
Formula2: ROWS(UNIQUE(FILTER(F2:F13, A2:A13="Virginia 6")))
Level: medium