excel for journalists

24
Excel for Journalists Steve Doig Arizona State University USA

Upload: inara

Post on 25-Feb-2016

46 views

Category:

Documents


0 download

DESCRIPTION

Excel for Journalists. Steve Doig Arizona State University USA. What is “data”?. Information in table form Columns are the variables Name, date, time, address, age, etc. Rows are the records Persons, incidents, etc. Information, but not data. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Excel for Journalists

Excel for Journalists

Steve DoigArizona State University

USA

Page 2: Excel for Journalists

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

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

Persons, incidents, etc.

Page 3: Excel for Journalists

Information, but not data Steve Doig is a 62-year-old

professor who teaches at Arizona State University.

Page 4: Excel for Journalists

Now it’s data!

Last name

First name

Age Title City

DoigSteve 62

Professor Phoenix

Jones Bob 45 Reporter MiamiSmith Tom 34 Reporter New

York

Page 5: Excel for Journalists

Why use Excel? Good stories can be found in the

patterns of data Human mind alone can’t see the

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

patterns in data in table form Excel can handle large tables

More than 16.000 columns More than 1 million rows

Page 6: Excel for Journalists

A blank spreadsheet

Page 7: Excel for Journalists

What Excel can do Import data from many formats Sort data by one or more variables Filter data to show only selected

rows Transform data using functions

and formulas Summarize data into categories

Page 8: Excel for Journalists

Importing data Common formats

*.xls (or *.xlsx) Fixed-width text Delimited text (comma, tab, etc) *.dbf files (old dBase) HTML tables

Data Import Wizard will help

Page 9: Excel for Journalists

Delimited text example

Page 10: Excel for Journalists

Fixed-width text

Page 11: Excel for Journalists

Sorting a table

Page 12: Excel for Journalists

Now it’s sorted

Page 13: Excel for Journalists

Filtering: Data…Filter…Autofilter

Page 14: Excel for Journalists

Pick a category…

Page 15: Excel for Journalists

…and see just that

Page 16: Excel for Journalists

Transforming data Math functions

Add, subtract, multiply, divide Average, median, maximum, minimum

Date/Time functions Day of week, days between

Text functions Extract parts of text strings Search and replace text

Page 17: Excel for Journalists

Function Wizard (ƒx)

Page 18: Excel for Journalists

Function Wizard (ƒx)

Page 19: Excel for Journalists

Summarizing data We 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: Excel for Journalists

Pivot table example Data: Region, town name, crimes,

etc. Question: “How many crimes

occurred in each region?” Visualize the piece of paper that

would answer the question

Page 21: Excel for Journalists

Building a pivot table

Page 22: Excel for Journalists

Pivot table

Page 23: Excel for Journalists

Sorted pivot table

Page 24: Excel for Journalists

EXERCISE!

www.public.asu.edu/~sdoig/UNL

(get Excel crime data)