Pivot tables in Microsoft Excel. March 24, 2010. Michael Milton michael.milton@
gmail.com. Author of Head First Exceland Head First Data Analysis ...
Pivot tables in Microsoft Excel March 24, 2010 Michael Milton
[email protected] Author of Head First Excel and Head First Data Analysis
Who I am
Me
twitter.com/michaelmilton
[email protected] michaelmilton.net
A Brain-Friendly
Analysis Head First Data s
/Data Analysi
Information Theory
book? learn from this
make it’s your job to you out there, and Analysis helps world of data There’s a whole ? Head First Data R, find Where to begin it further with sense of it all. OpenOffice, take rams, draw con data in Excel or rplots and histog imenting and organize your ns with scatte exper patter by l meaningfu ct the future ns. heuristics, predi clear visualizatio with gs clusions using , and display findin of a g the viability testing hypotheses per researchin iveness of a product develo ng the effect Whet her you’re a lone manager gaugi a marketing to client s, or new product, presenting data ions and a salesp erson ntensive funct for a camp aign, all these datai ng experience responsible for r learni lete reneu entrep is a comp Data Analysis in your business. more, Head First most useful tool making data the Predict better by minimizing error
Experiment with random samples to test your theories
Optimize your analysis for increased profit
President, — Anthony Rose, Analytics Support
Data “Head First s how Analysis show ck to find and unlo in data the power of and everyday life c data how systemati analysis can ion improve decis making.”
Clean messy data
? about this book new What’s so specialtoo valuable to waste struggling with learning
time is science and We think your ch in cognitive Data the latest resear ience, Head First concepts. Using learning exper brain the way your a multisensory t designed for theor y to craft visually rich forma you to sleep. Analysis uses a ach that puts appro eavy texth works, not a
US $49.99
CAN $62.99
393-9
596-15 ISBN: 978-0-
&!;!}!} y(7IA5J6*LPNTNT( +,!
oreilly.com om headfirstlabs.c
Free online edition for 45 days with book. purchase of this page. Details on last
n, — Eric Heilma , Statistics teacher Georgetown Preparatory School
r moun“Buried unde Fill tains of data? with your toolbox l skills the analytica an you that give raw edge and turn real numbers into knowledge.”
Head First
Head First
Data Analysis
Data Analysis
Who I am What will you
a “It’s about time d and straightforwar comprehensive yzing guide to anal en data was writt ing learn that makes simple the concepts epts and fun. Conc theory are good in r in and even bette practicality.”
Guide
Milton
Predict your raise with linear regression
to A learner’s guide tics, big numbers, statis and good decisions
by Sell more toys optimizing your l business mode
Experiment to discover who your are customers really
Load important pts statistical conce brain directly into your
Overcome your cognitive biases
Clean messy datasis for efficient analy
Michael Milton
— Bill Mietelski, er Software engine
Editor
Brian Sawyer Me
twitter.com/michaelmilton
[email protected] michaelmilton.net
The most important things you need to learn in Excel IMHO
The most important things you need to learn in Excel IMHO
2. Pivot Tables
The most important things you need to learn in Excel IMHO
1. Formulas 2. Pivot Tables
What we’re about to do 1. Make a pivot table 2. What sort of data do I use in pivot tables? 3. A closer look at pivot table elements 4. Pivot table failure 5. How to present pivot tables 6. Taking pivot tables into another dimension 7. Clean up
A note on versions of Excel Windows versions Excel 97 Excel 2000 Excel 2002 Excel 2003 Excel 2007 Excel 2010
Mac versions
Excel 2001 Excel v.X Excel 2004 Excel 2008
’t n es o d it , n io at t n se re p is h t For matter what you’re using.
Let’s make a pivot table
Problem: Who’s running for Congress, and how much money have they raised? The original data
http://www.fec.gov/data/CandidateSummary.do?format=html My polished data
http://tinyurl.com/PivotTableWebinarData
What, generally, are pivot tables for?
Pivot tables are for summarizing and grouping data
Suggestions for using pivot tables
Suggestions for using pivot tables Use pivot tables to explore!
Suggestions for using pivot tables Use pivot tables to explore!
Use pivot tables to everywhere you can!
What sort of data do I use in pivot tables?
The shape of pivot table data
The shape of pivot table data
The data needs to be tabular (in a 2D grid).
The shape of pivot table data
The data needs to be tabular (in a 2D grid).
Each row needs to be about the same sort of thing.
A simple way to think about your fields Summarize with numeric data
Group with categorical data
Numeric versus categorical data Numeric data 132 20.83 999999 3.2e34
Categorical data
AL, TX, FL Mike, Jessica, John House, Senate
Another simple answer Use pivot tables for raw (rather than summarized) data.
Raw data is the most basic data you can get.
r o ed z ri a m m su n ee b ’t sn a h It . b jo ur o y ’s at h t . .. et y ed up o r g
The complex answer You’ll usually follow the simple answers, but you can also summarize with numeric data and group with categorical data. Plus, the data doesn’t have to be raw.
A closer look at pivot table elements
Basic pivot table elements Summarize Group Filter Format Formula Refresh
Pivot table failure Watch what I do, see if you can spot the problem.
Remember what each row of your data means
How to present pivot tables
What does it mean to “pivot” the data?
What does it mean to “pivot” the data?
Not a whole lot.
You can handle complex pivot tables better than your audience
Send your pivot tables to a new spreadsheet for presentation
Let’s take pivot tables into another dimension
What if your data doesn’t have the categories you need for grouping?
Let’s look at the money raised by politicians who live in the same ZIP codes as the people watching this webinar!
Roll your own categories with formulas
Use what’s implicit in the data.
Clean up
Thank you! twitter.com/michaelmilton
[email protected] michaelmilton.net