Table:
0
A
B
C
D
E
1
City of license/Market
Station
Channel TV ( DT )
Year of affiliation
Owned since
2
Douglas, Arizona
KFTU-CD (repeater of KFTU-DT)
18 (N/A)
N/A
N/A
3
Phoenix - Flagstaff
KFPH-DT
13 (13)
2002
2002
4
Tucson, Arizona
KFTU-DT
3 (36)
2002
2002
5
Fresno
KTFF-DT
61 (48)
2003
2003
6
Los Angeles
KFTR-DT ++
46 (29)
2002
2002
7
Modesto - Sacramento - Stockton
KTFK-DT
64 (26)
2004
2003
8
San Francisco - Oakland - San Jose
KFSF-DT ++
66 (34)
2002
2002
9
Denver
KTFD-DT
14 (15)
2005
2002
10
Miami - Fort Lauderdale
WAMI-DT ++
69 (47)
2002
2002
11
Tampa - St. Petersburg
WFTT-DT ++
50 (47)
2002
2002
12
Atlanta
WUVG-DT2 ++
34.2 (48)
2002
2002
13
Joliet - Chicago
WXFT-DT ++
60 (50)
2002
2002
14
Boston
WUTF-DT ++
66 (27)
2002
2002
15
Newark - New York City
WFUT-DT ++
68 (30)
2002
2002
16
Smithtown - New York City
WFTY-DT ++ (satellite of WFUT-DT)
67 (23)
2002
2002
17
Albuquerque
KTFQ-DT
14 (22)
2003
2003
18
Raleigh - Durham
WTNC-LD
26 (40)
N/A
N/A
19
Austin, Texas
KTFO-CD
31 (36)
2002
2002
20
Dallas - Fort Worth
KSTR-DT ++
49 (48)
2002
2002

Questions and formulas:
Question: The station located in Albuquerque has been owned since what year?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,A1="Albuquerque"),5))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E20,A2:A20="Albuquerque"),5))
Level: medium
Question: What channels have stations that were affiliated in 2002?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,D1=2002),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E20,D2:D20=2002),3))
Level: medium
Question: What market is KTFK-DT in?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,B1="KTFK-DT"),1))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E20,B2:B20="KTFK-DT"),1))
Level: medium