Table:
0
A
B
C
D
E
F
1
Index (Year)
Author / Editor / Source
Year of publication
Countries sampled
World Ranking (1)
Ranking L.A. (2)
2
Global Peace (2009)
The Economist
2008
140
21st
2nd
3
Corruption Perception (2008) (6)
Transparency International
2008
180
23rd
1st
4
Democracy (2006)
The Economist
2007
167
23rd
2nd
5
Prosperity Index (2008)
Legatum Institute
2008
104
36th
3rd
6
Press Freedom (2007)
Reporters Without Borders
2007
169
37th
2nd
7
Economic Freedom (2008)
The Wall Street Journal
2008
157
38th
3rd
8
Human Development (2005)
United Nations (UNDP)
2007–08
177
46th
3rd
9
Quality-of-life (2005)
The Economist
2007
111
46th
6th
10
Travel and Tourism Competitiveness (2008)
World Economic Forum
2008
130
63rd
7th
11
Global Competitiveness (2009–2010)
World Economic Forum
2009–10
131
65th
6th

Questions and formulas:
Question: How many items were under ranking l.a.(2) when the world ranking was 21st?
Formula: ROWS(UNIQUE(FILTER(F1, E1="21st")))
Formula2: ROWS(UNIQUE(FILTER(F2:F11, E2:E11="21st")))
Level: medium
Question: What was the author/editor/source when the l.a. ranking was 1st?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="1st"),2))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F11,F2:F11="1st"),2))
Level: medium
Question: How many years were listed under index when there were 157 countries sampled?
Formula: ROWS(UNIQUE(FILTER(A1, D1=157)))
Formula2: ROWS(UNIQUE(FILTER(A2:A11, D2:D11=157)))
Level: medium
Question: What was the publication year ranking l.a. is 1st?
Formula: UNIQUE(CHOOSECOLS(FILTER(A1:F1,F1="1st"),3))
Formula2: UNIQUE(CHOOSECOLS(FILTER(A2:F11,F2:F11="1st"),3))
Level: medium
Question: How many years were recorded when world ranking was 21st?
Formula: ROWS(UNIQUE(FILTER(A1, E1="21st")))
Formula2: ROWS(UNIQUE(FILTER(A2:A11, E2:E11="21st")))
Level: medium