
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Add Vertical/Average Line to Bar Chart in Excel?
We can add a vertical/average line to a bar chart in Excel by using the horizontal bar graph. The average line is used to analyse the data value in the graph but checking whether we have reached the average or not in the particular interval. Adding vertical average line to a bar chart in Excel is a simple but lengthy process.
In this tutorial, we will show you the step-by-step process to add a vertical/average line to bar chart in Excel.
Step 1
First, we need to create a horizontal bar chart. Select the data and then click "Insert". Then select "clustered bar" under "bar graph", as shown in the image below −
Our bar graph will be crated successfully.
Step 2
Now add extra "x" in the new row under "Month" and "y" in new row under "Sales" and enter two new values "0" and "1" under "x", as shown in the following screenshot −
Step 3
Click the cell under "x" and enter the formula.
"=AVERAGE($B$2:$B$13)"
And press the "Enter" button to get the average.
Drag down from the average value of zero to get the average value of "y=1" and it will be same as average for "y=0"
Step 4
Right-click on the graph and click "select data". A pop-up will open and then click "Add" under the legend entries and then enter the series name as average and value as the average value we got in the above step.
Step 5
Right-click on the new series created in the graph. Select "change chart type" and then select scatter with line under "x− y graph" menu and finally click the "OK" button.
Step 6
Again right-click on the graph, and click "select data". A pop-up will open, click "average" and select "edit".
Then enter "x" value as average value. In our case, it will be 50208.1667 and enter the value as 0 and 1 and keep the name as "average".
Click "ok" and close the dialog box, then adjust the scale to complete the graph successfully.
Step 7
The straight line will be created across the bar graph successfully, as shown in screenshot below.
In this tutorial, we explained in a step-by-step manner how you can add a vertical line to a bar graph in Excel.
- Related Articles
- How to add moving average line in an Excel chart?
- How to add a horizontal average line to chart in Excel?
- How to add average/grand total line in a pivot chart in Excel
- How to Add Series Line in Chart in Excel?
- How to add arrows to line / column chart in Excel
- How to add dotted forecast line in an Excel line chart?
- How to add drop lines in an Excel line chart?
- How to Add Up/Down Bars to a Line Chart in Excel?
- How to add horizontal benchmark/target/base line in an Excel chart?
- How to add a single data point in an Excel line chart?
- How to add comment to chart in Excel?
- How to add a chart title in Excel?
- How to add axis label to chart in Excel?
- How to Add Labels in Bubble Chart in Excel?
- How to add leader lines to a chart in Excel?
