Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
North Carolina 2
John H. Kerr
Democratic
1923
Re-elected
John H. Kerr (D) Unopposed
3
North Carolina 3
Graham Arthur Barden
Democratic
1934
Re-elected
Graham Arthur Barden (D) Unopposed
4
North Carolina 4
Harold D. Cooley
Democratic
1934
Re-elected
Harold D. Cooley (D) 65.2% Wiley L. Ward (R) 34.8%
5
North Carolina 7
J. Bayard Clark
Democratic
1928
Re-elected
J. Bayard Clark (D) Unopposed
6
North Carolina 8
William O. Burgin
Democratic
1938
Re-elected
William O. Burgin (D) 56.5% A. D. Barber (R) 43.5%
7
North Carolina 9
Robert L. Doughton
Democratic
1910
Re-elected
Robert L. Doughton (D) Unopposed

Questions and formulas:
Question: Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Harold D. Cooley"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Harold D. Cooley"),6))
Level: medium
Question: How many partys have a candidate first elected in 1923?
Formula: ROWS(UNIQUE(FILTER(C1, D1=1923)))
Formula2: ROWS(UNIQUE(FILTER(C2:C7, D2:D7=1923)))
Level: medium