Table:
0
A
B
C
D
E
F
1
Rank
Mine
County and State
Operator
Source of copper
Capacity (thousands of metric tons)
2
1
Morenci
Greenlee County, Arizona
Freeport-McMoRan
Copper ore, leached
390
3
2
Bingham Canyon
Salt Lake County, Utah
Kennecott Utah Copper
Copper-molybdenum ore, concentrated
300
4
3
Ray
Pinal County, Arizona
ASARCO
Copper ore, concentrated and leached
170
5
4
Bagdad
Yavapai County, Arizona
Freeport-McMoRan
Copper-molybdenum ore, concentrated and leached
100
6
5
El Chino
Grant County, New Mexico
Freeport-McMoRan
Copper-molybdenum ore, concentrated and leached
125
7
6
Sierrita
Pima County, Arizona
Freeport-McMoRan
Copper-molybdenum ore, concentrated and leached
100
8
7
Tyrone
Grant County, New Mexico
Freeport-McMoRan
Copper ore, leached
80
9
8
Continental Pit
Silver Bow County, Montana
Montana Resources LLP
Copper-molybdenum ore, concentrated
45
10
9
Mission Complex
Pima County, Arizona
ASARCO
Copper ore, concentrated
70
11
10
Silver Bell
Pima County, Arizona
ASARCO
Copper ore, leached
22
12
11
Robinson
White Pine County, Nevada
Quadra FNX Mining
Copper-molybdenum ore, concentrated
60
13
12
Miami
Gila County, Arizona
Freeport-McMoRan
Copper ore, leached
50
14
13
Pinto Valley
Gila County, Arizona
BHP Copper
Copper ore, leached
5
15
14
Miami
Gila County, Arizona
BHP Copper
Copper ore, leached
5

Questions and formulas:
Question: In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found?
Formula: MAX(FILTER(A1, (C1="silver bow county, montana")*(F1>45)))
Formula2: MAX(FILTER(A2:A15, (C2:C15="silver bow county, montana")*(F2:F15>45)))
Level: easy
Question: In Pinal County, Arizona, when there's a capacity of over 5 metric tons, and the rank is under 14, what's the mine called?
Formula: LET(query1,LET(query1,FILTER(A1:F1,C1="pinal county, arizona"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,(CHOOSECOLS(query1,2)<14)*(CHOOSECOLS(query1,3)>5)))
Formula2: LET(query1,LET(query1,FILTER(A2:F15,C2:C15="pinal county, arizona"),SUMMARIZE(CHOOSECOLS(query1,2),SUMX(CHOOSECOLS(query1,1)),SUMX(CHOOSECOLS(query1,6)))),FILTER(query1,(CHOOSECOLS(query1,2)<14)*(CHOOSECOLS(query1,3)>5)))
Level: hard