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

Match Single Criteria in Excel

No repeat statistic based on a single condition is used wildly in daily work, for example, count type of products, the duplicate types are not encountered. This article describes the way of no repeats statistics for data in a single ...

Excel Array Construction

This article will talk about how to create one-dimensional array or two-dimensional array by using some functions in Excel. When using array formulas in Excel, we often use functions to construct arrays. Generate Array with ROW or COLUMN Functions Array ...

Excel Array Operation

We have all heard of arrays. Depending on the dimensionality, they are divided into one-dimensional arrays and two-dimensional arrays. Depending on the data type, they can also be divided into numeric arrays, logical arrays, and so on. The concatenation and ...

Excel Array Matrix Operation

In Excel, we have a built-in function used to perform matrix operations. It is the MMULT function. This function accepts two arrays as parameters and returns the product of the two arrays. However, this function has a prerequisite that the ...

A1 Reference Style and R1C2 Reference in Excel

In Excel, there are two reference styles. A1 reference style and R1C2 reference style. These two reference styles can help us find the cell by the cell address. Some functions return these two addresses through the argument settings. A1 Reference ...

Comments

So empty here ... leave a comment!

Leave a Reply

Sidebar