Table:
0
A
B
C
D
E
1
District
Incumbent
Party
First elected
Results
2
Massachusetts 1
John Olver
Democratic
1991
Re-elected
3
Massachusetts 2
Richard Neal
Democratic
1988
Re-elected
4
Massachusetts 3
Jim McGovern
Democratic
1996
Re-elected
5
Massachusetts 4
Barney Frank
Democratic
1980
Re-elected
6
Massachusetts 5
Marty Meehan
Democratic
1992
Re-elected
7
Massachusetts 6
John Tierney
Democratic
1996
Re-elected
8
Massachusetts 7
Ed Markey
Democratic
1976
Re-elected
9
Massachusetts 8
Mike Capuano
Democratic
1998
Re-elected
10
Massachusetts 9
Stephen Lynch
Democratic
2001
Re-elected
11
Massachusetts 10
Bill Delahunt
Democratic
1996
Re-elected

Questions and formulas:
Question: What is District, when Incumbent is "Richard Neal"?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="richard neal"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E11,B2:B11="richard neal"),1))
Level: medium
Question: What is the lowest First Elected, when District is "Massachusetts 10"?
Formula: MINIFS(D1,A1,"massachusetts 10")
Formula2: MINIFS(D2:D11,A2:A11,"massachusetts 10")
Level: easy
Question: What is the average First Elected, when District is "Massachusetts 3"?
Formula: AVERAGEIFS(D1,A1,"massachusetts 3")
Formula2: AVERAGEIFS(D2:D11,A2:A11,"massachusetts 3")
Level: easy