Table:
0
A
B
C
D
E
F
G
H
I
J
1
student id
registration date
election cycle
president vote
vice president vote
secretary vote
treasurer vote
class president vote
class senator vote
voting record
2
1001
8/30/2015
Spring
1004
1007
1010
1035
1001
1028
3
1002
8/30/2014
Spring
1014
1007
1020
1025
1021
1028
4
1003
8/30/2013
Spring
1004
1017
1030
1035
1031
1028
5
1004
8/30/2013
Spring
1024
1017
1020
1035
1011
1028
6
1005
8/30/2012
Spring
1024
1017
1010
1035
1021
1028
7
1001
8/30/2015
Fall
1004
1007
1010
1035
1021
1028
8
1002
8/30/2014
Fall
1004
1007
1020
1035
1021
1028
9
1003
8/30/2013
Fall
1004
1017
1020
1035
1031
1028
10
1004
8/30/2013
Fall
1024
1017
1020
1035
1011
1018
11
1005
8/30/2012
Fall
1024
1017
1010
1035
1021
1028

Questions and formulas:
Question: Find the number of voting records in total.
Formula: ROWS(UNIQUE(J1))
Formula2: ROWS(UNIQUE(J2:J11))
Level: easy
Question: How many voting records do we have?
Formula: ROWS(UNIQUE(J1))
Formula2: ROWS(UNIQUE(J2:J11))
Level: easy
Question: Find the distinct number of president votes.
Formula: ROWS(UNIQUE(D1))
Formula2: ROWS(UNIQUE(D2:D11))
Level: easy
Question: How many distinct president votes are recorded?
Formula: ROWS(UNIQUE(D1))
Formula2: ROWS(UNIQUE(D2:D11))
Level: easy
Question: What are the distinct secretary votes in the fall election cycle?
Formula: UNIQUE(FILTER(F1,C1="Fall"))
Formula2: UNIQUE(FILTER(F2:F11,C2:C11="Fall"))
Level: easy
Question: Return all the distinct secretary votes made in the fall election cycle.
Formula: UNIQUE(FILTER(F1,C1="Fall"))
Formula2: UNIQUE(FILTER(F2:F11,C2:C11="Fall"))
Level: easy
Question: What are the distinct president votes on 08/30/2015?
Formula: UNIQUE(FILTER(D1,B1="08/30/2015"))
Formula2: UNIQUE(FILTER(D2:D11,B2:B11="08/30/2015"))
Level: easy
Question: Show all the distinct president votes made on 08/30/2015.
Formula: UNIQUE(FILTER(D1,B1="08/30/2015"))
Formula2: UNIQUE(FILTER(D2:D11,B2:B11="08/30/2015"))
Level: easy
Question: Report the distinct registration date and the election cycle.
Formula: CHOOSE({1,2},UNIQUE(B1),C1)
Formula2: CHOOSE({1,2},UNIQUE(B2:B11),C2:C11)
Level: easy
Question: What are the distinct registration dates and the election cycles?
Formula: CHOOSE({1,2},UNIQUE(B1),C1)
Formula2: CHOOSE({1,2},UNIQUE(B2:B11),C2:C11)
Level: easy
Question: Report the distinct president vote and the vice president vote.
Formula: CHOOSE({1,2},UNIQUE(D1),E1)
Formula2: CHOOSE({1,2},UNIQUE(D2:D11),E2:E11)
Level: easy
Question: List all the distinct president votes and the vice president votes.
Formula: CHOOSE({1,2},UNIQUE(D1),E1)
Formula2: CHOOSE({1,2},UNIQUE(D2:D11),E2:E11)
Level: easy
Question: For each election cycle, report the number of voting records.
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy
Question: Count the number of voting records for each election cycle.
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy
Question: How many voting records for each election cycle?
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy
Question: number of voting records for each election cycle.
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy
Question: number of secretary votes in the fall election cycle.
Formula: SUMIFS(F1,C1,"fall")
Formula2: SUMIFS(F2:F11,C2:C11,"fall")
Level: easy
Question: number of secretary votes in the fall election cycle.
Formula: SUMIFS(F1,C1,"fall")
Formula2: SUMIFS(F2:F11,C2:C11,"fall")
Level: easy
Question: number of presidential votes on August 30, 2015
Formula: SUM(FILTER(D1, B1=Date(2015, 8, 30)))
Formula2: SUM(FILTER(D2:D11, B2:B11=Date(2015, 8, 30)))
Level: easy
Question: Total president votes registered on August 30, 2015.
Formula: SUM(FILTER(D1, B1=Date(2015, 8, 30)))
Formula2: SUM(FILTER(D2:D11, B2:B11=Date(2015, 8, 30)))
Level: easy
Question: election cycles and registration dates
Formula: UNIQUE(HSTACK(B1,C1))
Formula2: UNIQUE(HSTACK(B2:B11,C2:C11))
Level: easy
Question: registration dates and election cycles.
Formula: UNIQUE(HSTACK(B1,C1))
Formula2: UNIQUE(HSTACK(B2:B11,C2:C11))
Level: easy
Question: number of president votes and vice president votes respectively
Formula: HSTACK(SUM(D1), SUM(E1))
Formula2: HSTACK(SUM(D2:D11), SUM(E2:E11))
Level: medium
Question: How many votes received by president and vice president respectively?
Formula: HSTACK(SUM(D1), SUM(E1))
Formula2: HSTACK(SUM(D2:D11), SUM(E2:E11))
Level: medium
Question: the number of secretary votes in the election cycle of fall
Formula: SUMIFS(F1,C1,"fall")
Formula2: SUMIFS(F2:F11,C2:C11,"fall")
Level: easy
Question: the number of secretary votes in the election cycle of fall.
Formula: SUMIFS(F1,C1,"fall")
Formula2: SUMIFS(F2:F11,C2:C11,"fall")
Level: easy
Question: the number of president votes on August 30, 2015
Formula: SUM(FILTER(D1, B1=Date(2015, 8, 30)))
Formula2: SUM(FILTER(D2:D11, B2:B11=Date(2015, 8, 30)))
Level: easy
Question: the election cycle and registration date
Formula: UNIQUE(HSTACK(B1,C1))
Formula2: UNIQUE(HSTACK(B2:B11,C2:C11))
Level: easy
Question: the registration date and election cycle.
Formula: UNIQUE(HSTACK(B1,C1))
Formula2: UNIQUE(HSTACK(B2:B11,C2:C11))
Level: easy
Question: the respective number of president votes and vice president votes
Formula: HSTACK(SUM(D1), SUM(E1))
Formula2: HSTACK(SUM(D2:D11), SUM(E2:E11))
Level: medium
Question: How many voting records in each election cycle?
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy
Question: How many voting records per each election cycle?
Formula: SUMMARIZE(C1,DCOUNTX(J1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(J2:J11))
Level: easy