Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Illinois 4
Harry P. Beam
Democratic
1930
Re-elected
Harry P. Beam (D) 80.8% Irene A. Tomas (R) 19.2%
3
Illinois 5
Adolph J. Sabath
Democratic
1906
Re-elected
Adolph J. Sabath (D) 77.4% Max Price (R) 22.6%
4
Illinois 9
James McAndrews
Democratic
1934
Re-elected
James McAndrews (D) 59.2% Bertha Baur (R) 40.8%
5
Illinois 13
Leo E. Allen
Republican
1932
Re-elected
Leo E. Allen (R) 58.4% David L. Trunck (D) 41.6%
6
Illinois 18
James A. Meeks
Democratic
1932
Re-elected
James A. Meeks (D) 53.8% High M. Luckey (R) 46.2%

Questions and formulas:
Question: When was incumbent Leo E. Allen first elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Leo E. Allen"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,B2:B6="Leo E. Allen"),4))
Level: medium
Question: Which district has a Republican elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,C1="Republican"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F6,C2:C6="Republican"),1))
Level: medium