Table:
0
A
B
C
D
E
F
G
1
party id
party theme
location
first year
last year
number of hosts
2
1
Spring
Hemkade 48 Zaandam
2000
2001
5
3
2
Club Q-BASE
Hemkade 48 Zaandam
2002
2002
23
4
3
Hardcore Resurrection
Various locations
2000
2003
4
5
4
Teqnology
Heineken Music Hall Amsterdam
2002
2004
6
6
5
Qlubtempo
Hemkade 48 Zaandam, Heineken Music Hall Amsterdam
2001
2007
31
7
6
QrimeTime
Heineken Music Hall Amsterdam
2004
2007
4
8
7
In Qontrol
RAI Amsterdam
2004
2010
7
9
8
Houseqlassics
Various locations
1999
2010
18

Questions and formulas:
Question: How many parties are there?
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: Count the number of parties.
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: List the themes of parties in ascending order of number of hosts.
Formula: SORTBY(B1,F1,1)
Formula2: SORTBY(B2:B9,F2:F9,1)
Level: easy
Question: What are the themes of parties ordered by the number of hosts in ascending manner?
Formula: SORTBY(B1,F1,1)
Formula2: SORTBY(B2:B9,F2:F9,1)
Level: easy
Question: What are the themes and locations of parties?
Formula: CHOOSE({1,2},B1,C1)
Formula2: CHOOSE({1,2},B2:B9,C2:C9)
Level: easy
Question: Give me the theme and location of each party.
Formula: CHOOSE({1,2},B1,C1)
Formula2: CHOOSE({1,2},B2:B9,C2:C9)
Level: easy
Question: Show the first year and last year of parties with theme "Spring" or "Teqnology".
Formula: LET(query1,FILTER(A1:G1,(B1="teqnology")+(B1="spring")),UNIQUE(CHOOSECOLS(query1,1,5,4)))
Formula2: LET(query1,FILTER(A2:G9,(B2:B9="teqnology")+(B2:B9="spring")),UNIQUE(CHOOSECOLS(query1,1,5,4)))
Level: hard
Question: What are the first year and last year of the parties whose theme is "Spring" or "Teqnology"?
Formula: LET(a,HSTACK(D1,E1,A1),b,A1,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A1:G1,(B1="teqnology")+(B1="spring")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(D2:D9,E2:E9,A2:A9),b,A2:A9,c,CHOOSECOLS(UNIQUE(CHOOSECOLS(FILTER(A2:A9:G1,(B2:B9="teqnology")+(B2:B9="spring")),1)),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: What is the average number of hosts for parties?
Formula: AVERAGE(F1)
Formula2: AVERAGE(F2:F9)
Level: easy
Question: Compute the average number of hosts for parties.
Formula: AVERAGE(F1)
Formula2: AVERAGE(F2:F9)
Level: easy
Question: total number of parties.
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: How many parties are there overall?
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: Locations, party themes and ids.
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B9,C2:C9,A2:A9))
Level: easy
Question: Theme, location and id for each party.
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B9,C2:C9,A2:A9))
Level: easy
Question: The first and last years of spring and teqnology parties and their corresponding ids.
Formula: LET(query1,FILTER(A1:G1,(B1="spring")+(B1="teqnology")),UNIQUE(CHOOSECOLS(query1,4,5,1)))
Formula2: LET(query1,FILTER(A2:G9,(B2:B9="spring")+(B2:B9="teqnology")),UNIQUE(CHOOSECOLS(query1,4,5,1)))
Level: hard
Question: When did the spring and teqnology parties begin and end and their ids?
Formula: LET(query1,FILTER(A1:G1,(B1="spring")+(B1="teqnology")),UNIQUE(CHOOSECOLS(query1,4,5,1)))
Formula2: LET(query1,FILTER(A2:G9,(B2:B9="spring")+(B2:B9="teqnology")),UNIQUE(CHOOSECOLS(query1,4,5,1)))
Level: hard
Question: Average number of hosts for parties.
Formula: SUMMARIZE(A1,AVERAGEX(F1))
Formula2: SUMMARIZE(A2:A9,AVERAGEX(F2:F9))
Level: easy
Question: How many hosts on average for parties?
Formula: SUMMARIZE(A1,AVERAGEX(F1))
Formula2: SUMMARIZE(A2:A9,AVERAGEX(F2:F9))
Level: easy
Question: The theme, location and id of each party.
Formula: UNIQUE(HSTACK(B1,C1,A1))
Formula2: UNIQUE(HSTACK(B2:B9,C2:C9,A2:A9))
Level: easy
Question: The average number of hosts for parties.
Formula: SUMMARIZE(A1,AVERAGEX(F1))
Formula2: SUMMARIZE(A2:A9,AVERAGEX(F2:F9))
Level: easy
Question: the number of parties.
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy
Question: How many parties?
Formula: SUM(A1)
Formula2: SUM(A2:A9)
Level: easy