Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Illinois 2
Barratt O'Hara
Democratic
1948
Lost re-election Republican gain
Richard B. Vail (R) 53.6% Barratt O'Hara (D) 46.4%
3
Illinois 3
Neil J. Linehan
Democratic
1948
Lost re-election Republican gain
Fred E. Busbey (R) 57.2% Neil J. Linehan (D) 42.8%
4
Illinois 6
Thomas J. O'Brien
Democratic
1942
Re-elected
Thomas J. O'Brien (D) 64.6% John M. Fay (R) 35.4%
5
Illinois 15
Noah M. Mason
Republican
1936
Re-elected
Noah M. Mason (R) 63.3% Wayne F. Caskey (D) 36.7%
6
Illinois 20
Sid Simpson
Republican
1942
Re-elected
Sid Simpson (R) 59.3% Howard Manning (D) 40.7%
7
Illinois 25
Melvin Price
Democratic
1944
Re-elected
Melvin Price (D) 64.9% Roger D. Jones (R) 35.1%

Questions and formulas:
Question: What party does sid simpson represent?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Sid Simpson"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Sid Simpson"),3))
Level: medium
Question: How many candidates ran against barratt o'hara?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Barratt O'Hara")))
Formula2: ROWS(UNIQUE(FILTER(F2:F7, B2:B7="Barratt O'Hara")))
Level: medium
Question: What year was incumbent barratt o'hara first elected?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Barratt O'Hara"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,B2:B7="Barratt O'Hara"),4))
Level: medium