Table:
0
A
B
C
D
E
F
1
Year
MRHMA
USCA
RTHK
Joint Music Award
Total
2
1995
–
–
–
–
00
3
1996
1
1
–
–
02
4
1997
–
–
1
–
01
5
1998
1
2
3
1
09
6
1999
2
4
3
1
11
7
2000
2
3
4
1
12
8
2001
3
4
4
1
14
9
2002
4
3
4
1
14
10
2003
2
2
3
1
09
11
2004
–
–
–
–
00
12
2005
6
5
6
1
20
13
2006
6
3
3
–
14
14
2007
5
5
6
1
21
15
2008
5
3
5
–
15
16
2009
6
4
7
1
18
17
2010
7
5
7
–
19
18
2011
4
5
5
–
14

Questions and formulas:
Question: What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?
Formula: LET(query1,LET(query1,FILTER(A1:F1,(E1=1)*(B1=2)*(D1=3)),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)<14))
Formula2: LET(query1,LET(query1,FILTER(A2:F18,(E2:E18=1)*(B2:B18=2)*(D2:D18=3)),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)<14))
Level: hard
Question: What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
Formula: SUM(FILTER(F1, (E1=1)*(D1=4)*(C1=4)))
Formula2: SUM(FILTER(F2:F18, (E2:E18=1)*(D2:D18=4)*(C2:C18=4)))
Level: easy
Question: How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,(A1<2006)*(D1=1)),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F18,(A2:A18<2006)*(D2:D18=1)),5))
Level: medium
Question: How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?
Formula: LET(query1,LET(query1,FILTER(A1:F1,A1>2007),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>18))
Formula2: LET(query1,LET(query1,FILTER(A2:F18,A2:A18>2007),SUMMARIZE(CHOOSECOLS(query1,5),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,CHOOSECOLS(query1,2)>18))
Level: hard