Table:
0
A
B
C
D
E
F
1
channel id
name
owner
share in percent
rating in percent
2
1
CCTV-1
CCTV
4.9
0.54
3
2
Hunan Satellite TV
HBS
4.81
0.53
4
3
CCTV-8
CCTV
3.76
0.41
5
4
CCTV-13
CCTV
2.91
0.32
6
5
CCTV-3
CCTV
2.86
0.31
7
6
CCTV-6
CCTV
2.73
0.3
8
7
CCTV-14
CCTV
2.6
0.29
9
8
CCTV-4
CCTV
2.33
0.26
10
9
Anhui Satellite TV
Anhui Television
1.78
0.2
11
10
Shandong Satellite TV
Shandong Television
1.74
0.19

Questions and formulas:
Question: Find the names of channels that are not owned by CCTV.
Formula: FILTER(B1,C1<>"CCTV")
Formula2: FILTER(B2:B11,C2:C11<>"CCTV")
Level: easy
Question: Which channels are not owned by CCTV? Give me the channel names.
Formula: FILTER(B1,C1<>"CCTV")
Formula2: FILTER(B2:B11,C2:C11<>"CCTV")
Level: easy
Question: What is the total share (in percent) of all the channels owned by CCTV?
Formula: SUM(FILTER(D1,C1="CCTV"))
Formula2: SUM(FILTER(D2:D11,C2:C11="CCTV"))
Level: easy
Question: what is the number of different channel for each owners?
Formula: SUMMARIZE(C1,DCOUNTX(A1))
Formula2: SUMMARIZE(C2:C11,DCOUNTX(A2:A11))
Level: easy
Question: Count the number of distinct owners
Formula: ROWS(UNIQUE(C1))
Formula2: ROWS(UNIQUE(C2:C11))
Level: easy
Question: What are the names of the channels owned by CCTV or HBS?
Formula: FILTER(B1,(C1="CCTV")+(C1="HBS"))
Formula2: FILTER(B2:B11,(C2:C11="CCTV")+(C2:C11="HBS"))
Level: easy
Question: List the names of all the channels owned by either CCTV or HBS
Formula: FILTER(B1,(C1="CCTV")+(C1="HBS"))
Formula2: FILTER(B2:B11,(C2:C11="CCTV")+(C2:C11="HBS"))
Level: easy
Question: How many channels does each owner have?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C11,SUMX(A2:A11))
Level: easy
Question: How many channels and owners?
Formula: HSTACK(SUM(A1), ROWS(UNIQUE(C1)))
Formula2: HSTACK(SUM(A2:A11), ROWS(UNIQUE(C2:C11)))
Level: hard
Question: Total share of CCTV channels
Formula: LET(query1,FILTER(A1:F1,C1="cctv"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Formula2: LET(query1,FILTER(A2:F11,C2:C11="cctv"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Level: hard
Question: The names and ids of the channels owned by CCTV and HBS.
Formula: LET(query1,FILTER(A1:F1,(C1="cctv")+(C1="hbs")),UNIQUE(CHOOSECOLS(query1,2,1)))
Formula2: LET(query1,FILTER(A2:F11,(C2:C11="cctv")+(C2:C11="hbs")),UNIQUE(CHOOSECOLS(query1,2,1)))
Level: hard
Question: What are the names and ids of the channels owned by CCTV and HBS?
Formula: LET(query1,FILTER(A1:F1,(C1="cctv")+(C1="hbs")),UNIQUE(CHOOSECOLS(query1,2,1)))
Formula2: LET(query1,FILTER(A2:F11,(C2:C11="cctv")+(C2:C11="hbs")),UNIQUE(CHOOSECOLS(query1,2,1)))
Level: hard
Question: the names and ids of channels not owned by cctv.
Formula: LET(query1,FILTER(A1:F1,C1<>"cctv"),UNIQUE(CHOOSECOLS(query1,2,1)))
Formula2: LET(query1,FILTER(A2:F11,C2:C11<>"cctv"),UNIQUE(CHOOSECOLS(query1,2,1)))
Level: hard
Question: the ids and names of the channels not owned by CCTV.
Formula: LET(query1,FILTER(A1:F1,C1<>"cctv"),UNIQUE(CHOOSECOLS(query1,1,2)))
Formula2: LET(query1,FILTER(A2:F11,C2:C11<>"cctv"),UNIQUE(CHOOSECOLS(query1,1,2)))
Level: hard
Question: the total share of channels owned by CCTV
Formula: LET(query1,FILTER(A1:F1,C1="cctv"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Formula2: LET(query1,FILTER(A2:F11,C2:C11="cctv"),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,4))))
Level: hard
Question: How many channels under each owner?
Formula: SUMMARIZE(C1,SUMX(A1))
Formula2: SUMMARIZE(C2:C11,SUMX(A2:A11))
Level: easy