Table:
0
A
B
C
D
E
F
1
ID
Name
1st choice workshop
Likes
Sales
Brand
2
1
Zhang San
LinkedIn Alighment
1
132
BMW
3
2
Li Si
Fast Design
1
152
Ford
4
3
Wang Wu
Fast Design
4
223
BMW
5
4
Yang Liu
LinkedIn Alighment
4
1234
BMW

Questions and formulas:
Question: total sales by brand with id > 3
Formula: LET(query1,FILTER(A1:F1,A1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,A2:A5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: total sales by brand with likes > 3
Formula: LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: total sales by brand with 3 or more likes
Formula: LET(query1,FILTER(A1:F1,D1>=3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>=3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: sales by brand with 3 or more likes
Formula: LET(query1,FILTER(A1:F1,D1>=3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>=3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: sales by brand with likes > 3
Formula: LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: count of brands with id > 3
Formula: ROWS(UNIQUE(FILTER(F1, A1>3)))
Formula2: ROWS(UNIQUE(FILTER(F2:F5, A2:A5>3)))
Level: medium
Question: count of brands with likes > 3
Formula: ROWS(UNIQUE(FILTER(F1, D1>3)))
Formula2: ROWS(UNIQUE(FILTER(F2:F5, D2:D5>3)))
Level: medium
Question: count of rows with likes > 3
Formula: ROWS(FILTER(A1:F1, D1>3))
Formula2: ROWS(FILTER(A2:F5, D2:D5>3))
Level: easy
Question: total sales for brands with likes > 3
Formula: LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: sales with id > 3
Formula: SUM(FILTER(E1, A1>3))
Formula2: SUM(FILTER(E2:E5, A2:A5>3))
Level: easy
Question: sales with likes > 3
Formula: SUM(FILTER(E1, D1>3))
Formula2: SUM(FILTER(E2:E5, D2:D5>3))
Level: easy
Question: total sales by brands with likes > 3
Formula: LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Formula2: LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5))))
Level: hard
Question: brand with id > 3 and sales > 500
Formula: LET(query1,LET(query1,FILTER(A1:F1,A1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,A2:A5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Level: hard
Question: brand with likes > 3 and sales > 500
Formula: LET(query1,LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Level: hard
Question: brand with sales > 500 and id > 3
Formula: LET(query1,LET(query1,FILTER(A1:F1,A1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,A2:A5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Level: hard
Question: brand with sales > 500 and likes > 3
Formula: LET(query1,LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Level: hard
Question: brand whose sales > 500 and likes > 3
Formula: LET(query1,LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>500))
Level: hard
Question: brand where sales > 3000 and likes > 3
Formula: LET(query1,LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>3000))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>3000))
Level: hard
Question: which brand has more than 3000 sales with likes > 3
Formula: LET(query1,LET(query1,FILTER(A1:F1,D1>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>3000))
Formula2: LET(query1,LET(query1,FILTER(A2:F5,D2:D5>3),SUMMARIZE(CHOOSECOLS(query1,6),SUMX(CHOOSECOLS(query1,5)))),FILTER(query1,CHOOSECOLS(query1,2)>3000))
Level: hard
Question: find the number of id with sales > 3000
Formula: SUM(LET(a,A1,b,A1,c,INDEX(LET(query1,SUMMARIZE(A1,SUMX(E1)),FILTER(query1,CHOOSECOLS(query1,2)>3000)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Formula2: SUM(LET(a,A2:A5,b,A2:A5,c,INDEX(LET(query1,SUMMARIZE(A2:A5,SUMX(E2:E5)),FILTER(query1,CHOOSECOLS(query1,2)>3000)),,1),FILTER(a,NOT(ISNA(XLOOKUP(b,c,c))))))
Level: hard
Question: Name with id 1 or 2 and sales is not blank
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,((A1=1)+(A1=2))*(ISBLANK(E1))),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F5,((A2:A5=1)+(A2:A5=2))*(ISBLANK(E2:E5))),2))
Level: hard
Question: id with name zhang san or li si and sales is not blank
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,((B1="zhang san")+(B1="li si"))*(ISBLANK(E1))),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F5,((B2:B5="zhang san")+(B2:B5="li si"))*(ISBLANK(E2:E5))),1))
Level: hard
Question: Name with id 1 or 2 and likes is not blank
Formula: LET(query1,FILTER(A1:F1,((A1=1)+(A1=2))*(ISBLANK(D1))),UNIQUE(CHOOSECOLS(query1,1,4,2)))
Formula2: LET(query1,FILTER(A2:F5,((A2:A5=1)+(A2:A5=2))*(ISBLANK(D2:D5))),UNIQUE(CHOOSECOLS(query1,1,4,2)))
Level: hard
Question: likes with name zhang san or li si and id is not blank
Formula: LET(query1,FILTER(A1:F1,((B1="zhang san")+(B1="li si"))*(ISBLANK(A1))),UNIQUE(CHOOSECOLS(query1,1,4)))
Formula2: LET(query1,FILTER(A2:F5,((B2:B5="zhang san")+(B2:B5="li si"))*(ISBLANK(A2:A5))),UNIQUE(CHOOSECOLS(query1,1,4)))
Level: hard
Question: id with name zhang san or li si and likes is not blank
Formula: LET(query1,FILTER(A1:F1,((B1="zhang san")+(B1="li si"))*(ISBLANK(D1))),UNIQUE(CHOOSECOLS(query1,4,1)))
Formula2: LET(query1,FILTER(A2:F5,((B2:B5="zhang san")+(B2:B5="li si"))*(ISBLANK(D2:D5))),UNIQUE(CHOOSECOLS(query1,4,1)))
Level: hard