Table:
0
A
B
C
D
E
1
Rank
Name
Headquarters
Primary industry
Market value ( USD million)
2
1
Exxon Mobil
United States
Oil and gas
446,943
3
2
General Electric
United States
Conglomerate
383,564
4
3
Microsoft
United States
Software industry
293,537
5
4
Citigroup
United States
Banking
273,691
6
5
Gazprom
Russia
Oil and gas
271,482
7
6
Industrial and Commercial Bank of China
China
Banking
254,592
8
7
Toyota Motor Corporation
Japan
Automotive
241,161
9
8
Bank of America
United States
Banking
239,758
10
9
Royal Dutch Shell
The Netherlands
Oil and gas
225,781
11
10
BP
United Kingdom
Oil and gas
218,643

Questions and formulas:
Question: Where is Exxon Mobil, an oil and gas corporation, headquartered?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:E1,(D1="oil and gas")*(B1="exxon mobil")),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:E11,(D2:D11="oil and gas")*(B2:B11="exxon mobil")),3))
Level: medium