steve doig arizona state university usa excel for journalists

24
Steve Doig Arizona State University USA Excel for Journalists

Upload: vincent-neal

Post on 18-Jan-2018

218 views

Category:

Documents


0 download

DESCRIPTION

Information, but not data Steve Doig is a 66-year-old professor who teaches at Arizona State University.

TRANSCRIPT

Page 1: Steve Doig Arizona State University USA Excel for Journalists

Steve DoigArizona State University

USA

Excel for Journalists

Page 2: Steve Doig Arizona State University USA Excel for Journalists

What is “data”?Information in table formColumns are the variables

Name, date, time, address, age, etc.Rows are the records

Persons, incidents, etc.

Page 3: Steve Doig Arizona State University USA Excel for Journalists

Information, but not dataSteve Doig is a 66-year-old professor who

teaches at Arizona State University.

Page 4: Steve Doig Arizona State University USA Excel for Journalists

Now it’s data!

Last name

First name

Age Title City

DoigSteve 66

Professor Phoenix

Jones Bob 45 Reporter MiamiSmith Susa

n34 Reporter New

York

Page 5: Steve Doig Arizona State University USA Excel for Journalists

Why use Excel?Good stories can be found in the

patterns of dataHuman mind alone can’t see the

patterns in large sets of dataExcel has tools to help us see the

patterns in data in table formExcel can handle large tables

More than 16.000 columnsMore than 1 million rows

Page 6: Steve Doig Arizona State University USA Excel for Journalists

A blank spreadsheet

Page 7: Steve Doig Arizona State University USA Excel for Journalists

What Excel can doImport data from many formatsSort data by one or more variablesFilter data to show only selected rowsTransform data using functions and

formulasSummarize data into categories

Page 8: Steve Doig Arizona State University USA Excel for Journalists

Importing dataCommon formats

*.xls (or *.xlsx)Fixed-width textDelimited text (comma, tab, etc)HTML tables

Data Import Wizard will help

Page 9: Steve Doig Arizona State University USA Excel for Journalists

Delimited text example

Page 10: Steve Doig Arizona State University USA Excel for Journalists

Fixed-width text

Page 11: Steve Doig Arizona State University USA Excel for Journalists

Sorting a table

Page 12: Steve Doig Arizona State University USA Excel for Journalists

Now it’s sorted

Page 13: Steve Doig Arizona State University USA Excel for Journalists

Filtering: Data…Filter...

Page 14: Steve Doig Arizona State University USA Excel for Journalists

Pick a category…

Page 15: Steve Doig Arizona State University USA Excel for Journalists

Transforming dataMath/stats functions

Add, subtract, multiply, divideAverage, median, maximum, minimumRank, z-scores

Date/Time functionsDay of week, days between

Text functionsExtract parts of text stringsCombine stringsSearch and replace text

Page 16: Steve Doig Arizona State University USA Excel for Journalists

Function Wizard (ƒx)

Page 17: Steve Doig Arizona State University USA Excel for Journalists

Function Wizard (ƒx)

Page 18: Steve Doig Arizona State University USA Excel for Journalists

Function categoriesMath: SUM,INT, SQRT, RANDBETWEENStatistics: AVERAGE, MEDIAN, MAX, MIN,

COUNTText: LEFT, RIGHT, MID, UPCASE, PROPER,

CONCATENATE, LEN,FIND/SEARCH, TRIMDate/Time: YEAR, MONTH, DAY, WEEKDAY,

DAYSBETWEEN, HOUR, MINUTE, SECOND,Logical: IF, AND, OR

Page 19: Steve Doig Arizona State University USA Excel for Journalists

Summarizing dataWe often want to take a big collection of

individual records and pile them into categories

Trick: Visualize the piece of paper that would give you the answer you seek

Tool: Pivot tables

Page 20: Steve Doig Arizona State University USA Excel for Journalists

Pivot table exampleData: Institution, state, total students, total

foreign, etc.Question: “What is the total number of

foreign students in each university?”Visualize the piece of paper that would

answer the question

Page 21: Steve Doig Arizona State University USA Excel for Journalists

Building a pivot table

Page 22: Steve Doig Arizona State University USA Excel for Journalists

Pivot table

Page 23: Steve Doig Arizona State University USA Excel for Journalists

Sorted pivot table

Page 24: Steve Doig Arizona State University USA Excel for Journalists

Questions?