You are on page 1of 11

Codecademy: Learn Excel for Data Analysis

Updating Pivot Tables


Welcome to the exercise spreadsheet for Updating Pivot Tables!
There are 2 exercises to do here. Once you're done, head back to Cod
Because pivot tables take up room, we've made a separate sheet for e
Get started by selecting the "Exercise 1" sheet below!

Exercises
1
2
Codecademy: Learn Excel for Data Analysis
pdating Pivot Tables
Welcome to the exercise spreadsheet for Updating Pivot Tables!
here are 2 exercises to do here. Once you're done, head back to Codecademy to learn m
ecause pivot tables take up room, we've made a separate sheet for each exercise.
et started by selecting the "Exercise 1" sheet below!

xercises
Complete!
Complete!

Data Source
Exercise 1.
We've already created a pivot table for you! However, it appears the
data has changed since that pivot table was created. Specifically, the
decades for Algeria have been corrected from the 70s to the 50s.
Nothing else about the original table has changed. Update the pivot
table!

Country Year Decade Century Book titles per capita


Algeria 1953 50 9 10.6
Algeria 1954 50 9 8.12
Algeria 1963 60 9 12.6
Algeria 1964 60 9 13.61
Algeria 1965 60 9 10.95
Algeria 1966 60 9 15.88
Algeria 1967 60 9 20.22
Algeria 1968 60 9 21.98
Cyprus 1964 60 9 289.86
Cyprus 1965 60 9 140.49
Cyprus 1966 60 9 265.55
Cyprus 1967 60 9 345.35
Cyprus 1969 60 9 559.57
Cyprus 1970 60 9 333.55
Tunisia 1953 50 9 15.08
Tunisia 1954 50 9 23.81
Tunisia 1955 50 9 32.24
Tunisia 1957 50 9 29.11
Tunisia 1958 50 9 24.46
Tunisia 1964 60 9 23.95
Tunisia 1965 60 9 43.8
Tunisia 1966 60 9 53.46
Tunisia 1969 60 9 26.82
Correct! Average of Book titles per capita Decade
Country 50
Algeria 9.36
Cyprus
Tunisia 24.94
Total Result 20.488571428571
60 Total Result
15.873333333 14.245
322.395 322.395
37.0075 30.303333333
136.1025 100.91565217
Exercise 2.

We've already created a pivot table for you. But this pivot table only
includes data on Algeria, Cyprus, and Tunisia. Since creating it,
we've added data on India to the table. Update the pivot table to
include this new data!

Country Year Decade Century Book titles per capita


Algeria 1953 50 9 10.6
Algeria 1954 50 9 8.12
Algeria 1963 60 9 12.6
Algeria 1964 60 9 13.61
Algeria 1965 60 9 10.95
Algeria 1966 60 9 15.88
Algeria 1967 60 9 20.22
Algeria 1968 60 9 21.98
Cyprus 1964 60 9 289.86
Cyprus 1965 60 9 140.49
Cyprus 1966 60 9 265.55
Cyprus 1967 60 9 345.35
Cyprus 1969 60 9 559.57
Cyprus 1970 60 9 333.55
Tunisia 1953 50 9 15.08
Tunisia 1954 50 9 23.81
Tunisia 1955 50 9 32.24
Tunisia 1957 50 9 29.11
Tunisia 1958 50 9 24.46
Tunisia 1964 60 9 23.95
Tunisia 1965 60 9 43.8
Tunisia 1966 60 9 53.46
Tunisia 1969 60 9 26.82
India 1750 50 7 0.1
India 1751 50 7 0.1
India 1752 50 7 0.1
India 1753 50 7 0.1
India 1754 50 7 0.1
India 1755 50 7 0.1
India 1756 50 7 0.1
India 1757 50 7 0.1
India 1758 50 7 0.1
India 1759 50 7 0.1
India 1760 60 7 0.1
India 1761 60 7 0.1
India 1762 60 7 0.1
India 1763 60 7 0.1
India 1764 60 7 0.1
India 1765 60 7 0.1
India 1766 60 7 0.1
India 1767 60 7 0.1
India 1768 60 7 0.1
India 1769 60 7 0.1
India 1770 60 7 0.1
India 1950 50 9 52.28
India 1951 50 9 47.61
India 1952 50 9 45.53
India 1953 50 9 43.52
India 1954 50 9 37.64
India 1955 50 9 47.22
India 1958 50 9 41.71
India 1959 50 9 28.12
India 1960 60 9 24.75
India 1961 60 9 20.2
India 1962 60 9 24.42
India 1963 60 9 39.3
India 1964 60 9 27.7
India 1965 60 9 27
India 1966 60 9 24.49
India 1967 60 9 20.98
India 1968 60 9 22.03
India 1969 60 9 25.96
India 1970 60 9 26.15
Correct!
Average of Book titles per capita Decade
Country 50 60 Total Result
Algeria 9.36 15.873333333 14.245
Cyprus 322.395 322.395
Tunisia 24.94 37.0075 30.303333333
India 19.146111111111 12.912727273 15.71775
Total Result 19.522 64.782105263 46.821746032

You might also like