pivot table demonstration - maventrainingsite.com · why use a pivot table? 7. delete columns you...

Post on 23-Jul-2020

5 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

PivotTableDemonstration

ToolsforLBOHs

cott Troppy,SurveillanceEpidemiologistBureauofInfectiousDiseaseandLaboratorySciences

MADepartmentofPublicHealth

May 27, 2020

1

PivotTableLearningObjectives• Use pivot tables to turn raw data into meaningful and insightful reports

• Structure your raw data in the right way• Design and format your pivot table reports so that they are easy to read and understand

• Summarize your data in different ways including totals, counts and percentages

• Use pivot tables to create monthly summary reports• Display a pivot table as a chart 2

3

4

OutputType:CSVvs XSL

5

CommaSeparateValue(CSV)output

6

• Looking at a raw data set like this one here, how would you answer the following?

• What is your count of gender in your data

• What does Race look like?

• What about hispanicmakeup of your events?

• How do I create a table of age ranges?

WhyuseaPivotTable?

7

DeleteColumnsyoudon’tneed

8

9

Selectentirespreadsheet– clickonceonboxabovethenumber1

andtotheleftofthefirstcolumn10

ClickInserttabfromtheRibbonattopofscreenandthenclickPivotTable

11

InsertyourPivotTableintoanewworksheet

12

Variablesfromspreadsheetappearforyoutochooseandcount

13

SelectvariableandthendragdownintoRowandValues

14

RowLabelsandValuestoFindNullValues

15

Blankmeansemptyinyourspreadsheet

16

CopyandPasteintoanotherworksheettoallowforediting17

CopyandPasteandchooseValuessothenumberscomeoverandnottheformulafromyourPivottable

18

Nowyoucaneditthecolumnheadersandformatasneeded 19

Blankmeansemptyinyourspreadsheet

20

CopyandPasteintoanotherworksheettoallowforediting21

Housekeepingtomanageyourdata‐renameyourworksheetasyoucreatethem….

22

SaveyourCSVtoExcelformat

23

CopyandPasteandchooseValuessothenumberscomeoverandnottheformulafromyourPivottable

24

Nowyoucaneditthecolumnheadersandformatasneeded 25

UsingtheGroupFunction(AgeVariable)

26

• From your Excel spreadsheet you have a list of Ages (in years)

• Insert your pivot table• Select Age for Row Labels• Select Count of Years in Values

27

UpdateAgeChoices

28

• Update the Grouping options based on the age ranges you want

• Click OK to create the table• You can copy then table and then update the age ranges with counts

PivotTableGraph• To create a graph first highlight the rows and columns you want to use

• Click the Insert ribbon and then choose a graph type• Column• Line• Pie Chart

29

InsertaGraphfromyourtable

30

Graphisinsertedinworksheetwhereyoucanthenformat

31

LBOHTemplateSpreadsheet

32

top related