How to fix the error running to 0 when drawing a line chart in Excel

How to fix the error running to 0 when drawing a line chart in Excel quickly and in detail. Tips for effective office computing applications.

Making charts in Excel is relatively common and easy. During the process of using, especially straight charts, users often encounter the error of running to 0 when drawing. This error often occurs for many reasons and mainly comes from data errors. So is there any way to fix the error running to 0 when drawing a line chart in Excel ? Let's find out the causes and reasons to avoid this error with Tricks ! How to fix the error running to 0 when drawing a line chart in Excel Picture 1How to fix the error running to 0 when drawing a line chart in Excel Picture 1

Why is there an error running to 0 when drawing a line chart in Excel?

How to fix the error running to 0 when drawing a line chart in Excel Picture 3How to fix the error running to 0 when drawing a line chart in Excel Picture 3

The error of a line chart in Excel running to 0 is a common error. They appear for a number of reasons such as:

  1. The data is not organized properly.

For example, if the data on the X axis (or time axis) is not arranged in ascending or variable order, the chart is inaccurate and causes zeroing.

  1. The data is empty or invalid. Excel can completely misunderstand the value and display the chart incorrectly.
  2. The data format is incorrect

For example: Time data on the X axis or Y axis is not formatted as date, month, year. Then the chart format is not correct and causes errors.

  1. Incorrect chart settings:

For example, data setting axis or format setting data being out of sync can cause the chart to run to 0.

Detailed ways to fix the error running to 0 when drawing a line chart in Excel

By checking and correcting the causes, you can cause the graph to appear as a straight line to 0 to correct the error.

 

Method 1: Check data

Make sure that the data you are using to plot the chart is not one of the error causes above. Especially containing empty values ​​or invalid calculated values.

Remember to handle corrupted data before graphing.

For example: Formula error returns '' (empty value) .

A function formula reads as follows: F3=IF(A3<=$G$1,C3,''). 

This is a formula that returns empty when looking at '' .

So to fix this error, you need to let this function return a different result like #N/A error.

How to fix the error running to 0 when drawing a line chart in Excel Picture 5How to fix the error running to 0 when drawing a line chart in Excel Picture 5

Modify the formula as follows: F3=IF(A3<=$G$1,C3,NA()) 

Where NA() is a function that returns the #N/A error. 

You can search for a way to hide the NA error if you don't want to see it appear on the spreadsheet!

Method 2: Determine the data format

To ensure that the data you use on columns that contain data for the axes is formatted properly. Especially with time data, make sure it is formatted according to date, month, year.

You may need to rearrange the data to draw the chart because this error is relatively common. Reordering or using the order function requires careful attention. Because this is the main setting if you get a chart zero error.

For example, time data should always be sorted in ascending order before graphing.

How to fix the error running to 0 when drawing a line chart in Excel Picture 7How to fix the error running to 0 when drawing a line chart in Excel Picture 7

Reformat the time by clicking on any cell and pressing  Ctrl +1 to open the Format Cells panel. 

  1. Time
  2. Custom

This is a way to fix the error of running to 0 when drawing a line chart in Excel, so this method is often used to rearrange data.

Method 3: Check the chart settings again

In the Format Data Series window, check if there are any settings for the chart to run to 0.

Or for example, on the new version you can edit the data on Select data .

How to fix the error running to 0 when drawing a line chart in Excel Picture 9How to fix the error running to 0 when drawing a line chart in Excel Picture 9 When the Select Data Source panel appears, start changing the display of the editing axis:

  1. Horizontal section => Select Edit to edit => Reselect the data area.
  2. Legend Entries (Data area for charting):
    1. Select Edit to edit
    2. Select Add  to add objects: Series name (title name); Series Values ​​(object content) > Click the up arrow to select the object area.

The way to fix the error running to 0 when drawing a line chart in Excel often lies in reviewing the data. Therefore, it is necessary to master functional knowledge and graph drawing knowledge to be able to check errors and then fix them. Tips Boss will immediately post instructions on how to draw a standard chart so you can refer to it further. In addition to the above method, if you have a better way, don't forget to leave a comment to help admin.

  1. Tips to fix errors when multiple Excel files are grouped together in one quick tab
  2. Error left clicking on Properties, why and how to fix it?
4 ★ | 1 Vote