Table:
0
A
B
C
D
E
1
Name
Rank
Out of
Source
Year
2
Environmental Sustainability Index
132
146
Yale University
2005
3
Greenhouse emissions per capita
74
World
World Resources Institute
2000
4
Number of species under threat of extinction
37
158
United Nations
1999
5
Happy Planet Index
81
178
New Economics Foundation
2009
6
Environmental Performance Index
78
153
Yale University / Columbia University
2010
7
Total renewable water resources
58
151
CIA World Factbook
2008
8
Water availability per capita
116
141
United Nations
2001
9
Biodiversity Richness
13
53
World Conservation Monitoring Centre
1994
10
Carbon efficiency
28
141
Carbon Dioxide Information Analysis Center
2005
11
Coral reefs area
19
28
United Nations
2005
12
Endangered species protection
71
141
CITES
2000
13
Land use statistics by country
16
176
CIA World Factbook
2005
14
Carbon dioxide emissions per capita
70
210
United Nations
2003
15
Total carbon dioxide emissions
11
210
United Nations
2006
16
Total forest area
47
220
United Nations
2007
17
Fresh water withdrawal
11
168
CIA World Factbook
2000
18
Industrial Water Pollution
14
129
World Bank
2003

Questions and formulas:
Question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(E1>2005)*(C1=220)),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<71))
Formula2: LET(query1,LET(query1,FILTER(A2:E18,(E2:E18>2005)*(C2:C18=220)),SUMMARIZE(CHOOSECOLS(query1,1),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)<71))
Level: hard
Question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness?
Formula: MIN(FILTER(E1, (B1<132)*(A1="biodiversity richness")))
Formula2: MIN(FILTER(E2:E18, (B2:B18<132)*(A2:A18="biodiversity richness")))
Level: easy
Question: Can you tell me the Source that has the Rank of 78?
Formula: LET(query1,SUMMARIZE(D1,SUMX(B1)),FILTER(query1,CHOOSECOLS(query1,2)=78))
Formula2: LET(query1,SUMMARIZE(D2:D18,SUMX(B2:B18)),FILTER(query1,CHOOSECOLS(query1,2)=78))
Level: hard
Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?
Formula: LET(query1,LET(query1,FILTER(A1:E1,(D1="united nations")*(E1<2003)),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>47))
Formula2: LET(query1,LET(query1,FILTER(A2:E18,(D2:D18="united nations")*(E2:E18<2003)),SUMMARIZE(CHOOSECOLS(query1,3),SUMX(CHOOSECOLS(query1,2)))),FILTER(query1,CHOOSECOLS(query1,2)>47))
Level: hard