Using Pivot Tables and Using Simple Functions to
Analyze Salary Data
There was a time when Ontario was one of the few jurisdictions to
provide public access to the salaries of public-sector employees earning
more than $100,000 a year. We can debate whether that constitutes an
exorbitant wage in expensive markets such as Vancouver and Toronto,
especially when you factor in other variables such as inflation. Still, this
disclosure is welcome. An increasing number of jurisdictions are
following Ontario’s lead.
In Canada’s largest province, the list is released at the end of each fiscal
year (March) and typically leads to stories about the highest paid
employee.
Getting this data into a spreadsheet allows us to become more
ambitious, which is what we will do in this tutorial.
What you will learn in this tutorial
Download three years worth of data.
Reformat 2019 data using paste special.
Merge tables in the master file.
Use concatenate function to combine last and first names.
Create new columns that calculate total salary and taxable benefits as
percent of total salary.
Create pivot table that compares institutions with the highest number
employees on the list and how the totals compare year-to-year.
Use paste special to create a table for calculating percent difference.