Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Controlling the Plotting of Empty Cells.

Controlling the Plotting of Empty Cells

by Allen Wyatt
(last updated April 6, 2017)

1

When you create a chart from a data table, Excel does its best to translate the numeric values into data points on a chart, according to the specifications you provide. One area where Excel doesn't quite know what to do, however, is empty cells. If a cell is empty, it could be for any number of reasons—the value isn't available, the value isn't important, or the value is really zero.

You can instruct the program how you want it to treat empty cells by following these steps:

  1. Select the chart you want to affect.
  2. Choose Options from the Tools menu. Excel displays the Options dialog box.
  3. Make sure the Chart tab is displayed. (See Figure 1.)
  4. Figure 1. The Chart tab of the Options dialog box.

  5. Using the option buttons at the top of the dialog box, specify how you want Excel to chart empty cells.
  6. Click OK.

If the option buttons are not available at the top of the screen, it means that you don't have a chart visible on the screen. The option buttons provide three different settings:

  • Not Plotted. Excel leaves gaps in the chart where the empty cells appear.
  • Zero. Excel treats the empty cells as if they contained zero values, and plots accordingly.
  • Interpolated. Excel examines the values surrounding the empty cell and guesses what value the cell should contain based on those values.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3054) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Controlling the Plotting of Empty Cells.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Choosing What You See in the Equation Editor

Sometimes it can be helpful to see where non-printing characters are located. Here's how to view non-printing characters in ...

Discover More

Formatting Footnote and Endnote References

Depending on whom you are writing for, you may want your footnote and endnote references to appear a specific way. Word ...

Discover More

Printing Hidden Text

One of the formatting attributes you can add to text is to make it "hidden," which means you can control whether it is ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

MORE EXCELTIPS (MENU)

Automatically Creating Charts for Individual Rows in a Data Table

If you have a lot of records in a data table, you may want to create individual charts based on the information in those ...

Discover More

Make that Chart Quickly!

Need to generate a chart in the fastest possible way? Just use this shortcut key and you'll have one faster than you can yell ...

Discover More

Multiple Data Points in a Chart Column

Excel provides lots of ways you can create charts. This tip provides some pointers on how you can combine stacked column ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments for this tip:

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 3 - 0?

2013-10-02 18:03:53

Andrew

I have a simple Excel 2003 chart that is plotting data values over a year. The data values are entered into the cells at the start of each day - the cells are empty until the data value is entered, i.e. they do not start with a value of 0 and there is no formula setting a value of "", etc.

I have selected the chart and then selected Tools > Options > Chart > Plot empty cells as: Not plotted (leave gaps), however the line on the graph drops to zero for empty cells and runs along the X axis for the remainder of the year.

Any ideas why this might not be working, and how I can get the line to "not display" for blank cells?

Thanks.


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.

Links and Sharing