Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
South Carolina 1
L. Mendel Rivers
Democratic
1940
Re-elected
L. Mendel Rivers (D) Unopposed
3
South Carolina 2
Hampton P. Fulmer
Democratic
1920
Re-elected
Hampton P. Fulmer (D) Unopposed
4
South Carolina 3
Butler B. Hare
Democratic
1938
Re-elected
Butler B. Hare (D) Unopposed
5
South Carolina 4
Joseph R. Bryson
Democratic
1938
Re-elected
Joseph R. Bryson (D) Unopposed
6
South Carolina 5
James P. Richards
Democratic
1932
Re-elected
James P. Richards (D) Unopposed

Questions and formulas:
Question: What is the district for james p. richards?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="James P. Richards"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="James P. Richards"),1))
Level: medium
Question: What is the candidate for south carolina 4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="South Carolina 4"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="South Carolina 4"),6))
Level: medium
Question: What is the candidate for south carolina 3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="South Carolina 3"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="South Carolina 3"),6))
Level: medium
Question: What is the first elected for south carolina 4?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="South Carolina 4"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,A2:A6="South Carolina 4"),4))
Level: medium