+ All Categories
Home > Documents > Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your...

Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your...

Date post: 21-May-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
23
Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management and Analysis Tuesday 27 September 2016
Transcript
Page 1: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Getting the most out of

your data: a pivot table

workshop

Julia Hill, Jon Ma, William Elliott

Student Data Management and Analysis

Tuesday 27 September 2016

Page 2: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Welcome

• Pivot tables:

• Data summarization tool

• Used with “flat” datasets with defined columns of

data

• Can automatically sort, count, total and give

averages – among other functions

• Exists in many different data processing and

visualization software, most commonly used in

Microsoft Excel

Page 3: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Outline of session

• Cleaning and shaping data

• Data Analysis I - getting started with Pivots

• Joining data

• Data Analysis II - more Pivot functions

• Data workshop

Page 4: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

CLEANING AND SHAPING

YOUR DATA

Page 5: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Extracting data

• Sign in to eVision using your SSO

• Navigate to your chosen report

• Filter using parameters as required

• Watch out for required fields

• Always export the data file

Page 6: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Reviewing your data

• Familiarise yourself with

the data

• Watch out for data

issues:

• Issues with column

headers

• Mismatched data types

• Numbers stored as text

• Error values

• Obvious outliers

• Active formulas

• “Blank” cells

• Duplicate values

(depends on the context)

Page 7: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Cleaning and shaping data

• Use filters + +

• Use formulae:

• =COUNT for numerical values

• =COUNTIF for duplicates

• Error checking

• Find and replace +

• Pivot tables themselves can be useful to identify

data integrity issues

Page 8: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

DATA ANALYSIS I

Page 9: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Data Analysis – Basic Methods

Autosum +

• Useful for summarising whole data ranges

• Can change aggregation type

Selection + + or

• Useful for summarising on the fly

• Can choose summary types

Filter + +

• Allows review of specific data

Page 10: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

PivotTables I – Why use them?

• A powerful feature for summarising larger datasets

• Much easier and more flexible than summarising

separate subsets

• Can help answer the following questions

• How many students are in each college?

• Which college has the most undergraduate

students?

Page 11: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

PivotTables I – Things you can do

• Choose the relevant aggregation

eg Sum / Count / Average

• Filter to show the exact data you want to analyse

• Create crosstabs to analyse multiple dimensions

• Drill down to see the data

Page 12: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

JOINING DATASETS

Page 13: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Data Joins

• How can I join data from different spreadsheets?

• Common field between both data sources:

• Student Number

• UCAS Number … ?

• Is it truly unique?

• May need to create a unique ID if there are multiple

instances (e.g. student applied more than once)

• VLOOKUP and INDEX/MATCH

Page 14: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Absolute Cell References

Not absolute A2 Row only absolute A$2

Will change rows and columnsWill always reference row 2 but

columns will change

Column only absolute $A2 All absolute $A$2

Will always reference column A but

rows will changeWill always reference cell A2

If you copy or drag a formula, what happens?

Consider this carefully when using lookup formulas!

F4

Page 15: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

VLOOKUP

1. The unique lookup value

2. The range (array) of cells your additional data is found inCan be specified as:• Columns – tab!B:D• Specified cells – tab!A2:E300• Named Range - NewDataV

3. The column reference where your new data is found.The ID column is always 1 -count along to the right

4. Approximate match: TRUE or 1orExact match: FALSE or 099% always Exact

Page 16: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

INDEX/MATCH

1. The column where your new data is

2. The unique lookup ID value in your original dataset

3. The matching ID column in your new dataset

5. Column index number (1)

4. Match type0 = exact

Demo

Page 17: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Matching Data

• VLOOKUP

• Simpler

• All new data must be to the RIGHT of the unique ID

column in the new dataset

• INDEX/MATCH

• Slightly more complex

• New data can be anywhere in the new dataset

Page 18: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

DATA ANALYSIS II

Page 19: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

PivotTables II

• Refresh a Dataset

• Use other summaries

• Average / Maximum / Minimum

• Add a calculation eg to show % of Total

• Add multiple summaries eg count and percentage

of students

• Group Data

Page 20: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

DATA WORKSHOP

Page 21: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Data Workshop

• Use your own data to explore the techniques we

have covered

• Or – use the model data provided!

• Play with pivots and data joins

• Think about how these techniques can help you in

your job

• Ask for help – don’t be shy!

Page 22: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

Conclusion

• A Pivot Table is a powerful tool for providing

summaries of large datasets

• Underlying data must be cleaned and shaped

before pivoting

• Underlying data can be enriched with data from

other spreadsheets using VLOOKUP or

INDEX/MATCH

Page 23: Getting the most out of your data: a pivot table workshop€¦ · Getting the most out of your data: a pivot table workshop Julia Hill, Jon Ma, William Elliott Student Data Management

QUESTIONS?


Recommended