Menu
×
   ❮   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST TOOLS

Excel Tutorial

Excel HOME Excel Introduction Excel Get Started Excel Overview Excel Syntax Excel Ranges Excel Fill Excel Move Cells Excel Add Cells Excel Delete Cells Excel Undo Redo Excel Formulas Excel Relative Reference Excel Absolute Reference Excel Arithmetic Operators Excel Parentheses Excel Functions

Excel Formatting

Excel Formatting Excel Format Painter Excel Format Colors Excel Format Fonts Excel Format Borders Excel Format Numbers Excel Format Grids Excel Format Settings

Excel Data Analysis

Excel Sort Excel Filter Excel Tables Excel Conditional Format Excel Highlight Cell Rules Excel Top Bottom Rules Excel Data Bars Excel Color Scales Excel Icon Sets Excel Manage Rules (CF) Excel Charts

Excel PivotTables

Excel PivotTable Intro Excel Create PivotTable Excel PivotTable Values Excel PivotTable Filter Excel PivotTable Group Excel Calculated Field Excel PivotChart

Excel Case

Case: Poke Mart Case: Poke Mart, Styling

Excel Functions

AND AVERAGE AVERAGEIF AVERAGEIFS CONCAT COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS DATEDIF FILTER HLOOKUP IF IFERROR IFS INDEX INDEX MATCH LEFT LEN LOWER MATCH MAX MEDIAN MID MIN MODE NETWORKDAYS NPV OR PROPER RAND RIGHT ROUND SORT STDEV.P STDEV.S SUBSTITUTE SUM SUMIF SUMIFS SUMPRODUCT TEXTJOIN TODAY TRIM UNIQUE UPPER VLOOKUP XLOOKUP XOR

Excel How To

Convert Time to Seconds Difference Between Times NPV (Net Present Value) Remove Duplicates

Excel Cert

Excel Certificate

Excel Examples

Excel Exercises Excel Syllabus Excel Study Plan Excel Training

Excel References

Excel Keyboard Shortcuts


Excel PivotChart


Share

PivotChart

A PivotChart is a chart that is connected to a PivotTable.

When you change the PivotTable, the chart changes with it.

This chapter uses Poke Mart sales data. Download it to follow along: poke_mart_sales.xlsx

Prepare the PivotTable

Let's chart the sales of each region, year by year. Build this PivotTable first:

  1. Drag Region to the Rows area
  2. Drag Date to the Columns area, and group it by Years only (see PivotTable Group)
  3. Drag Sales to the Values area, and format it with a thousands separator (see PivotTable Values)
ABCD
3Sum of SalesColumn Labels
4Row Labels20242025Grand Total
5Hoenn1,324,7001,647,3002,972,000
6Johto1,612,4501,751,2003,363,650
7Kanto1,456,0501,625,1003,081,150
8Grand Total4,393,2005,023,6009,416,800


Insert a PivotChart

  1. Click any cell in the PivotTable
  2. Click PivotTable Analyze > PivotChart
  3. The Insert Chart dialog opens. Choose Column > Clustered Column
  4. Click OK

The fields in Rows become the categories along the bottom of the chart: Hoenn, Johto and Kanto.

The fields in Columns become the legend: 2024 and 2025. Each region gets one column for each year.

The chart shows that every region sold more in 2025 than in 2024. Johto is the biggest region in both years, and Hoenn passed Kanto in 2025.

The Grand Total is not shown in the chart.

You can also start from the data: Insert > PivotChart creates a new PivotTable and a PivotChart together.


The Chart Follows the PivotTable

A PivotChart always shows the same data as its PivotTable. Filters, slicers and field changes work on both.

Try it with a slicer:

  1. Click any cell in the PivotTable
  2. Click PivotTable Analyze > Insert Slicer, check Category, and click OK
  3. Click Balls in the slicer

The PivotTable and the chart now both show ball sales only.

It also works the other way round. When a PivotChart is selected, the pane is called PivotChart Fields, and changes you make there also change the PivotTable.

Read more about slicers in PivotTable Filter and Slicers.


Field Buttons

A PivotChart shows gray field buttons on the chart: one for the value (Sum of Sales), one for the legend field and one for the category field (Region).

They work like the filter arrows in the PivotTable. For example, click the Region button to show only some regions.

The buttons are useful while you work, but they clutter a finished chart. To hide them:

  1. Click the chart
  2. Click PivotChart Analyze > Field Buttons > Hide All

The PivotChart Analyze tab with the Field Buttons menu open and Hide All highlighted

You can also right-click a field button and choose Hide All Field Buttons on Chart.

The filters still work. Use the PivotTable or a slicer to change them.


Format a PivotChart

Most chart tools work on a PivotChart too: chart styles, titles, colors and data labels.

Read more in Excel Charts, Excel Column Charts and Excel Chart Customization.

A PivotChart cannot be a scatter (XY), bubble or stock chart.


Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.