Table:
0
A
B
C
D
E
F
G
1
election id
counties represented
district
delegate
party
first elected
committee
2
1
09.1 9A
1
Bates, Gail H. Gail H. Bates
1
2002
Appropriations
3
2
09.1 9A
1
Miller, Warren E. Warren E. Miller
1
2003
Economic Matters
4
3
12.1 12A
2
DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.
2
2002
Appropriations
5
4
12.1 12A
3
Malone, James E. Jr. James E. Malone, Jr.
2
1994
Environmental Matters (Vice-Chair)
6
5
12.2 12B
2
Bobo, Elizabeth Elizabeth Bobo
3
1994
Environmental Matters
7
6
13
1
Pendergrass, Shane E. Shane Pendergrass
4
1994
Health and Government Operations
8
7
13
4
Guzzone, Guy Guy Guzzone
1
2006
Appropriations
9
8
13
3
Turner, Frank S. Frank S. Turner
7
1994
Ways and Means

Questions and formulas:
Question: Return the county name and sorted by county name in descending alphabetical order.
Formula: SORT(UNIQUE(B1), 1, -1)
Formula2: SORT(UNIQUE(B2:B9), 1, -1)
Level: easy
Question: What are the distinct districts for elections?
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C9)
Level: easy
Question: Who is the delegate of district 1 in the elections?
Formula: FILTER(D1,C1=1)
Formula2: FILTER(D2:D9,C2:C9=1)
Level: easy
Question: Show the delegate and committee information of elections.
Formula: CHOOSE({1,2},D1,G1)
Formula2: CHOOSE({1,2},D2:D9,G2:G9)
Level: easy
Question: What are the delegate and committee information for each election record?
Formula: CHOOSE({1,2},D1,G1)
Formula2: CHOOSE({1,2},D2:D9,G2:G9)
Level: easy
Question: Show all the information about election.
Formula: A1
Formula2: A2:A9
Level: easy
Question: Return all the information for each election record.
Formula: A1
Formula2: A2:A9
Level: easy
Question: ascending order of counties
Formula: SORT(UNIQUE(B1), 1, 1)
Formula2: SORT(UNIQUE(B2:B9), 1, 1)
Level: easy
Question: district 1's delegate and election id 
Formula: LET(query1,SUMMARIZE(HSTACK(D1,A1),SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)=1))
Formula2: LET(query1,SUMMARIZE(HSTACK(D2:D9,A2:A9),SUMX(C2:C9)),FILTER(query1,CHOOSECOLS(query1,3)=1))
Level: hard
Question: What are all the delegates, committees and election ids?
Formula: UNIQUE(HSTACK(D1,G1,A1))
Formula2: UNIQUE(HSTACK(D2:D9,G2:G9,A2:A9))
Level: easy
Question: Show all delegats, committees and election ids
Formula: UNIQUE(HSTACK(D1,G1,A1))
Formula2: UNIQUE(HSTACK(D2:D9,G2:G9,A2:A9))
Level: easy
Question: show all election ids
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A9)
Level: easy
Question: show all election ids.
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A9)
Level: easy
Question: the counties represented in ascending order.
Formula: SORT(UNIQUE(B1), 1, 1)
Formula2: SORT(UNIQUE(B2:B9), 1, 1)
Level: easy
Question: the delegate and election id of district 1.
Formula: LET(query1,SUMMARIZE(HSTACK(D1,A1),SUMX(C1)),FILTER(query1,CHOOSECOLS(query1,3)=1))
Formula2: LET(query1,SUMMARIZE(HSTACK(D2:D9,A2:A9),SUMX(C2:C9)),FILTER(query1,CHOOSECOLS(query1,3)=1))
Level: hard
Question: What's the delegate, committee and election id?
Formula: UNIQUE(HSTACK(D1,G1,A1))
Formula2: UNIQUE(HSTACK(D2:D9,G2:G9,A2:A9))
Level: easy
Question: the delegate, committee and election id
Formula: UNIQUE(HSTACK(D1,G1,A1))
Formula2: UNIQUE(HSTACK(D2:D9,G2:G9,A2:A9))
Level: easy
Question: the election id
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A9)
Level: easy
Question: the election ids.
Formula: UNIQUE(A1)
Formula2: UNIQUE(A2:A9)
Level: easy