
- #What in an excel cell for 0 on a scatter chart excel how to#
- #What in an excel cell for 0 on a scatter chart excel series#
#What in an excel cell for 0 on a scatter chart excel series#
Right click it and pick Change Series Chart Type in the pop-up menu. The new data series is now added to your bar chart (two orange bars).In the Series values box, select the cells with your X values (D2:D3 in our case).In the Series name box, type the desired name ( Average in this example).In the Edit Series dialog box, make the following changes:.In the popped-up Select Data Source dialog, click the Add button:.Right click anywhere in your bar chart and click Select Data in the context menu:.Please notice that we use absolute cell references to ensure that the formula copies to a second cell without changes. This formula is inserted in both X cells (D2 and D3). Since we are going to draw a vertical average line, we calculate the X value as the average of cells B2 through B7: In some empty cells, set up the data for the vertical line like shown below.

Select your data and make a bar chart ( Insert tab > Charts group > Insert Column or Bar chart > 2-D Bar).To create a vertical line in your Excel chart, please follow these steps: If you'd like to compare the real values with the average or target you wish to achieve, insert a vertical line in a bar graph like shown in the screenshot below:
#What in an excel cell for 0 on a scatter chart excel how to#
How to add vertical line to Excel bar chart Depending on your settings in steps 8 and 9, it will look like one of these images: You can also make the line thinner or thicker by changing its Width.ĭone! A vertical line is plotted in your scatter graph.


Otherwise, the selected x and/or y cell will be added to the existing array, which will lead to an error. Be sure to delete the existing contents of the Series values boxes first - usually a one element array like =. In this example, we are going to add a vertical average line to Excel chart, so we use the AVERAGE function to find the average of x and y values like shown in the screenshot:

We will just have to do a little lateral thinking! However, "no easy way" does not mean no way at all. But there is still no easy way to draw a vertical line in Excel graph. In the modern versions of Excel 2013, Excel 2016 and Excel 2019, you can add a horizontal line to a chart with a few clicks, whether it's an average line, target line, benchmark, baseline or whatever. You will also learn how to make a vertical line interactive with a scroll bar. The tutorial shows how to insert vertical line in Excel chart including a scatter plot, bar chart and line graph.
