SlideShare a Scribd company logo
1 of 29
An Introduction to
data cleaning with
spreadsheets
Anders Pedersen, @anpe
School of Data
Spreadsheets: The beginning of
each and every data story
• Which were the top growth sectors in this
quarter?
• What was the crime in the capital region in
2013 compared to 2012?
• Is there a house bubble waiting around the
corner?
It is time for journalists themselves to
tame this beast called spreadsheets!
Spreadsheets: Excel or
google docs
Some basic terminology
• data is organized in rows and columns
(rows go across the page, columns go top
down)
• each field holding data is called a cell
• Rows are numbered,
• columns are referred to by letters
• each cell has column and a row, or a
specific code (e.g. A1 is the top left cell
Some key features to
explore today
• Sorting and filtering
• Basic formulas
• Pivot tables
Tricky bits:
- don’t include summaries in pivot table
- pivot tables cannot remember when you
change your data
Data sources for exercise
• Education: Secondary school enrollment for
2012 from Data.gov.ph
http://data.gov.ph/catalogue/dataset/sy-
2012-enrollment-data-secondary
Sorting - finding the best
and the worst
• The 10 best paid sectors
• The 10 oldest cities
• The 10 poorest countries
• …
• If excel is a tool box for journalists, sorting
is the hammer!
How to sort
• 1) Mark all your data
• 2) In the Data tab go to
sort range
Sorting...
• 3) Check the Data has
header row check box
• 4) Select the
column you want to
sort
Filtering - getting a better
sense of your data
• 1) Turn on Filtering
via the Data tab
(Data → Filter)
Filtering...
• 2) Filter options now appear at top
Filtering...
• 3) Now click on the
• blue triangular arrow
Filtering...
• 4) Select the section
you wish to filter
Filtering...
• 5) A green arrow
will now appear on top
of the column
Moving forward!
• Sorting and filtering - check!
• Basic formulas
• Pivot tables
Basic formulas
• Let us know try to sum up some of the
values in the dataset…
• What is it good for: when you do analysis
and when you need to check if calculations
by your colleagues are right
Basic formulas
• Go to column H: In the second row
(cell H2), type “=sum(f2+g2)”
Basic formulas
• We now have a sum
• Now try to see if this cell can be calculated
for average “=average(f2:g2)”
Basic formulas
• You can also copy your calculations across
cells
Now only Pivot tables to go
• Sorting and filtering - check!
• Basic formulas - check!
• Pivot tables
Pivot tables
• finding stories inside datasets
• particularly well fitting for organised
datasets with clear categories and sub-
categories
Pivot tables
• Mark the full area of the dataset
• Go to Data → Pivot table report
Pivot tables
• Pivot tables allows you to work on rows,
column values and filters
• We start by dropping
a column header into Rows
• Then we drop one of our
value columns into Values
Basic formulas
• We now have a nice summary of the
budget for each department
Filtering pivot tables
• We can now go ahead and filter the Pivot
table
• Add the column you wish
to filter by
Filtering pivot tables
• Then select one or more categories within
the column you
wish to keep
Pivot tables
• We can finally add several value columns
to the pivot table
Exercises
• Find the sectors of the national budget that
grew the most in percentage
• Identify the budget lines, which had the
biggest absolute increase in the budget
• Generate a pivot table based on the
national budget comparing 2014 and 2013
in specific sectors

More Related Content

What's hot

Introduction to database
Introduction to databaseIntroduction to database
Introduction to databaseSuleman Memon
 
Data science | What is Data science
Data science | What is Data scienceData science | What is Data science
Data science | What is Data scienceShilpaKrishna6
 
Dwdmunit1 a
Dwdmunit1 aDwdmunit1 a
Dwdmunit1 abhagathk
 
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data Science
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data ScienceCOVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data Science
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data ScienceVibhuti Mandral
 
Introduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesIntroduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesSơn Còm Nhom
 
Lect 1 introduction
Lect 1 introductionLect 1 introduction
Lect 1 introductionhktripathy
 
Introduction to data pre-processing and cleaning
Introduction to data pre-processing and cleaning Introduction to data pre-processing and cleaning
Introduction to data pre-processing and cleaning Matteo Manca
 
Big data and data science overview
Big data and data science overviewBig data and data science overview
Big data and data science overviewColleen Farrelly
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessingsuganmca14
 
Basics of Research Data Management
Basics of Research Data ManagementBasics of Research Data Management
Basics of Research Data ManagementOpenAIRE
 
Best practices data management
Best practices data managementBest practices data management
Best practices data managementSherry Lake
 
Knowledge Representation on the Web
Knowledge Representation on the WebKnowledge Representation on the Web
Knowledge Representation on the WebRinke Hoekstra
 
ความรู้เบื้องต้นฐานข้อมูล 1
ความรู้เบื้องต้นฐานข้อมูล 1ความรู้เบื้องต้นฐานข้อมูล 1
ความรู้เบื้องต้นฐานข้อมูล 1Witoon Thammatuch-aree
 
Creating Effective Data Visualizations in Excel 2016: Some Basics
Creating Effective Data Visualizations in Excel 2016:  Some BasicsCreating Effective Data Visualizations in Excel 2016:  Some Basics
Creating Effective Data Visualizations in Excel 2016: Some BasicsShalin Hai-Jew
 

What's hot (20)

DBMS
DBMSDBMS
DBMS
 
Data mining
Data miningData mining
Data mining
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Data science | What is Data science
Data science | What is Data scienceData science | What is Data science
Data science | What is Data science
 
Text analytics
Text analyticsText analytics
Text analytics
 
Dwdmunit1 a
Dwdmunit1 aDwdmunit1 a
Dwdmunit1 a
 
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data Science
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data ScienceCOVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data Science
COVID - 19 DATA ANALYSIS USING PYTHON and Introduction to Data Science
 
Database
DatabaseDatabase
Database
 
Introduction to Datamining Concept and Techniques
Introduction to Datamining Concept and TechniquesIntroduction to Datamining Concept and Techniques
Introduction to Datamining Concept and Techniques
 
Lect 1 introduction
Lect 1 introductionLect 1 introduction
Lect 1 introduction
 
Introduction to data pre-processing and cleaning
Introduction to data pre-processing and cleaning Introduction to data pre-processing and cleaning
Introduction to data pre-processing and cleaning
 
Big data and data science overview
Big data and data science overviewBig data and data science overview
Big data and data science overview
 
Data preprocessing
Data preprocessingData preprocessing
Data preprocessing
 
Basics of Research Data Management
Basics of Research Data ManagementBasics of Research Data Management
Basics of Research Data Management
 
Best practices data management
Best practices data managementBest practices data management
Best practices data management
 
Databases and types of databases
Databases and types of databasesDatabases and types of databases
Databases and types of databases
 
Knowledge Representation on the Web
Knowledge Representation on the WebKnowledge Representation on the Web
Knowledge Representation on the Web
 
ความรู้เบื้องต้นฐานข้อมูล 1
ความรู้เบื้องต้นฐานข้อมูล 1ความรู้เบื้องต้นฐานข้อมูล 1
ความรู้เบื้องต้นฐานข้อมูล 1
 
Unit 3 part i Data mining
Unit 3 part i Data miningUnit 3 part i Data mining
Unit 3 part i Data mining
 
Creating Effective Data Visualizations in Excel 2016: Some Basics
Creating Effective Data Visualizations in Excel 2016:  Some BasicsCreating Effective Data Visualizations in Excel 2016:  Some Basics
Creating Effective Data Visualizations in Excel 2016: Some Basics
 

Viewers also liked

Doctors for Kroner - Presentation at #Dataharvest 2012
Doctors for Kroner - Presentation at #Dataharvest 2012 Doctors for Kroner - Presentation at #Dataharvest 2012
Doctors for Kroner - Presentation at #Dataharvest 2012 Anders Pedersen
 
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...Badita Florin
 
Geomapping Making Invisible Data Visible
Geomapping   Making Invisible Data VisibleGeomapping   Making Invisible Data Visible
Geomapping Making Invisible Data VisibleAnders Pedersen
 
Censorship Regimes On The Chinese Internet
Censorship Regimes On The  Chinese InternetCensorship Regimes On The  Chinese Internet
Censorship Regimes On The Chinese InternetAnders Pedersen
 
An introduction to Data Journalism
An introduction to Data JournalismAn introduction to Data Journalism
An introduction to Data JournalismAnders Pedersen
 
An introduction to open data
An introduction to open dataAn introduction to open data
An introduction to open dataAnders Pedersen
 
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...Rosmiluz Amaya Camargo
 
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your Business32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your BusinessBarry Feldman
 

Viewers also liked (9)

Message map
Message mapMessage map
Message map
 
Doctors for Kroner - Presentation at #Dataharvest 2012
Doctors for Kroner - Presentation at #Dataharvest 2012 Doctors for Kroner - Presentation at #Dataharvest 2012
Doctors for Kroner - Presentation at #Dataharvest 2012
 
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...
[EN] Maps and Digital Tools For Activists [RO] Hărți și instrumente digitale ...
 
Geomapping Making Invisible Data Visible
Geomapping   Making Invisible Data VisibleGeomapping   Making Invisible Data Visible
Geomapping Making Invisible Data Visible
 
Censorship Regimes On The Chinese Internet
Censorship Regimes On The  Chinese InternetCensorship Regimes On The  Chinese Internet
Censorship Regimes On The Chinese Internet
 
An introduction to Data Journalism
An introduction to Data JournalismAn introduction to Data Journalism
An introduction to Data Journalism
 
An introduction to open data
An introduction to open dataAn introduction to open data
An introduction to open data
 
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...
PROPUESTA PARA LA CREACION DE UNA FERRETERIA CON PRODUCTOS Y MATERIALES IDONE...
 
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your Business32 Ways a Digital Marketing Consultant Can Help Grow Your Business
32 Ways a Digital Marketing Consultant Can Help Grow Your Business
 

Similar to Introduction to data cleaning with spreadsheets

Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATAMatt Stubbs
 
MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)Vidushi Khera
 
Clueless to journal publishing
Clueless to journal publishingClueless to journal publishing
Clueless to journal publishingSilvia Palasca
 
BI Knowledge Sharing Session 2
BI Knowledge Sharing Session 2BI Knowledge Sharing Session 2
BI Knowledge Sharing Session 2Kelvin Chan
 
intro-to-spreadsheets-with-excel (1).pptx
intro-to-spreadsheets-with-excel (1).pptxintro-to-spreadsheets-with-excel (1).pptx
intro-to-spreadsheets-with-excel (1).pptxANAMARIATAMAYODUQUE1
 
Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Redwan Ferdous
 
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...UKSG: connecting the knowledge community
 
MIS 226: Chapter 1
MIS 226: Chapter 1MIS 226: Chapter 1
MIS 226: Chapter 1macrob14
 
The Excel ToolKit
The Excel ToolKitThe Excel ToolKit
The Excel ToolKitDan Nelson
 
ENHANCING ICT SKILLS ON MS EXCEL.ppt
ENHANCING ICT SKILLS ON MS EXCEL.pptENHANCING ICT SKILLS ON MS EXCEL.ppt
ENHANCING ICT SKILLS ON MS EXCEL.pptMAGAUDELYNRAMOS1
 
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptx
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptxEDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptx
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptxsaurav3107pandey
 
Introduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptIntroduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptssuser1028f8
 
Pivot tables 1.2
Pivot tables 1.2Pivot tables 1.2
Pivot tables 1.2PaulCPLD
 
Excel basics for everyday use part two
Excel basics for everyday use part twoExcel basics for everyday use part two
Excel basics for everyday use part twoKevin McLogan
 
Excel Pivot Table Demo.pptx
Excel Pivot Table Demo.pptxExcel Pivot Table Demo.pptx
Excel Pivot Table Demo.pptxBeckySueParton
 

Similar to Introduction to data cleaning with spreadsheets (20)

Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
 
MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)MS Excel training (Vidushi Khera)
MS Excel training (Vidushi Khera)
 
IS100 Week 8
IS100 Week 8IS100 Week 8
IS100 Week 8
 
IS100 Week 9
IS100 Week 9IS100 Week 9
IS100 Week 9
 
Clueless to journal publishing
Clueless to journal publishingClueless to journal publishing
Clueless to journal publishing
 
BI Knowledge Sharing Session 2
BI Knowledge Sharing Session 2BI Knowledge Sharing Session 2
BI Knowledge Sharing Session 2
 
intro-to-spreadsheets-with-excel (1).pptx
intro-to-spreadsheets-with-excel (1).pptxintro-to-spreadsheets-with-excel (1).pptx
intro-to-spreadsheets-with-excel (1).pptx
 
Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2Elementary Data Analysis with MS Excel_Day-2
Elementary Data Analysis with MS Excel_Day-2
 
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...
UKSG 2018 Breakout - Analysing value for money of journal bundle deals at the...
 
MIS 226: Chapter 1
MIS 226: Chapter 1MIS 226: Chapter 1
MIS 226: Chapter 1
 
The Excel ToolKit
The Excel ToolKitThe Excel ToolKit
The Excel ToolKit
 
Exel
ExelExel
Exel
 
ENHANCING ICT SKILLS ON MS EXCEL.ppt
ENHANCING ICT SKILLS ON MS EXCEL.pptENHANCING ICT SKILLS ON MS EXCEL.ppt
ENHANCING ICT SKILLS ON MS EXCEL.ppt
 
BI Suite Overview
BI Suite OverviewBI Suite Overview
BI Suite Overview
 
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptx
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptxEDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptx
EDA_Revision_Session_1cdeba87-6912-4236-ba3b-079a5463bf00.pptx
 
Introduction to Spreadsheets.ppt
Introduction to Spreadsheets.pptIntroduction to Spreadsheets.ppt
Introduction to Spreadsheets.ppt
 
Pivot tables 1.2
Pivot tables 1.2Pivot tables 1.2
Pivot tables 1.2
 
EDA
EDAEDA
EDA
 
Excel basics for everyday use part two
Excel basics for everyday use part twoExcel basics for everyday use part two
Excel basics for everyday use part two
 
Excel Pivot Table Demo.pptx
Excel Pivot Table Demo.pptxExcel Pivot Table Demo.pptx
Excel Pivot Table Demo.pptx
 

Recently uploaded

Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...jiyav969
 
Rocky Mount Greenville Willson Regional Transit Plan
Rocky Mount Greenville Willson Regional Transit PlanRocky Mount Greenville Willson Regional Transit Plan
Rocky Mount Greenville Willson Regional Transit PlanRobert Hiett
 
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...viboho8684
 
researching client.pptxffffffffffffffffffffffffff
researching client.pptxffffffffffffffffffffffffffresearching client.pptxffffffffffffffffffffffffff
researching client.pptxfffffffffffffffffffffffffflolsDocherty
 
Program Kickoff- Cohort......_4 (1).pptx
Program Kickoff- Cohort......_4 (1).pptxProgram Kickoff- Cohort......_4 (1).pptx
Program Kickoff- Cohort......_4 (1).pptxScottMeyers35
 
Program Kickoff- Cohort 4______ (2).pptx
Program Kickoff- Cohort 4______ (2).pptxProgram Kickoff- Cohort 4______ (2).pptx
Program Kickoff- Cohort 4______ (2).pptxScottMeyers35
 
Minority economic forum Executive Summary
Minority economic forum Executive SummaryMinority economic forum Executive Summary
Minority economic forum Executive SummaryRDE GROUP CORP
 
Effective governance in the modern charity
Effective governance in the modern charityEffective governance in the modern charity
Effective governance in the modern charityFelixPerez547899
 
16 may, International Day of Living together in peace 2024
16 may, International Day of Living together in peace 202416 may, International Day of Living together in peace 2024
16 may, International Day of Living together in peace 2024Christina Parmionova
 
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...vanyaj843
 
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive Summary
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive SummaryRocky Mount | Wilson | Greenville Regional Transit Plan Executive Summary
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive SummaryRobert Hiett
 
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...jiyav969
 
bee engaged with youth - World Bee Day 2024
bee engaged with youth - World Bee Day 2024bee engaged with youth - World Bee Day 2024
bee engaged with youth - World Bee Day 2024Christina Parmionova
 
Ghana High Commission on list of diplomats including US & China who owe £143m...
Ghana High Commission on list of diplomats including US & China who owe £143m...Ghana High Commission on list of diplomats including US & China who owe £143m...
Ghana High Commission on list of diplomats including US & China who owe £143m...Kweku Zurek
 
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样ucnutfa
 
Effective Financial Reporting - May 2024
Effective Financial Reporting - May 2024Effective Financial Reporting - May 2024
Effective Financial Reporting - May 2024FelixPerez547899
 
Everything you need to know about your Parish or Town council website & .gov....
Everything you need to know about your Parish or Town council website & .gov....Everything you need to know about your Parish or Town council website & .gov....
Everything you need to know about your Parish or Town council website & .gov....Scribe
 
Help set up SERUDS Orphanage virtual classroom
Help set up SERUDS Orphanage virtual classroomHelp set up SERUDS Orphanage virtual classroom
Help set up SERUDS Orphanage virtual classroomSERUDS INDIA
 
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...zoyat9250
 

Recently uploaded (20)

Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls IGI Airport Phone No 9999965857 High Profile ℂall Girl Delhi N...
 
Rocky Mount Greenville Willson Regional Transit Plan
Rocky Mount Greenville Willson Regional Transit PlanRocky Mount Greenville Willson Regional Transit Plan
Rocky Mount Greenville Willson Regional Transit Plan
 
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...
ℂall Girls in Malakpet Extension Hyderabad Call me [🔝 7877925207 🔝] Top Class...
 
researching client.pptxffffffffffffffffffffffffff
researching client.pptxffffffffffffffffffffffffffresearching client.pptxffffffffffffffffffffffffff
researching client.pptxffffffffffffffffffffffffff
 
Program Kickoff- Cohort......_4 (1).pptx
Program Kickoff- Cohort......_4 (1).pptxProgram Kickoff- Cohort......_4 (1).pptx
Program Kickoff- Cohort......_4 (1).pptx
 
Program Kickoff- Cohort 4______ (2).pptx
Program Kickoff- Cohort 4______ (2).pptxProgram Kickoff- Cohort 4______ (2).pptx
Program Kickoff- Cohort 4______ (2).pptx
 
Minority economic forum Executive Summary
Minority economic forum Executive SummaryMinority economic forum Executive Summary
Minority economic forum Executive Summary
 
Effective governance in the modern charity
Effective governance in the modern charityEffective governance in the modern charity
Effective governance in the modern charity
 
16 may, International Day of Living together in peace 2024
16 may, International Day of Living together in peace 202416 may, International Day of Living together in peace 2024
16 may, International Day of Living together in peace 2024
 
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...
Vip ℂall Girls Naraina Phone No 9999965857 High Profile ℂall Girl Delhi No Ad...
 
07/03/2024 Publiekdomeindag - namiddag
07/03/2024 Publiekdomeindag - namiddag07/03/2024 Publiekdomeindag - namiddag
07/03/2024 Publiekdomeindag - namiddag
 
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive Summary
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive SummaryRocky Mount | Wilson | Greenville Regional Transit Plan Executive Summary
Rocky Mount | Wilson | Greenville Regional Transit Plan Executive Summary
 
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...
Vip ℂall Girls AK Market Phone No 9999965857 High Profile ℂall Girl Delhi No ...
 
bee engaged with youth - World Bee Day 2024
bee engaged with youth - World Bee Day 2024bee engaged with youth - World Bee Day 2024
bee engaged with youth - World Bee Day 2024
 
Ghana High Commission on list of diplomats including US & China who owe £143m...
Ghana High Commission on list of diplomats including US & China who owe £143m...Ghana High Commission on list of diplomats including US & China who owe £143m...
Ghana High Commission on list of diplomats including US & China who owe £143m...
 
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样
加急制作英国朴次茅斯大学毕业证(uop学位证书)学位证书范本雅思成绩单原版一模一样
 
Effective Financial Reporting - May 2024
Effective Financial Reporting - May 2024Effective Financial Reporting - May 2024
Effective Financial Reporting - May 2024
 
Everything you need to know about your Parish or Town council website & .gov....
Everything you need to know about your Parish or Town council website & .gov....Everything you need to know about your Parish or Town council website & .gov....
Everything you need to know about your Parish or Town council website & .gov....
 
Help set up SERUDS Orphanage virtual classroom
Help set up SERUDS Orphanage virtual classroomHelp set up SERUDS Orphanage virtual classroom
Help set up SERUDS Orphanage virtual classroom
 
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...
Vip ℂall Girls Laxmi Nagar Phone No 9999965857 High Profile ℂall Girl Delhi N...
 

Introduction to data cleaning with spreadsheets

  • 1. An Introduction to data cleaning with spreadsheets Anders Pedersen, @anpe School of Data
  • 2. Spreadsheets: The beginning of each and every data story • Which were the top growth sectors in this quarter? • What was the crime in the capital region in 2013 compared to 2012? • Is there a house bubble waiting around the corner?
  • 3. It is time for journalists themselves to tame this beast called spreadsheets!
  • 5. Some basic terminology • data is organized in rows and columns (rows go across the page, columns go top down) • each field holding data is called a cell • Rows are numbered, • columns are referred to by letters • each cell has column and a row, or a specific code (e.g. A1 is the top left cell
  • 6. Some key features to explore today • Sorting and filtering • Basic formulas • Pivot tables Tricky bits: - don’t include summaries in pivot table - pivot tables cannot remember when you change your data
  • 7. Data sources for exercise • Education: Secondary school enrollment for 2012 from Data.gov.ph http://data.gov.ph/catalogue/dataset/sy- 2012-enrollment-data-secondary
  • 8. Sorting - finding the best and the worst • The 10 best paid sectors • The 10 oldest cities • The 10 poorest countries • … • If excel is a tool box for journalists, sorting is the hammer!
  • 9. How to sort • 1) Mark all your data • 2) In the Data tab go to sort range
  • 10. Sorting... • 3) Check the Data has header row check box • 4) Select the column you want to sort
  • 11. Filtering - getting a better sense of your data • 1) Turn on Filtering via the Data tab (Data → Filter)
  • 12. Filtering... • 2) Filter options now appear at top
  • 13. Filtering... • 3) Now click on the • blue triangular arrow
  • 14. Filtering... • 4) Select the section you wish to filter
  • 15. Filtering... • 5) A green arrow will now appear on top of the column
  • 16. Moving forward! • Sorting and filtering - check! • Basic formulas • Pivot tables
  • 17. Basic formulas • Let us know try to sum up some of the values in the dataset… • What is it good for: when you do analysis and when you need to check if calculations by your colleagues are right
  • 18. Basic formulas • Go to column H: In the second row (cell H2), type “=sum(f2+g2)”
  • 19. Basic formulas • We now have a sum • Now try to see if this cell can be calculated for average “=average(f2:g2)”
  • 20. Basic formulas • You can also copy your calculations across cells
  • 21. Now only Pivot tables to go • Sorting and filtering - check! • Basic formulas - check! • Pivot tables
  • 22. Pivot tables • finding stories inside datasets • particularly well fitting for organised datasets with clear categories and sub- categories
  • 23. Pivot tables • Mark the full area of the dataset • Go to Data → Pivot table report
  • 24. Pivot tables • Pivot tables allows you to work on rows, column values and filters • We start by dropping a column header into Rows • Then we drop one of our value columns into Values
  • 25. Basic formulas • We now have a nice summary of the budget for each department
  • 26. Filtering pivot tables • We can now go ahead and filter the Pivot table • Add the column you wish to filter by
  • 27. Filtering pivot tables • Then select one or more categories within the column you wish to keep
  • 28. Pivot tables • We can finally add several value columns to the pivot table
  • 29. Exercises • Find the sectors of the national budget that grew the most in percentage • Identify the budget lines, which had the biggest absolute increase in the budget • Generate a pivot table based on the national budget comparing 2014 and 2013 in specific sectors