Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Alabama 1
Frank W. Boykin
Democratic
1935
Re-elected
Frank W. Boykin (D) Unopposed
3
Alabama 2
George M. Grant
Democratic
1938
Re-elected
George M. Grant (D) Unopposed
4
Alabama 3
Henry B. Steagall
Democratic
1914
Re-elected
Henry B. Steagall (D) Unopposed
5
Alabama 4
Sam Hobbs
Democratic
1934
Re-elected
Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%
6
Alabama 5
Joe Starnes
Democratic
1934
Re-elected
Joe Starnes (D) 99.7% Frank J. Payne (I) 0.3%
7
Alabama 6
Pete Jarman
Democratic
1936
Re-elected
Pete Jarman (D) Unopposed
8
Alabama 7
William B. Bankhead
Democratic
1916
Re-elected
William B. Bankhead (D) 71.3% E. M. Reed (R) 28.7%
9
Alabama 8
John Sparkman
Democratic
1936
Re-elected
John Sparkman (D) Unopposed

Questions and formulas:
Question: what's the party with district being alabama 3
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Alabama 3"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,A2:A9="Alabama 3"),3))
Level: medium
Question: what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,F2:F9="Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%"),2))
Level: medium
Question: what's the party with incumbent being john sparkman
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="John Sparkman"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="John Sparkman"),3))
Level: medium
Question:  how many dbeingtrict with candidates being william b. bankhead (d) 71.3% e. m. reed (r) 28.7%
Formula: ROWS(UNIQUE(FILTER(A1, F1="William B. Bankhead (D) 71.3% E. M. Reed (R) 28.7%")))
Formula2: ROWS(UNIQUE(FILTER(A2:A9, F2:F9="William B. Bankhead (D) 71.3% E. M. Reed (R) 28.7%")))
Level: medium
Question: what's the party with incumbent being william b. bankhead
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="William B. Bankhead"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,B2:B9="William B. Bankhead"),3))
Level: medium
Question: what's the district  with first elected being 1938
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,D1=1938),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F9,D2:D9=1938),1))
Level: medium