Documents and data

Blank Data in Excel Charts: How to Avoid Zeros and Misleading Trends

A cell with no data can mean different things. Learn to check its source, choose how to display it, and make sure the chart does not suggest a false conclusion.

Apification
Line chart with a gap between two points to represent missing data

First, decide what the blank cell means

A blank cell does not automatically mean zero. Zero is a valid observation—for example, no units sold during a measured period. A blank cell, by contrast, could mean that the data is unknown, has not yet been collected, or does not apply to that case. If every missing value is turned into zero, the chart may create a drop that was never observed; if all points are connected, it may suggest continuous change during a period with no measurements.

Before changing the chart, define how to interpret each missing value based on the process that produced the spreadsheet. In a time series, ask whether an observation was expected for that date and whether the team confirmed that the value was actually zero. In a category table, check whether the variable applies to every row. If the answer is unclear, keep the value unknown until you can verify it rather than choosing an option just because it produces a cleaner line.

  • Zero: The phenomenon was measured and the result was zero.
  • Unknown or pending: A measurement is expected, but the value is missing.
  • Not applicable: An observation is not expected for that row or period.
First, decide what the blank cell means

Investigate the source of the gap before changing the series

Inspect the range that feeds the chart, not just how the cell looks on screen. It may be truly empty, contain a formula whose result is displayed as blank, or contain an error such as #N/A. Data may also be in hidden rows or columns. These situations are not necessarily represented in the same way, and a formula that appears to leave a gap may still be part of the source range. Check the formula, the underlying value, and the date or category headings around the data point.

Compare the gaps with the report's source: input records, the collection calendar, or the person responsible for the data. Note which periods are still pending and which do not apply. If the spreadsheet combines several reasons for leaving a cell blank, add a status column or document the rule in the report itself; that way, you will not have to infer the meaning from the chart's appearance. Do not fill in missing values by interpolation or copy values from neighboring periods without a validated rule.

  • Check the data range, formulas, and errors.
  • Verify dates and categories to find omitted periods.
  • Record the reason for the gap before deciding how to display it.
Investigate the source of the gap before changing the series

Choose a gap, a connecting line, or zero based on what the data means

Leaving a visible gap is often a prudent choice when an observation is missing and you do not want to claim what happened during that interval. The discontinuity reminds readers that information is missing. Connecting points may be reasonable when the missing value does not invalidate an interpretation of continuity and the analysis method allows that interpretation; even then, the line between measurements is not a real observation. If the distinction matters to a decision, clarify in the title, legend, or a note that there is an interval with no data.

Showing zero is appropriate only if the missing value really represents a measured value of zero. In a sales series, for example, a confirmed zero may be useful; a month whose report has not yet arrived should not be turned into zero just to complete the chart. The choice also depends on the type of visualization: in Excel, the options for gaps, zeros, or connecting points are available for line, scatter, and radar charts. In a scatter chart that displays markers only, with no lines, the option to connect points with a line is not available.

  • Choose gaps to make a missing measurement visible.
  • Connect points only if continuity is a defensible choice, not an aesthetic fix.
  • Use zero only when the data confirms a result of zero.

Test the setting in a copy and verify how it applies

Start with a copy of the file or chart. In Excel, the documented route for changing how gaps are handled is to select the chart and open Select Data, then Hidden and Empty Cells. There, you can choose Gaps, Zero, or Connect data points with line, when the chart type supports that option. The location and names may vary by version and program, so consult the help for the application you are using rather than assuming the same steps work everywhere.

Change one option at a time and observe the effect on every gap, not just the first one. Also check whether the dialog lets you treat #N/A values as empty cells and whether it includes data in hidden rows or columns. In Excel, blank cells or null values appear as gaps by default, and data in hidden rows or columns is not displayed. Check each setting against the actual case: the fact that an option exists does not mean it is appropriate for your series.

  • Duplicate the file and leave the original unchanged.
  • Record the initial setting and test one alternative at a time.
  • Confirm the behavior with the version and chart type you are using.

Look for signs of a misleading visual interpretation

A chart can look correct and still mislead. Check whether a line connects periods separated by a long gap, whether a series drops to zero without an actual measurement, or whether markers hide the fact that observations are missing. Examine the time axis: if categories have been omitted, the space between points may not reflect the actual duration of the interval. Also check that all series share the same scale and that the axis does not magnify a minor variation until it looks dramatic.

Review the legend, titles, and notes with someone who did not prepare the data. Ask what they think happened during each gap. If they interpret a connected line as continuous measurement, add a note or show the gap. If they read a missing value as zero, explain the missing-data rule. The visual form should support the documented definition, not replace it. Avoid hiding incomplete periods simply because they make the dashboard look less uniform.

  • Does the line imply continuity that was not measured?
  • Does the time axis preserve the spacing between periods?
  • Does the legend or a note explain the missing data?

Validate the final version and preserve the source spreadsheet

Before sharing, review the chart in the format your audience will see: a presentation, document, or export. Verify that gaps, markers, labels, and notes remain readable and that the chart has not changed when copied or exported. If the report is updated periodically, repeat the review when the data range changes: new records may fill a gap, shift categories, or introduce another pending period.

Keep the source spreadsheet intact and, if necessary, separate the presentation table that feeds the chart. Record what each missing-data status means and who needs to confirm it. Apification lets you create and edit Office files with ONLYOFFICE while keeping them in Cloud, and view item history or restore earlier versions. This helps organize reviews, but it does not replace checking the chart settings in the application being used: verify the result there and save a validated version to share.

  • Check the chart in the final export or presentation.
  • Keep a copy of the source spreadsheet and document the rule applied.
  • Review again when the data or chart range is updated.

Frequently asked questions

Why does Excel show a gap in a line when there is a blank cell?

In Excel, blank cells or null values are shown as gaps by default. For line charts, the documentation also describes connecting the points as an alternative. Confirm the setting and chart type in your version.

Should I always connect the points on either side of a missing value?

No. Connecting them makes the series look continuous and can suggest change that was not measured. Do so only if that interpretation is appropriate, and make it clear that an observation is missing.

Are a blank cell and #N/A represented in the same way?

Not necessarily. Excel includes an option to treat #N/A values as empty cells, but you should check how it is configured and test the result with the specific chart.

Are the same options available in every spreadsheet application?

Do not assume so. The options and their locations may vary by application, version, and chart type. Consult the documentation for the tool you use and test in a copy.

Sources and further reading

Documentation consulted while preparing this article.

Explore Apification

Related articles

Back to the blog