Table:
0
A
B
C
D
E
F
1
District
Incumbent
Party
First elected
Results
Candidates
2
Pennsylvania 1
Bob Brady
Democratic
1998
Re-elected
Bob Brady (D) 88% Steven Kush (R) 12%
3
Pennsylvania 2
Chaka Fattah
Democratic
1994
Re-elected
Chaka Fattah (D) 99%
4
Pennsylvania 3
Robert Borski
Democratic
1982
Re-elected
Robert Borski (D) 69% Charles Dougherty (R) 31%
5
Pennsylvania 4
Ron Klink
Democratic
1992
Retired to run for U.S. Senate Republican gain
Melissa Hart (R) 59% Terry Van Horne (D) 41%
6
Pennsylvania 6
Tim Holden
Democratic
1992
Re-elected
Tim Holden (D) 67% Thomas Kopel (R) 33%
7
Pennsylvania 7
Curt Weldon
Republican
1986
Re-elected
Curt Weldon (R) 65% Peter Lennon (D) 35%
8
Pennsylvania 8
Jim Greenwood
Republican
1992
Re-elected
Jim Greenwood (R) 60% Ronald Strouse (D) 39%
9
Pennsylvania 9
Bud Shuster
Republican
1972
Re-elected
Bud Shuster (R) unopposed
10
Pennsylvania 10
Don Sherwood
Republican
1998
Re-elected
Don Sherwood (R) 53% Patrick Casey (D) 47%
11
Pennsylvania 11
Paul Kanjorski
Democratic
1984
Re-elected
Paul Kanjorski (D) 66% Stephen Urban (R) 34%
12
Pennsylvania 12
John Murtha
Democratic
1974
Re-elected
John Murtha (D) 71% Bill Choby (R) 28%
13
Pennsylvania 13
Joe Hoeffel
Democratic
1998
Re-elected
Joe Hoeffel (D) 53% Stewart Greenleaf (R) 46%
14
Pennsylvania 14
William Coyne
Democratic
1980
Re-elected
William Coyne (D) unopposed
15
Pennsylvania 15
Pat Toomey
Republican
1998
Re-elected
Pat Toomey (R) 53% Ed O'Brien (D) 47%
16
Pennsylvania 16
Joe Pitts
Republican
1996
Re-elected
Joe Pitts (R) 67% Robert Yorczyk (D) 33%
17
Pennsylvania 17
George Gekas
Republican
1982
Re-elected
George Gekas (R) 72% Leslye Hess Herrmann (D) 28%
18
Pennsylvania 18
Mike Doyle
Democratic
1994
Re-elected
Mike Doyle (D) 69% Craig Stephens (R) 31%
19
Pennsylvania 19
Bill Goodling
Republican
1974
Retired Republican hold
Todd Platts (R) 73% Jeff Sanders (D) 27%
20
Pennsylvania 20
Frank Mascara
Democratic
1994
Re-elected
Frank Mascara (D) 64% Ronald Davis (R) 36%

Questions and formulas:
Question: How many parties is the incumbent Bob Brady a member of?
Formula: ROWS(UNIQUE(FILTER(C1, B1="Bob Brady")))
Formula2: ROWS(UNIQUE(FILTER(C2:C20, B2:B20="Bob Brady")))
Level: medium
Question: How many candidates were there in the district won by Joe Hoeffel?
Formula: ROWS(UNIQUE(FILTER(F1, B1="Joe Hoeffel")))
Formula2: ROWS(UNIQUE(FILTER(F2:F20, B2:B20="Joe Hoeffel")))
Level: medium
Question: Who were the candidates in district Pennsylvania 3?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,A1="Pennsylvania 3"),6))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F20,A2:A20="Pennsylvania 3"),6))
Level: medium
Question: What's the first elected year of the district whose incumbent is Jim Greenwood?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,B1="Jim Greenwood"),4))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F20,B2:B20="Jim Greenwood"),4))
Level: medium