Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
South Carolina 1
Richard S. Whaley
Democratic
1913 (special)
Re-elected
Richard S. Whaley (D) 95.4% J. O. Ladd (R) 4.6%
3
South Carolina 2
James F. Byrnes
Democratic
1910
Re-elected
James F. Byrnes (D) 98.5% Isaac Myers (R) 1.5%
4
South Carolina 3
Wyatt Aiken
Democratic
1902
Lost primary Democratic hold
Frederick H. Dominick (D) 100%
5
South Carolina 4
Samuel J. Nicholls
Democratic
1915 (special)
Re-elected
Samuel J. Nicholls (D) 99.4% G. F. Mills (R) 0.6%
6
South Carolina 5
David E. Finley
Democratic
1898
Re-elected
David E. Finley (D) 100%

Questions and formulas:
Question: Who were the candidates when the winner was first elected in 1910?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1910),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,D2:D6=1910),6))
Level: medium
Question: What was the winning party when the incumbent was richard s. whaley?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Richard S. Whaley"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Richard S. Whaley"),3))
Level: medium
Question: How many different set of candidates were there when the incumbent was david e. finley?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="David E. Finley"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="David E. Finley"),6))
Level: medium
Question: What was the winning part in the district of South Carolina 3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="South Carolina 3"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="South Carolina 3"),3))
Level: medium
Question: Who were the candidates in the district of South Carolina 5?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="South Carolina 5"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="South Carolina 5"),6))
Level: medium