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

Using Less Paper on Printouts

If a worksheet contains nothing but a bunch of values in column A, you may be loathe to print the worksheet and "waste" a ...

Discover More

Deleting Unwanted Styles

Custom styles can be a great help in formatting a worksheet. You may, at some point, want to get rid of all the custom styles ...

Discover More

Printing the Active Document from a Macro

When you process a document in a macro, you may also want to print that document from within the same macro. Here's how to do ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA 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

Moving Groups of Data Labels at One Time

Having problems working with data labels in your charts? That's not unusual; here's an idea of an add-in that could help you ...

Discover More

Specifying the Size of Chart Objects

Unhappy with the default size that Excel uses for embedded chart objects? You can't change the size at which they are ...

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 8Mpixels. 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 three more than 5?

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.