To build a PivotChart in Excel for Microsoft 365 on Windows, create or select a PivotTable, choose PivotTable Analyze > PivotChart, pick a chart type, and select OK. Then arrange fields in the chart’s field list and use filters or slicers to focus the view. A PivotChart is linked to a PivotTable, so it can summarize and interactively explore larger datasets instead of merely plotting a fixed range.
What a PivotChart does
A PivotChart displays summarized data from a PivotTable. The PivotTable groups and calculates the source records; the chart turns that summary into a visual comparison. For example, a sales table with one row per transaction can be summarized by month and product, then shown as a column chart comparing each product’s monthly sales. You can change the grouping or filter the report without rebuilding the chart from scratch.
PivotCharts are interactive. Depending on the chart and its fields, viewers can filter categories, switch which fields define the axes or series, and expand or collapse grouped data. The chart and its related PivotTable are connected: changing a field arrangement or filter in one can affect the other. This connection is what distinguishes a PivotChart from a regular chart based on a cell range.
They are useful for recurring reports, exploratory analysis, and dashboards where readers need to inspect different categories. They are less suitable when you need complete control over every plotted point or a specialized chart type that PivotCharts do not support.
Prepare the source data
Good source data makes the PivotTable and chart easier to build and maintain. Put the data in a simple rectangular range: one header row, one record per row, and one type of information per column. Avoid merged cells, blank header names, and completely blank rows or columns inside the range. Use clear, unique headers such as Date, Region, Product, and Sales.
Check that values have the right data types. Dates should be recognized as dates, and numeric measures should be numbers rather than text that only looks like a number. If a Sales column contains a mixture of numbers and text, Excel may count records instead of summing the values. Correct those inconsistencies in the source before interpreting the summary.
For a dataset that will grow, convert the source range to an Excel Table first. Select a cell in the data and choose Insert > Table, confirm the range and whether it has headers, then select OK. Tables usually make a PivotTable’s source easier to maintain as rows are added. New records still need a PivotTable refresh before they appear in the summary.
Build the PivotTable and chart
- Select a cell in the source table or data range, then choose Insert > PivotTable.
- Check the proposed table or range. Choose New Worksheet for a separate report sheet, or choose an existing worksheet and specify a destination cell. Select OK.
- In the PivotTable Fields pane, drag fields into the areas at the bottom. Put categories such as Date or Region in Rows, and numeric measures such as Sales in Values. You can put a second category in Columns to compare series.
- Click inside the PivotTable and choose PivotTable Analyze > PivotChart. Select a chart type and subtype, then select OK.
- Use the PivotChart Fields pane to adjust the fields shown in the chart. Choose a useful title and, if needed, format labels, number formats, and colors using the chart tabs on the ribbon.
For a quick monthly comparison, place Month or a grouped Date field on the category axis, Product in the legend, and Sales in Values. Excel normally sums numeric values. If it displays Count of Sales instead, inspect the source for text or blank entries and change the calculation through the value field settings if appropriate.
You can also start from a selected source range using Excel’s PivotChart insertion workflow. Excel creates the associated PivotTable structure because a PivotChart depends on a PivotTable summary. Starting with a PivotTable makes it easier to see and check the underlying grouping before choosing a chart.
Choose a chart type that fits the comparison
The chart should make the intended comparison apparent. Clustered column or bar charts work well for comparing values among a modest number of categories. A line chart is often clearer for a sequence such as monthly sales, especially when the point is to show a trend. A stacked chart can show both totals and how categories contribute to them, but many series can make individual values difficult to compare.
- Column or bar: compare categories such as regions or products.
- Line: show a time trend when the horizontal axis has a meaningful order.
- Pie: show a simple part-to-whole relationship with few categories; it becomes hard to read with many slices.
- Stacked column or bar: compare totals and composition, while remembering that segments not starting at zero are harder to compare precisely.
PivotCharts do not offer every chart type and feature available to regular charts. In particular, specialized types such as XY scatter, stock, and bubble charts are not supported as PivotCharts. If you need one of those types, or a custom combination of chart types, consider building a regular chart from a separate summary range instead.
Arrange fields and make the chart readable
The field areas determine what the chart means. Fields in Axis (Categories) supply category labels; fields in Legend (Series) split the data into series; Values supplies the measure being summarized; and Filters lets you filter the report. The labels and available areas may depend on the selected chart and Excel’s interface.
Keep the number of categories and series manageable. A chart with dozens of products in the legend can become a wall of colors. Filter to a region, select a smaller set of products, or use a bar chart with readable labels. For dates, check that Excel has grouped them in a way that matches the question. Right-click a date in the PivotTable and choose Group to group by periods such as months or quarters when that option is available.
Use field settings when the default calculation is not the one you intend. In the PivotTable, open the menu for a value field, choose Value Field Settings, and select a suitable summary such as Sum, Count, or Average. Choose Number Format in the settings dialog to format values consistently. Formatting the source cells alone may not produce the desired number format in the PivotTable.
Add filters, slicers, and date controls
Field filters are useful when a report needs a quick restriction, such as showing one region. For a more visible dashboard control, select the PivotTable and choose PivotTable Analyze > Insert Slicer, select fields, and choose OK. Clicking a slicer button filters the connected report; use its clear-filter control to remove the selection. A slicer can make a report easier for someone else to use because the choices are displayed on the sheet.
For a PivotTable with a date field, a timeline can provide a visual way to select a date range. Select the PivotTable and choose PivotTable Analyze > Insert Timeline, select the date field, and choose OK. If a slicer or timeline should control more than one PivotTable, check its report connections. The reports need to share a compatible PivotTable cache or data model to be connected.
Filters change what is displayed, not the original source records. Make the current filter state clear in a shared report, particularly if a chart could otherwise be mistaken for a complete view of the data.
Refresh and maintain the chart
A PivotChart reflects its PivotTable, which reflects the source data as of the last refresh. After editing or adding source records, click in the PivotTable and choose PivotTable Analyze > Refresh. To refresh several workbook connections and PivotTables, use Data > Refresh All. A refresh updates the summary; it does not repair incorrect source values or automatically make a chart’s layout meaningful.
If the source is an Excel Table, added rows are generally included when the PivotTable is refreshed. If the source was a fixed cell range, check whether newly added rows fall inside that range. You can change the source through PivotTable Analyze > Change Data Source. After refresh, confirm that new categories, dates, and totals appear as expected.
When sharing a workbook, consider whether the recipient needs the source data and whether filters are left in a useful state. A PivotChart is a view of workbook data, not a standalone image: recipients who need to interact with it generally need the workbook and access to the relevant data.
Common problems and how to fix them
- The chart shows Count instead of Sum: some values may be stored as text or the column may contain blanks or inconsistent entries. Clean the source, refresh, and check Value Field Settings.
- New rows are missing: refresh the PivotTable and verify that the source range includes the rows. Using an Excel Table helps the source expand as records are added.
- The chart has too many labels: filter categories, group dates, or choose a bar chart. A chart is not improved by showing every label if readers cannot distinguish them.
- The wrong field appears on an axis: inspect the PivotChart Fields pane and move fields among Axis, Legend, Values, and Filters. Check the related PivotTable too, since the two are connected.
- Some chart types are unavailable: choose a supported type or make a regular chart from a summarized range if the analysis requires a specialized chart.
One common misconception is that a PivotChart will automatically stay current whenever source cells change. It will not: refresh is generally required. Another is that any ordinary chart can be converted into a PivotChart while keeping all its custom settings. A PivotChart is based on a PivotTable, so it is better to create it from the summary and then apply the formatting and supported chart options you need.
PivotChart or regular chart?
Choose a PivotChart when the reader needs to filter, regroup, or explore summarized data interactively. Its connection to a PivotTable makes it convenient for changing categories and measures without manually rebuilding a chart for each view. It is especially helpful for recurring reports where the source records are refreshed over time.
Choose a regular chart when the plotted range should be independent of PivotTable controls, when you need unsupported chart features, or when precise control over individual series is more important than interactive summarization. A practical alternative is to keep a PivotTable as the analysis layer and build a regular chart from a carefully arranged summary range. That adds some maintenance work but can provide more charting flexibility.
Frequently Asked Questions
Can I create a PivotChart without a PivotTable?
Not as an independent chart: a PivotChart is tied to a PivotTable summary. When you start the PivotChart workflow from source data, Excel creates the associated PivotTable structure for it.
How do I add a slicer to a PivotChart?
Select its PivotTable, choose PivotTable Analyze > Insert Slicer, select the field, and choose OK. The slicer filters the connected PivotTable and chart.
Why does my PivotChart not update when I change the source?
Refresh the PivotTable using PivotTable Analyze > Refresh or choose Data > Refresh All. Also verify that the changed records are included in the PivotTable’s source.
Can I make a PivotChart from multiple tables?
Yes, Excel can use related tables in the Data Model for PivotTable analysis. The tables need suitable relationships, and setting up the model is more involved than creating a PivotTable from one flat table.
Can I use a PivotChart in Excel for Mac or the web?
PivotChart support and available controls can vary by platform and version. The instructions here are for Microsoft 365 on Windows; on Mac or Excel for the web, check the ribbon’s PivotTable and chart commands because their placement or availability can differ.
Related
- Excel Merge Cells Button: Where It Is and How to Use It
- Create One Named Range from Multiple Cell Ranges in Excel
- Kuta Scatter Plot Worksheet: How to Find and Use One
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Excel Pie Chart: Show Values, Percentages, or BothYes. In Excel for Microsoft 365 on Windows, select the pie chart, then choose Chart Design > Add…
- Steps Progress Chart in Excel: Build a Clear TrackerTo create a steps progress chart in Excel, list each step and its completion percentage, calculate the remaining…
- Excel Pivot Table Row Labels: How to Change the HeaderIn Excel for Microsoft 365 on Windows, click the PivotTable cell that says Row Labels, type the heading…
- Excel Line Chart: Change X-Axis ValuesTo change the x-axis labels on an Excel line chart, select the chart, choose Chart Design > Select…
- How to Make a Column Graph in Google Sheets: A GuideTo make a column graph in Google Sheets, select your data, choose Insert > Chart, then select Column…
- Google Sheets Flow Chart: Create and Customize OneYes. In Google Sheets in a web browser, choose Insert > Drawing > New, add flowchart shapes and…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.