Table:
0
A
B
C
D
1
channel id
program id
time of day
2
1
1
Morning
3
2
1
Night
4
3
2
Morning
5
4
1
Night
6
5
4
Morning
7
6
3
Morning
8
7
3
Noon
9
8
2
Night
10
9
3
Noon
11
10
4
Night
12
1
2
Night

Questions and formulas:
Question: Count the number of programs broadcast for each time section of a day.
Formula: SUMMARIZE(C1,SUMX(B1))
Formula2: SUMMARIZE(C2:C12,SUMX(B2:B12))
Level: easy
Question: find the number of different programs that are broadcast during night time.
Formula: ROWS(UNIQUE(FILTER(B1, C1="night")))
Formula2: ROWS(UNIQUE(FILTER(B2:B12, C2:C12="night")))
Level: medium
Question: How many distinct programs are broadcast at "Night" time?
Formula: ROWS(UNIQUE(FILTER(B1, C1="night")))
Formula2: ROWS(UNIQUE(FILTER(B2:B12, C2:C12="night")))
Level: medium
Question: How many programs are there at each time of day?
Formula: SUMMARIZE(C1,SUMX(B1))
Formula2: SUMMARIZE(C2:C12,SUMX(B2:B12))
Level: easy
Question: How many programs are there airing at night?
Formula: SUMIFS(B1,C1,"night")
Formula2: SUMIFS(B2:B12,C2:C12,"night")
Level: easy
Question: Number of programs airing at night.
Formula: SUMIFS(B1,C1,"night")
Formula2: SUMIFS(B2:B12,C2:C12,"night")
Level: easy
Question: How many programs according to each time of day?
Formula: SUMMARIZE(C1,SUMX(B1))
Formula2: SUMMARIZE(C2:C12,SUMX(B2:B12))
Level: easy
Question: How many night programs?
Formula: SUMIFS(B1,C1,"night")
Formula2: SUMIFS(B2:B12,C2:C12,"night")
Level: easy
Question: the number of programs at night.
Formula: SUMIFS(B1,C1,"night")
Formula2: SUMIFS(B2:B12,C2:C12,"night")
Level: easy