Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Ohio 7
Samuel Shellabarger
Republican
1864
Retired Republican hold
James J. Winans (R) 50.2% John H. Thomas (D) 49.8%
3
Ohio 8
John Beatty
Republican
1868 (s)
Re-elected
John Beatty (R) 52.0% John H. Benson (D) 48.0%
4
Ohio 10
James M. Ashley
Republican
1862
Lost Re-election Democratic gain
Truman H. Hoag (D) 51.5% James M. Ashley (D) 48.5%
5
Ohio 11
John Thomas Wilson
Republican
1866
Re-elected
John Thomas Wilson (R) 54.2% John Sands (D) 45.8%
6
Ohio 16
John Bingham
Republican
1864
Re-elected
John Bingham (R) 50.8% Josiah M. Estep (D) 49.2%

Questions and formulas:
Question: When was incumbent John Thomas Wilson first elected? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="John Thomas Wilson"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="John Thomas Wilson"),4))
Level: medium
Question: Who were the candidates in the election where John Beatty was the incumbent? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="John Beatty"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="John Beatty"),6))
Level: medium
Question: Who was the incumbent in the Ohio 16 district? 
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Ohio 16"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="Ohio 16"),2))
Level: medium