Excel tip: Working with missing data for a line chart

Source: Internet
Author: User
Tags polyline

When you create a polyline chart in Excel, if some cell data in the data region is missing, that is, the cell is blank, a notch appears in the line chart, which results in a line chart that is not attractive, or it is less intuitive to reflect the changing trend of the data.

As Figure 1 shows a line chart with missing data, you can see the gap on the polyline.

Figure 1

Excel provides two ways to work with missing data in a line chart:

is represented by a value of 0: The blank cell is treated as 0, and the row falls to 0 for 0-valued data points.

Interpolation replacement: Use the interpolation number of positions instead of blank cells, fill the space to connect the row.

Let's take a look at the effects of the two methods. As shown in Figure 2, the line chart is represented by a value of 0. As shown in Figure 3, the line chart is replaced with an interpolation value.

Figure 2

Figure 3

How did it happen? Follow these steps.

1. In Excel, select the polyline chart to process the missing data.

2. Select menu command Tools > Options to open the Options dialog box.

3. Click the Charts tab.

4. Select "Represent in 0" or "Replace with interpolation" in "empty cells are plotted as", as shown in Figure 4.

Figure 4

5. Click on the OK button to see the chart change. The above selection will affect all data series for the selected chart.

Another option is to enter the formula =na () in a blank cell. The chart then uses interpolation for the cell that contains the formula, regardless of what is selected in the Options dialog box

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.