Beruflich Dokumente
Kultur Dokumente
help resources list of online & offline resources for pivot table help
399672227.xls
1 of 19
sheet = Sheet Index
Excel Pivot Table - a Powerful Analytical Tool
When & why would I use a pivot table? "Use a PivotTable report when you want to make large, complex sets of data more comprehensible and easier to understand
at a glance. PivotTable reports are especially useful when you have a large amount of data to sum and you want to compare
several facts about each figure. Because PivotTable reports enable you to drag fields into different positions in the layout, you
can change the view of the data to see more detail or calculate different summaries."
Preparatory Exercise - Customize Toolbar show pivot table toolbar & add icons (sort ascending, sort descending, auto filter)
1st Example
Basic Pivot Table select * from ncems2004 where dis='NSI' and facid>0
pivot table icon active cell should be within data (ie in list)
pivot table wizard
step 1 - select data & report
step 2 - select range automatic if data is surrounded by blank rows & columns
step 3 - select location. Layout button & options button
layout - drag & drop fields into page, column, row, & data area row & column fields limited by available memory. Workaround - concatenate
double click fields in data area change name. summarize by sum, count… options: show data as normal, % of column…
double click fields in row & column areas subtotal options
options - column & row grand totals
dynamic rearrangement of fields in pivot table
works only with 1 row item (eg facid only, not dis ab co facid)
1 click descending or ascending sort
workaround - click descending sort icon each time row item changes
% of column
show pages
drilldown
399672227.xls
2 of 19
sheet = readme - outline & notes
Excel Pivot Table - a Powerful Analytical Tool
2nd Example
select * from ncfoursum2004 where dis='FR'
Advanced Pivot Table Across 2 Years select * from ncfoursum2003 where dis='FR'
with Calculated Items combine results & add column preceding data with manual input of database year
better than QA tool because spreadsheet format (vs pdf) & includes all sources (vs inner join),
but still be aware of inconsistent fname or facid between years
works only with 1 row item (eg fname only, not dis ab co facid fname)
workaround - concatenate
calculated item cannot have tog, %tog, & calculated item
workaround - copy & paste values, then create own formulas
do not drag page field down to row area if using calculated item (will expand rows)
399672227.xls
3 of 19
sheet = readme - outline & notes
Show pivot table toolbar Expand pivot table toolbar
click view click arrow at end of toolbar
toolbars add or remove buttons
click pivot table pivot table
click to show all except reset
Customize toolbar
click tools
click customize
in command tab, click data
drag sort ascending , sort descending, & auto filter to pivot table toolbar
click close
Resulting toolbar
399672227.xls 4 of 19
sheet = preparatory - customize toolbar
399672227.xls 5 of 19
sheet = preparatory - customize toolbar
in sheetname=1 - nsi ncems2004
with active cell in list, click pivot table icon
click next
click next
click layout
399672227.xls
6 of 19
sheet = wizard steps 1-3
drag & drop field names on pivot table template - page, column, row, data
click finish
399672227.xls
7 of 19
sheet = drag & drop on layout
Dynamic end product
format data fields (2 decimals in ems ) & shorten column width
399672227.xls 8 of 19
sheet = pivot table w drag & drop
with active cell in data area of pollutant 88101 (pm2.5), click sort descending icon
with active cell in data area of pollutant 16113 (rog), click sort descending icon
399672227.xls
9 of 19
sheet = 1 click sort descending
click pivot table icon
click layout
drag ems field to data area
double click sum of ems2
change name to %
click options (Aside: note summarize by options including count)
click show data as % of column
click ok
click ok
click finish
399672227.xls
10 of 19
sheet = % of column
with active cell in data, click show pages icon
click co
click ok
399672227.xls 11 of 19
sheet = show pages
in sheetname=29
with active cell in data area of pollutant 11101 (pm), click sort descending icon
double click cell B10 (value=17.03) to drilldown to raw data detail
notice 1 new sheet created containing detail from ncems2004 can see dev, proid, & ems
check ems total
399672227.xls 12 of 19
sheet = drilldown
in sheetname= 2 - fr ncfoursum2004
with active cell in list, click pivot table icon
click next
click next
click layout
drag & drop field names on pivot table template - page, column, row, data
click ok
click finish
399672227.xls
13 of 19
sheet = 2nd pivot table
with active cell in data area, click show field list icon
scroll down pop-up
click noxt
click data area under drop-down menu
click add to
click pmt
click add to
close field list screen
399672227.xls
14 of 19
sheet = field list - add nox pm
with active cell C8, click down arrrow next to pivot table on left side of toolbar
formulas
click calculated item
resulting table
399672227.xls
15 of 19
sheet = calculated item w 1 row field
with active cell D8, click down arrrow next to pivot table on left side of toolbar
formulas
click calculated item
resulting table
399672227.xls
16 of 19
sheet = 2nd calculated item
move the cursor so that it turns into a down arrow in upper part of cell E8
click to highlight
right click
click format cells
click percentage
click ok
with active cell in data area of rogt diff, click sort descending icon
sutter power plant has largest rog difference between years
399672227.xls
17 of 19
sheet = format & desc pm & drilldown
ASAP Utilities
www.asap-utilities.com
399672227.xls
18 of 19
sheet = ASAP utilities
Microsoft Office Online
PivotTable reports 101
Assistance > Office XP > Excel 2002 > PivotTable Reports and Charts http://office.microsoft.com/en-us/assistance/HA010346321033.aspx
Training > Excel > PivotTable I: What's so great about PivotTable reports? http://office.microsoft.com/training/training.aspx?AssetID=RC010136191033
reference card for above http://office.microsoft.com/training/Training.aspx?AssetID=RP010140321033&CTT=6&Origin=RC010136191033
Training > Excel > PivotTable II: Swing into action with PivotTable reports http://office.microsoft.com/training/training.aspx?AssetID=RC010286901033
reference card for above http://office.microsoft.com/training/Training.aspx?AssetID=RP010287081033&CTT=6&Origin=RC010286901033
Training > Excel > PivotTable III: Show off your PivotTable skills http://office.microsoft.com/training/training.aspx?AssetID=RC010381561033
reference card for above http://office.microsoft.com/training/Training.aspx?AssetID=RP010381551033&CTT=6&Origin=RC010381561033
399672227.xls 19 of 19
sheet = help resources