Table:
0
A
B
C
D
1
debate id
date
venue
num of audience
2
1
21-Oct-11
Manama , Bahrain
342
3
2
17-Dec-14
Doha , Qatar
134
4
3
3-Aug-15
Manama , Bahrain
90
5
4
27-Oct-15
Manama , Bahrain
209
6
5
12-Jan-17
Dubai , UAE
313
7
6
21-Jan-17
Abu Dhabi , UAE
159

Questions and formulas:
Question: How many debates are there?
Formula: SUM(A1)
Formula2: SUM(A2:A7)
Level: easy
Question: List the venues in ascending order of the num of audience
Formula: SORT(SUMMARIZE(C1,SUMX(D1)), 2, 1)
Formula2: SORT(SUMMARIZE(C2:C7,SUMX(D2:D7)), 2, 1)
Level: medium
Question: What are the date and venue of each debate?
Formula: CHOOSE({1,2},B1,C1)
Formula2: CHOOSE({1,2},B2:B7,C2:C7)
Level: easy
Question: Show the distinct venues of debates
Formula: UNIQUE(C1)
Formula2: UNIQUE(C2:C7)
Level: easy
Question: How many debates have been held?
Formula: SUM(A1)
Formula2: SUM(A2:A7)
Level: easy
Question: All debates held in all venues on different dates
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B7,C2:C7,A2:A7))
Level: easy
Question: Debates across all different venues
Formula: UNIQUE(HSTACK(C1,A1))
Formula2: UNIQUE(HSTACK(C2:C7,A2:A7))
Level: easy
Question: How many debates?
Formula: SUM(A1)
Formula2: SUM(A2:A7)
Level: easy
Question: The debates in different venues on all dates.
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B7,C2:C7,A2:A7))
Level: easy
Question: The debates in different venues.
Formula: UNIQUE(HSTACK(C1,A1))
Formula2: UNIQUE(HSTACK(C2:C7,A2:A7))
Level: easy