Table:
0
A
B
C
D
E
1
District
Incumbent
2008 Status
Democratic
Republican
2
1
G.K. Butterfield
Re-election
G.K. Butterfield
Dean Stephens
3
2
Bob Etheridge
Re-election
Bob Etheridge
Dan Mansell
4
3
Walter B. Jones
Re-election
Craig Weber
Walter B. Jones
5
4
David Price
Re-election
David Price
B.J. Lawson
6
5
Virginia Foxx
Re-election
Roy Carter
Virginia Foxx
7
6
Howard Coble
Re-election
Teresa Sue Bratton
Howard Coble
8
7
Mike McIntyre
Re-election
Mike McIntyre
Will Breazeale
9
8
Robin Hayes
Defeated
Larry Kissell
Robin Hayes
10
9
Sue Myrick
Re-election
Harry Taylor
Sue Myrick
11
10
Patrick McHenry
Re-election
Daniel Johnson
Patrick McHenry
12
11
Heath Shuler
Re-election
Heath Shuler
Carl Mumpower
13
12
Mel Watt
Re-election
Mel Watt
Ty Cobb, Jr.
14
13
Brad Miller
Re-election
Brad Miller
Hugh Webster

Questions and formulas:
Question: Which District has a 2008 Status of re-election, and a Democratic david price?
Formula: SUM(FILTER(A1, (C1="re-election")*(D1="david price")))
Formula2: SUM(FILTER(A2:A14, (C2:C14="re-election")*(D2:D14="david price")))
Level: easy
Question: Which District has a Republican of dan mansell?
Formula: SUMIFS(A1,E1,"dan mansell")
Formula2: SUMIFS(A2:A14,E2:E14,"dan mansell")
Level: easy
Question: Which Republican has a District of 10?
Formula: LET(query1,SUMMARIZE(E1,SUMX(A1)),FILTER(query1,CHOOSECOLS(query1,2)=10))
Formula2: LET(query1,SUMMARIZE(E2:E14,SUMX(A2:A14)),FILTER(query1,CHOOSECOLS(query1,2)=10))
Level: hard
Question: Which Incumbent has a Republican of dan mansell?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,E1="dan mansell"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E14,E2:E14="dan mansell"),2))
Level: medium
Question: Which Democratic has a District smaller than 7, and a Republican of dan mansell?
Formula: LET(query1,LET(query1,FILTER(A1:E1,E1="dan mansell"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<7))
Formula2: LET(query1,LET(query1,FILTER(A2:E14,E2:E14="dan mansell"),SUMMARIZE(CHOOSECOLS(query1,4),SUMX(CHOOSECOLS(query1,1)))),FILTER(query1,CHOOSECOLS(query1,2)<7))
Level: hard