Table:
0
A
B
C
D
E
F
1
vote id
phone number
state
contestant number
created
2
1
010-7182887233
NY
2
2018-03-09 19:03:21
3
2
010-7148407040
NY
3
2018-03-09 19:03:36
4
3
010-6209222712
CA
3
2018-03-09 19:03:39
5
5
010-5112677315
NJ

136931908765
2018-03-09 19:03:40

Questions and formulas:
Question: List the vote ids, phone numbers and states of all votes.
Formula: CHOOSE({1,2,3},A1,B1,C1)
Formula2: CHOOSE({1,2,3},A2:A5,B2:B5,C2:C5)
Level: easy
Question: What are the distinct states and create time of all votes?
Formula: CHOOSE({1,2},UNIQUE(C1),E1)
Formula2: CHOOSE({1,2},UNIQUE(C2:C5),E2:E5)
Level: easy
Question: What are the number of votes from state 'NY' or 'CA'?
Formula: ROWS(FILTER(A1,(C1="NY")+(C1="CA")))
Formula2: ROWS(FILTER(A2:A5,(C2:C5="NY")+(C2:C5="CA")))
Level: easy
Question: each vote's creation time in different states.
Formula: UNIQUE(HSTACK(C1,E1,A1))
Formula2: UNIQUE(HSTACK(C2:C5,E2:E5,A2:A5))
Level: easy
Question: the number of votes in ny or ca
Formula: SUM(FILTER(A1, (C1="ny")+(C1="ca")))
Formula2: SUM(FILTER(A2:A5, (C2:C5="ny")+(C2:C5="ca")))
Level: easy
Question: Vote ids, phone numbers and states.
Formula: UNIQUE(HSTACK(A1,B1,C1))
Formula2: UNIQUE(HSTACK(A2:A5,B2:B5,C2:C5))
Level: easy
Question: The create time of each vote in different states.
Formula: UNIQUE(HSTACK(C1,E1,A1))
Formula2: UNIQUE(HSTACK(C2:C5,E2:E5,A2:A5))
Level: easy