A pivot table is a quick and effective way to summarize data, and you can also create a pivot chart, to show a visual summary. And, if you’re summarizing the data by date, you’ll usually need to group the date field, to get a chart that’s easy to read.
Continue reading “Compare Years in Pivot Chart”
Category: Pivot Chart
Create Pivot Chart from Data in Excel 2013
With a new feature in Excel 2013, you can create a pivot chart right from the source data – you don’t have to build a pivot table first.
Continue reading “Create Pivot Chart from Data in Excel 2013”
Changing Pivot Chart Affects Excel Pivot Table
After you create a pivot table, you can insert a pivot chart, based on that pivot table. However, if you change the layout of the pivot chart, it will also change the pivot table’s layout.
For example, if I remove City from the chart in the screen shot below, the City field will also be remove from the pivot table.
Continue reading “Changing Pivot Chart Affects Excel Pivot Table”
Show Survey Responses in Pivot Chart
I’ve updated one of the pivot chart sample files on my Contextures website. On the main sheet, there are two pivot charts, showing survey responses by department, and by years of service.
At the top of the sheet, you can select a question from the dropdown list, and view the survey results for that question.
Create Pivot Chart with Shortcut Keys
The quickest way to create a chart in Excel is by using a keyboard shortcut. With the following shortcuts, you can create a chart on a separate sheet, or place it on the same sheet as the data.
Create a Chart Sheet
These shortcuts work for worksheet data, or pivot table data. In this example we’ll create quick Pivot Charts from a pivot table.
- First, select any cell in the pivot table.
- On the keyboard, press the F11 key, to insert a pivot chart on a new chart sheet.

Create a Pivot Chart on the Data Sheet
To create an embedded pivot chart, on the same sheet as the pivot table, follow these steps:
- Select any cell in the pivot table
- On the keyboard, press the Alt key, then tap the F1 key.

Watch the Chart Shortcuts Video
To see the steps for creating a pivot chart with shortcuts, please watch this short video tutorial.
_________________
Change Pivot Chart Source Data
In an Excel file, you might have a couple of pivot tables on different worksheets. If you create a pivot chart for one of those pivot tables, you might spend a long time setting it up, with specific formatting and design settings.
It would be nice to copy that chart, and use it for another pivot table, but you can’t alter the source data for a pivot chart.
Change Number Format in Pivot Chart
When you create a pivot chart from a pivot table, the numbers on the chart’s axis are in the same format as the pivot table’s numbers. In the screen shot below, the numbers are in General format, with no comma and no decimals.

Video: Change Pivot Chart Number Format
This short video shows how to change the number format for the pivot chart only, or change the number format for both the pivot chart and the pivot table. There are written steps below the video.
Change Pivot Table and Chart
To change the number format in both the Pivot Table and the Pivot Chart, you can change a setting in the pivot table value field. For example, if you want to add a comma separator, follow these steps
- In the pivot table, right-click on a cell in the value field. In this example, the Quantity field is in the Values area.
- In the popup menu, click Number Format
- In the Format Cells dialog box, click the Number category
- Change the number of decimals to 0, and add a check mark to Use 1000 Separator.
- Click OK, and the number format is applied to both the pivot table and the pivot chart.
Use Different Number Format in Pivot Chart
In some cases, you might want a different number format in the pivot chart, rather than making it the same as the pivot table. In this example, you’ll format the pivot chart to show the numbers as thousands, so the numbers take less room.
Follow these steps to change the pivot chart number format, without affecting the pivot table:
- In the pivot chart, right-click a number in the axis, and then click Format Axis.
-
- In the Format Axis dialog box, click Number, in the list at the left.
- Click the Custom category. This automatically removes the check mark from Linked to Source, which disconnects the axis labels from the formatting in the pivot table.
- In the Format Code box, type a code for the formatting, such as: #,”K”;-#,”K”
- Click Add, to create the custom number format code, and to apply the format. Only the pivot table has changed – the pivot table numbers are sill in the previous format.
- Click Close.
_________________
Changing Pivot Chart Layout Affects Pivot Table
If you rearrange the fields in a pivot chart layout, the related pivot table changes too. Unfortunately, there’s no setting you can change if you want the pivot chart and pivot table to work independently.
As a workaround, you can create a second pivot table, based on the first one, and arrange it as you’d like. Then, when you change the pivot chart, only the original pivot table is affected. You can hide the first pivot table that’s connected to the pivot chart and use the second pivot table as for printing reports.
If you require several charts based on the same pivot table, but with different layouts, create multiple pivot tables based on the original pivot table. Create one pivot chart from each of the secondary pivot tables, and rearranging one pivot chart won’t affect the others.
___________
Change the Series Order in a Pivot Chart
When you create a pivot chart, the series order is automatically applied. In this example, the product categories had been manually sorted in the pivot table. In the pivot chart legend, the products are in the same order: Crackers, Snacks, Bars and Cookies.

In a longer list of items, you might like the series sorted alphabetically, so they’re easier to find in the list.
Change the Sort Order
To change the sort order, follow these steps:
- Select the pivot chart
- If the PivotChart Filter pane isn’t visible, click the Analyze tab on the Ribbon, then click PivotChart Filter.

- In the PivotChart Filter pane, click the arrow in the drop-down list for the field you want to sort. In this example,
click the arrow for the Legend Fields (series), where the Category field is listed.
- Click Sort A-Z, to sort the categories in ascending order

Pivot Table Series Order
NOTE: Changing the series order in the Pivot Chart will also affect the Pivot Table on which it is based.
_________________
Create a Combination Pivot Chart
After you create a column chart from a pivot table, you might want to change it so the chart is a combination chart type. You’d like most of the series to remain as columns, and one of the series to be a line.
In Excel 2007 there are no Combination Chart types that you can choose, as there were in the Excel 2003 Chart Wizard. However, in any version of Excel you can create your own combination charts.
In this example, the chart is a Clustered Column chart type, with the series showing the sales of each category in each city.
You’d like to change the Cookies series to a line, so it stands out from the other categories.
In the pivot chart, right-click on one of the Cookies columns.
In the shortcut menu that appears, click Change Series Chart Type
In the Change Chart Type dialog box, click the Line chart type, and click one of the Line subtypes, then click OK.
The chart is now a combination chart, with columns for Bars, Crackers and Snacks, and a line for Cookies.
___________________________
For more information on pivot tables, see the Pivot Table Topics on my Contextures web site.
___________________________




