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)
8
Pittsburgh
KDKA-TV
2 (25)
1955–1995
CBS owned-and-operated (O&O)

Questions and formulas:
Question: Which city contains the KPIX station?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="kpix"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,B2:B8="kpix"),1))
Level: medium
Question: Which station has channel TV (DT) of 3 (26)?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,C1="3 (26)"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,C2:C8="3 (26)"),2))
Level: medium
Question: What is the current affiliation when the years owned is between 1955–1995?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1="1955–1995"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,D2:D8="1955–1995"),5))
Level: medium
Question: What is the city containing the KDKA-TV station?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="kdka-tv"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,B2:B8="kdka-tv"),1))
Level: medium
Question: Which Channel TV is located in Baltimore?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="baltimore"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E8,A2:A8="baltimore"),3))
Level: medium