Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Ohio 5
Richard Mott
Republican
1854
Retired Republican hold
James M. Ashley (R) 51.3% William Mungen (D) 48.7%
3
Ohio 7
Aaron Harlan
Republican
1852
Lost renomination Republican hold
Thomas Corwin (R) 63.8% Charles W. Blair (D) 36.2%
4
Ohio 9
Lawrence W. Hall
Democratic
1856
Lost re-election Republican gain
John Carey (R) 50.3% Lawrence W. Hall (R) 49.7%
5
Ohio 10
Joseph Miller
Democratic
1856
Lost re-election Republican gain
Carey A. Trimble (R) 55.0% Joseph Miller (D) 45.0%
6
Ohio 12
Samuel S. Cox
Democratic
1856
Re-elected
Samuel S. Cox (R) 51.8% Lucius Case (D) 48.2%
7
Ohio 13
John Sherman
Republican
1854
Re-elected
John Sherman (R) 57.1% S. J. Patrick (D) 42.9%
8
Ohio 14
Philemon Bliss
Republican
1854
Retired Republican hold
Cyrus Spink (R) 56.3% J. P. Jeffries (D) 43.7%
9
Ohio 15
Joseph Burns
Democratic
1856
Lost re-election Republican gain
William Helmick (R) 50.7% Joseph Burns (D) 49.3%
10
Ohio 18
Benjamin F. Leiter
Republican
1854
Retired Republican hold
Sidney Edgerton (R) 53.3% J. L. Ranney (D) 46.7%
11
Ohio 19
Edward Wade
Republican
1852
Re-elected
Edward Wade (R) 65.1% J. W. Gray (D) 34.9%
12
Ohio 20
Joshua Reed Giddings
Republican
1842
Lost renomination Republican Hold
John Hutchins (R) 64.7% David Tod (D) 35.3%

Questions and formulas:
Question: Who was the incumbent in the Ohio 10 district?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Ohio 10"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F12,A2:A12="Ohio 10"),2))
Level: medium
Question: Who was the incumbent in the Ohio 5 district?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Ohio 5"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F12,A2:A12="Ohio 5"),2))
Level: medium
Question: Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(E1="Retired Republican hold")*(B1="Philemon Bliss")),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F12,(E2:E12="Retired Republican hold")*(B2:B12="Philemon Bliss")),6))
Level: medium