Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Result
Candidates
2
Pennsylvania 1
Leon Sacks
Democratic
1936
Lost re-election Republican gain
James A. Gallagher (R) 53.5% Leon Sacks (D) 46.5%
3
Pennsylvania 7
Hugh Scott
Republican
1940
Re-elected
Hugh Scott (R) 55.7% Thomas Z. Minehart (D) 44.3%
4
Pennsylvania 11
Patrick J. Boland
Democratic
1930
Died in office Democratic hold
John W. Murphy (D) 55.8% James K. Peck (R) 44.2%
5
Pennsylvania 13
Ivor D. Fenton
Republican
1938
Re-elected
Ivor D. Fenton (R) 58.2% J. Noble Hirsch (D) 41.8%
6
Pennsylvania 25
Charles I. Faddis
Democratic
1932
Lost renomination Democratic hold
Grant Furlong (D) 50.3% M. B. Armstrong (R) 49.7%
7
Pennsylvania 27
Harve Tibbott
Republican
1938
Re-elected
Harve Tibbott (R) 55.6% Eddie McCloskey (D) 44.4%

Questions and formulas:
Question: what was the number of candidates when Leon Sacks was incumbent?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Leon Sacks")))
Formula2: ROWS(UNIQUE(FILTER(F2:F7, B2:B7="Leon Sacks")))
Level: medium
Question: What was the result in Pennsylvania 13?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Pennsylvania 13"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,A2:A7="Pennsylvania 13"),5))
Level: medium
Question: Who was the incumbent in Pennsylvania 27?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Pennsylvania 27"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F7,A2:A7="Pennsylvania 27"),2))
Level: medium