Table:
0
A
B
C
D
E
F
G
1
festival id
festival name
chair name
location
year
num of audience
festival detail
2
1
Panasonic Awards
Raymond Floyd
United States
2006
152
3
2
Flower Awards
Charles Coody
United States
2007
155
4
3
Cherry Awards
Doug Ford
United States
2007
160
5
4
Gobel Awards
Arnold Palmer
United States
2008
160
6
5
LA Awards
Lucy Lu
United States
2010
161

Questions and formulas:
Question: festival ids, festival names and locations
Formula: UNIQUE(HSTACK(B1,D1,A1))
Formula2: UNIQUE(HSTACK(B2:B6,D2:D6,A2:A6))
Level: easy
Question: id and location of the festival watched by most audience.
Formula: LET(a,HSTACK(A1,D1),b,A1,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A1,SUMX(F1)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(A2:A6,D2:D6),b,A2:A6,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A2:A6,SUMX(F2:F6)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: Names of festivals held in 2007
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:G1,Year(E1)=2007),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:G6,Year(E1)=2007),2))
Level: medium
Question: the festival id, festival name and location
Formula: UNIQUE(HSTACK(B1,D1,A1))
Formula2: UNIQUE(HSTACK(B2:B6,D2:D6,A2:A6))
Level: easy
Question: the id and location of the festival watched by most audience.
Formula: LET(a,HSTACK(A1,D1),b,A1,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A1,SUMX(F1)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: LET(a,HSTACK(A2:A6,D2:D6),b,A2:A6,c,CHOOSECOLS(TAKE(SORT(SUMMARIZE(A2:A6,SUMX(F2:F6)), 2, -1), 1),1),UNIQUE(FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard