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

Running a Macro in a Number of Workbooks

Got a macro that you need to run on each of a number of workbooks? Excel provides a number of ways to go about this task, as ...

Discover More

Getting Rid of Choppiness in Justified Text

Justified text doesn't always produce the best-looking results. Here's how to avoid some of the choppiness that can occur.

Discover More

Specifying Different Weekends with NETWORKDAYS

The NETWORKDAYS worksheet function can be used to easily determine the number of work days (Monday through Friday) within a ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (menu)

Specifying Chart Sizes

If you need a number of charts in your workbook to all be the same size, it can be a bother to manually change each of them. ...

Discover More

Numeric Value and Percentage Value in a Graph Column

Need more than a single data label on a data series? Here's a relatively easy way to get what you need.

Discover More

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
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

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. Maximum image size is 6Mpixels. 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 2 + 1?

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.