Table:
0
A
B
C
D
E
1
City of License /Market
Station
Channel TV ( DT )
Years owned
Current affiliation
2
San Francisco - Oakland - San Jose
KPIX
5 (29)
1954–1995
CBS owned-and-operated ( O&O )
3
Baltimore
WJZ-TV
13 (13)
1957–1995
CBS owned-and-operated (O&O)
4
Boston
WBZ-TV **
4 (30)
1948–1995
CBS owned-and-operated (O&O)
5
Charlotte
WPCQ-TV (now WCNC-TV )
36 (22)
1980–1985
NBC affiliate owned by Belo Corporation
6
Cleveland
KYW-TV (now WKYC-TV )
3 (17)
1956–1965
NBC affiliate owned by Gannett Company
7
Philadelphia
WPTZ/KYW-TV
3 (26)
1953–1956 1965–1995
CBS owned-and-operated (O&O)

Questions and formulas:
Question: What channel tv (dt) plays the KPIX station?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="KPIX"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,B2:B7="KPIX"),3))
Level: medium
Question: Which city of license/market has 3 (26) as their channel tv (dt)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="3 (26)"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,C2:C7="3 (26)"),1))
Level: medium
Question: Which channel tv (dt) plays in San Francisco - Oakland - San Jose?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="San Francisco - Oakland - San Jose"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,A2:A7="San Francisco - Oakland - San Jose"),3))
Level: medium
Question: How many years has station KPIX been owned?
Formula: ROWS(UNIQUE(FILTER(D1, B1="KPIX")))
Formula2: ROWS(UNIQUE(FILTER(D2:D7, B2:B7="KPIX")))
Level: medium
Question: Which city of license/market plays 3 (26)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="3 (26)"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,C2:C7="3 (26)"),1))
Level: medium
Question: Who currently affiliates in San Francisco - Oakland - San Jose?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="San Francisco - Oakland - San Jose"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E7,A2:A7="San Francisco - Oakland - San Jose"),5))
Level: medium