How to Add an Average Line to an Excel Chart -3 Steps

Step 1 – Prepare the Dataset

Assume you have the following class result table:

Sample Dataset: How to Add Average Line to Excel Chart

  • Select the data range and go to Insert >> Recommended Charts.

Navigate to Recommended Charts from Insert Tab

Read More: How to Calculate VLOOKUP AVERAGE in Excel


Step 2 – Select a Chart Type

  • Go to Combo >> All Charts >> Clustered Column-Line >> Average Marks >> Line >> OK.

Select a Suitable Chart Type from the Combo Section

The Average Line is added to the chart:

the Average Line is now added to the Chart


Step 3 – Apply a Custom Combination

  • Select Custom Combination.
  • Select the Marks >> Clustered Column >>Line.

How to Add Average Line to Excel Chart

The line graph with the average will be displayed.

line graph with the average line


How to Add an Average Line in an Excel Pivot Chart

Steps:

  • Create a Pivot Table and a chart based on the table: go to Insert >> Table >> Pivot Table >> From Table/Range.

Creating a Pivot Table and a chart

  • Select Existing Worksheet and click OK.

Creating the Pivot Table in the existing worksheet

  • In PivotTable Fields check Name and Marks.
  • Choose Insert >> 2-D Column.

How to Add Average Line in Excel Pivot Chart

The Marks graph is displayed.

Graph of Marks will appear in the worksheet

  • In PivotTable Fields check Average Marks. A new column will be displayed in the chart.

In the PivotTable Fields check Average Marks

  • To see the Average Marks as a horizontal line: right-click >> Change Chart Type.

Right click on the mouse and click Change Chart Type

  • Go to Combo >> Custom Combination >> Sum of Average Marks >> Line >> OK.

Change Chart Type window will appear on the screen

The average line is displayed in the marks charts.

Added Average Line to the charts of Marks


Download Practice Workbook

Download the practice workbook.


Related Articles


<< Go Back to Calculate Average in Excel | How to Calculate in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Al Ikram Amit
Al Ikram Amit

Al Ikram Amit, holding a BSc in Naval Architecture & Engineering from Bangladesh University of Engineering and Technology, serves as a key Excel & VBA Content Developer at ExcelDemy. Driven by a profound passion for research and innovation, he actively immerses himself in Excel. In his role, Amit not only skillfully addresses complex challenges but also exhibits enthusiasm and expertise in gracefully navigating tough situations, emphasizing his steadfast commitment to consistently delivering exceptional, high-quality content that adds significant... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo