Chart & Visualization Issues

Create an Excel Line Chart with Positive and Negative Values

John WilsonJohn Wilson Dec 2, 2026 868 views

Question details

Create a line chart that displays both positive and negative values.

Create an Excel Line Chart with 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.
Before you start

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.

Solution 1Recommended

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.

1
Select the data

In the worksheet, select both the category column and the value column, including their headers.

2
Insert the chart

Go to Insert > Insert Line or Area Chart and choose a 2-D Line chart. Excel plots the values against the categories.

3
Check the vertical axis

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.

4
Set the zero crossing

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.

5
Format the values

In the Format Axis pane, open Number to choose a number format, decimal places, or a format for negative values.

Insert a Line Chart and Set the Zero Crossing in Excel
How the line behaves: The chart connects adjacent data points, so the line crosses zero between points when their values have opposite signs.
Create charts in WPS Spreadsheets

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. 1. Open your data: Open WPS Spreadsheets and use Open to select your workbook, or enter categories and values in adjacent columns.
  2. 2. Select the range: Select the category and value columns, including their headers.
  3. 3. Insert a line chart: Go to Insert > Chart, choose Line, and insert the chart.
  4. 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.
Plot positive and negative values in a line chartOpen and edit Microsoft Excel XLSX and XLS filesAdjust axis bounds and number formattingUse a familiar spreadsheet interface
microsoft office alternative - wps office

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.