{"id":29251,"date":"2015-03-21t10:48:50","date_gmt":"2015-03-21t14:48:50","guid":{"rendered":"\/\/www.deco-dalles.com\/?p=29251"},"modified":"2019-10-18t10:15:28","modified_gmt":"2019-10-18t14:15:28","slug":"how-to-create-a-pivot-chart-in-excel","status":"publish","type":"post","link":"\/\/www.deco-dalles.com\/how-to-create-a-pivot-chart-in-excel\/","title":{"rendered":"how to create a pivot chart in excel"},"content":{"rendered":"

are you faced with a mountain of excel data, and need to consolidate it into a usable format so that it can be easily filtered grouped and sorted?<\/p>\n

<\/h2>\n

welcome to the world of pivot tables!<\/h2>\n

pivot tables are part of most spreadsheet or business intelligence software packages. they can be used with any kind of data that is stored in columns, but are extremely useful when the data is so large that it goes beyond what normal spreadsheet filters can handle.<\/p>\n

the pivot table, once setup can be used to group, sort, and summarize data using basic mathematical functions. the pivot or summary table can then be altered simply by dragging and dropping fields graphically.<\/p>\n

inherently we run across instances like this in our day to day jobs as planners or project control personnel when dealing with actuals from our timesheet or lem system, summarizing data for invoicing or comparing data from our subcontractors to their invoices, etc. so let\u2019s walk through how to do a simple pivot table in excel.<\/p>\n

first we need a data source that is set up in columns. i am going to use an example data set that i found on the internet.\u00a0this data is showing nfl offensive player stats from 1993 \u2013 2013.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

once we have our data in the proper format, we can then make a pivot table. to do that, highlight the columns, and select the insert tab from the ribbon.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

once done you will see a screen as shown below.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

this is showing the data that you identified, and asking if you would like to create a pivot table with the chosen data. click ok<\/strong>. next you will see a new sheet with a pivot table on the sheet and a pivot table field list on the right.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

this is where the fun begins.<\/strong> now we have to decide how we want to display our data. if you review the data that was supplied, it has columns that are descriptors for the particular row of data.<\/p>\n

namely (year, player, age, hometown, home state, tm, and position). then the data has columns of stats or numbers. let\u2019s say we want to see amount of tds by position. we would drag the td field to the values window on the lower right side, and drag the position field to the row labels position.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

looking at the td field in the values window, it is set to count. what this is doing is just counting the amount of entries that td shows up in the dataset in the given position. what we need to do is change this to sum, as one entry may be a value greater than 1.<\/p>\n

so click the drop arrow on the right side of count of td and select \u201cvalue field setting\u201d<\/strong><\/p>\n

\"pivot<\/p>\n

 <\/p>\n

this window will pop-up:<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

select sum and press \u201cok\u201d<\/strong> \u00a0 we end up with the following result.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

from here we can chart our data. select options -> pivot chart, and then select column -> column chart, and press \u201cok\u201d.<\/strong><\/p>\n

\"pivot<\/p>\n

 <\/p>\n

a chart is displayed showing amount of tds by position.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

maybe we want to break this down further. one way we could do that is plot this by year. so tds by position by year. grab the year field and drag it down to the axis field window, and drag the positions field to the legend fields window.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

now we have the full chart, but wait, we can\u2019t really see the other positions as the total numbers of tds are so low compared to qb. let\u2019s filter out the qb so we can see the values for the other positions.<\/p>\n

in the field list window scroll down to \u201cpos\u201d or position, select the drop down arrow<\/strong>.<\/p>\n

\"pivot<\/p>\n

 <\/p>\n

uncheck the qb item, and press \u201cok\u201d<\/strong><\/p>\n

\"pivot<\/p>\n

<\/h2>\n

<\/h2>\n

<\/h2>\n

<\/h2>\n

<\/h2>\n

here is the final result.<\/h2>\n

\"pivot<\/p>\n

pretty handy right? well now that you have a basic understanding of it, what if i told you, that you could use this same type of setup to chart resource units, costs, earned value, s-curves, etc right out of p6? i bet you would jump all over that.<\/p>\n

learn more about advanced p6 reporting using excel<\/a> <\/strong>and check out the free lesson video.<\/p>\n

\"primavera<\/a><\/span>