Create an Excel Line Chart with Positive and Negative Values
Question details
Create a line chart that displays both positive and negative values.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to graph a data series containing values above and below zero.
- Observed behavior
- The desired chart shows positive values above zero and negative values below zero on the vertical axis.
Arrange the categories and their corresponding numeric values in adjacent columns, with a header for each column. Check that negative values are stored as numbers rather than text.
Insert a Line Chart and Set the Zero Crossing in Excel
Use a standard line chart to plot values on both sides of zero, then adjust the axis if needed.
In the worksheet, select both the category column and the value column, including their headers.
Go to Insert > Insert Line or Area Chart and choose a 2-D Line chart. Excel plots the values against the categories.
Right-click the vertical axis and select Format Axis. Under Axis Options, leave the bounds on Auto or set a negative minimum and a positive maximum.
In the vertical axis Format Axis pane, find Horizontal axis crosses and select Axis value, then enter 0 if the horizontal axis does not already cross at zero.
In the Format Axis pane, open Number to choose a number format, decimal places, or a format for negative values.

Plot Positive and Negative Values in WPS Spreadsheets
Use WPS Spreadsheets to create a line chart from your categories and values, then format the vertical axis to show the range around zero.
- 1. Open your data: Open WPS Spreadsheets and use Open to select your workbook, or enter categories and values in adjacent columns.
- 2. Select the range: Select the category and value columns, including their headers.
- 3. Insert a line chart: Go to Insert > Chart, choose Line, and insert the chart.
- 4. Adjust the axis: Right-click the vertical axis and open Format Axis. If needed, set bounds that include both negative and positive values and choose the number format.

Frequently Asked Questions
Why are my negative values not appearing below zero?
Check that the cells contain numeric values, then right-click the vertical axis and choose Format Axis. Under Axis Options, make sure the minimum bound is below zero.
How do I make the horizontal axis cross at zero?
Right-click the vertical axis, select Format Axis, and under Axis Options set Horizontal axis crosses to Axis value 0.
Can I change how negative numbers appear on the axis?
Yes. Right-click the vertical axis, select Format Axis, and open the Number section to choose a format and decimal places.
Can WPS Spreadsheets create the same kind of chart?
Yes. Open your data in WPS Spreadsheets, select the categories and values, and choose Insert > Chart > Line. You can then format the vertical axis to include both negative and positive values.




