Adding Grand Total or Average to Pivot Chart

This post will guide you how to add grand total line to a pivot chart in Excel. How do I show grand total line in an existing pivot chart in Excel. How to add average line to pivot chart at top position in Excel. How to add a grand total line on an Excel stacked column pivot chart.

Adding Grand Total or Average to Pivot Chart


Assuming that you have a list of data in range B1:C5 that contain sales data and you will create a pivot table based on those data, and then create a column chart based on the created pivot table. Now if you want to add average line in the pivot column chart, how to achieve it. Just do the following steps:

#1 select the source data B1:C5, and go to INSER tab, click PivotTable command under Tables group to create a pivot table. And the Create PivotTable dialog will open.

add average line to pivot chart1

#2 select Existing Worksheet radio button, and select one cell as the location. Click Ok button.

add average line to pivot chart2

#3 checked Fields in Choose fields to add to report section in PivotTable Fields pane. And the pivotTable is created.

add average line to pivot chart3

#4 select the above pivot table, and go to INSERT tab, click Insert Column Chart command under Charts group. And one Column Chart based on the pivot table is created.

add average line to pivot chart4

add average line to pivot chart5

#5 select the Sales column in the original data, and right click on it, select Insert from the popup menu list to insert a new column, and type Average in the first cell.

add average line to pivot chart6

#6 type the following formula in the Average column, and then press Enter key, and then drag the AutoFill Handle down to other cells.

=AVERAGE($D$2:$D$5)

add average line to pivot chart7

#7 select the pivot column chart, and go to ANALYZE tab, click Refresh command under Data group.

add average line to pivot chart8

#8 The Average field will be displayed in the PivotChart Fields pane, and then checked Average checkbox.

add average line to pivot chart9

#9 select Average Data series in the pivot chart, and select Change Series Chart Type, and the Change Chart Type dialog will open.

add average line to pivot chart10

#10 click Combo menu in the left pane, and choose the Sum of Average box in the Choose the chart type and axis for your data series section, and select Line as Chart Type. Click OK button.

add average line to pivot chart11

#11 the average line has been added into the pivot chart. Let’s see the result.

add average line to pivot chart12

 

Related Posts

Filter Data by Column and Sort by Row
filter by column sort by row1

This post will guide you how to use the FILTER function to filter a value by column and then sort data by row in Microsoft Excel. You can use the following formula based on the SORT function in combination with ...

Filter And Transpose Data From Horizontal To Vertical
filter and transpose horizontal to vertical1

This post will show you how to use Filter function and in combination with Transpose function to filter data from horizontal and transpose data as vertical in Microsoft Excel. You can refer to the below general formula based on TRANSPOSE ...

VLOOKUP Formula | Faster Trick with 2 VLOOKUPS
Faster VLOOKUP with 2 VLOOKUPS1

This post will guide you how to use 2 VLOOKUPS function to looking up data entries from a given range of cells in Microsoft Excel. VLOOKUP with 2 lookups can be faster than a single VLOOKUP in certain scenarios. The ...

Extract Unique Items From A List
Extract Unique Items From A List In Excel1

This post will guide you how to extract unique itmes from a given list in Microsoft Excel. How to create a newly formula to get unique values from a range cells in Excel. The unique list of items is the ...

Extract substring In Excel
Extract substring In Excel1

This post will guide you how to use Excel's MID function is a quick and easy way to extract pieces from your text. Use the Excel formula to extract a substring with MID. Note: If you want to extract just ...

How to Use 3D SUM Multiple Worksheets
3D sum multiple worksheets1

To sum a range of numbers is straightforward for most Excel users, but do you know how to establish a 3D reference to total the same range of numerous sheets. In this post, I will present the steps for this ...

Extract all the matches with helper Column
how to extract all matches with helper column1

With Excel's powerful functions IF, INDEX, and MATCH, we can find exactly what you're looking for with a few clicks of the mouse. This step-by-step tutorial will show how easy it is to extract data using these tools and more! ...

If Cell is This Value or That Value

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of logical test. If you want to see if a cell is A or B, and if one of ...

If Value is Greater Than A Certain Value
If Value is Greater Than A Certain Value 1

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the logical test result. If you want to see if a value in one cell is greater than a specific value, ...

If Cell is Not Blank
If Cell is Not Blank 6

IF function is frequently used in Excel worksheet to return you expect “true value” or “false value” based on the result of created logical test. If you want to see if a cell is blank or not, and leave some ...

Sidebar