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
George W. Andrews
Democratic
1944
Re-elected
George W. Andrews (D) Unopposed
5
Alabama 4
Kenneth A. Roberts
Democratic
1950
Re-elected
Kenneth A. Roberts (D) Unopposed
6
Alabama 5
Albert Rains
Democratic
1944
Re-elected
Albert Rains (D) Unopposed
7
Alabama 6
Armistead I. Selden, Jr.
Democratic
1952
Re-elected
Armistead I. Selden, Jr. (D) Unopposed

Questions and formulas:
Question: What district is incumbent albert rains from?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Albert Rains"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Albert Rains"),1))
Level: medium
Question: How many candidates represent the district of kenneth a. roberts?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Kenneth A. Roberts")))
Formula2: ROWS(UNIQUE(FILTER(F2:F7, B2:B7="Kenneth A. Roberts")))
Level: medium