Chart & Visualization Issues

How Excel Charts Handle Blank Cells, Empty Strings, and #N/A Values

Jason MillerJason Miller Nov 12, 2026 868 views

Question details

Understand how Excel formulas and charts treat genuinely empty cells, formula-generated empty strings, and #N/A error values.

How Excel Charts Handle Blank Cells, Empty Strings, and #N/A Values
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user is preparing worksheet data for a chart and needs missing or unavailable values to display predictably.
Observed behavior
A truly empty cell, a cell containing a formula such as ="", and a cell containing #N/A are different value types that can produce different formula and chart results.
Before you start

Check whether the affected cells are truly empty or contain formulas. Click a cell and review the formula bar before changing chart settings or replacing values.

Solution 1Recommended

Use the correct value type for missing Excel chart data

Use this method when you need formulas and charts to distinguish between blank input, a displayed empty result, and unavailable data.

A truly blank cell contains no value and no formula. A formula that returns an empty string, such as ="", is not blank: ISBLANK returns FALSE and COUNTA counts the cell. The #N/A value is an error and can propagate through dependent formulas unless it is handled explicitly.

1
Identify truly blank cells

Select a cell and look at the formula bar. If the cell has no formula and no entered value, it is genuinely empty; test it with =ISBLANK(A1) if needed.

2
Check formula-generated empty strings

If the formula bar contains a formula such as =IF(A1="","",A1), the cell contains a formula even when it displays nothing. Use =COUNTA(A1) or =ISBLANK(A1) to confirm how Excel evaluates it.

3
Return #N/A when a point should be unavailable

In the source-data formula, use =NA() or a condition such as =IF(A1="",NA(),A1) when the value should be treated as unavailable rather than as a zero or a normal blank.

4
Handle errors in dependent formulas

Where a downstream formula should replace an unavailable value, use a targeted function such as =IFNA(A1,"") or test the value with =ISNA(A1) before calculating.

Use the correct value type for missing Excel chart data
Empty strings are not blank cells: A formula returning "" can look empty on the worksheet, but Excel still recognizes that the cell contains a formula.
Work with missing chart data in WPS Spreadsheets

Control Blank and #N/A Values in WPS Spreadsheet Charts

WPS Spreadsheets lets you build compatible Excel-style formulas and charts while controlling whether missing source values appear as blank results, errors, gaps, or zero values. Use formula checks and chart data settings to make chart behavior consistent before sharing an XLSX file.

  1. 1. Open the worksheet in WPS Spreadsheets: Open the XLSX or XLS file in WPS Office, then select the worksheet that contains the chart source data.
  2. 2. Classify the source cells: Click an affected cell and inspect the formula bar to determine whether it is empty, contains a formula returning "", or returns #N/A.
  3. 3. Apply a formula for unavailable values: Enter a formula such as =IF(A1="",NA(),A1) when an unavailable value should not be treated as ordinary numeric data.
  4. 4. Adjust the chart data behavior: Select the chart, open the chart data or Select Data options, and review the available settings for hidden and empty cells.
Use ISBLANK, ISNA, IF, IFNA, and NA() to manage missing source values.Set chart behavior for empty data points when editing a chart series.Open, edit, and save Microsoft Excel XLSX and XLS chart files.Work in a lightweight spreadsheet interface with familiar formulas and chart tools.
microsoft office alternative - wps office

Frequently Asked Questions

Is a cell containing ="" blank in Excel?

No. The cell displays nothing, but it still contains a formula. For a cell A1 containing ="", ISBLANK(A1) returns FALSE and COUNTA(A1) returns 1.

How can I make an Excel chart skip an unavailable data point?

Return #N/A from the source formula with =NA() or =IF(condition,NA(),value). Then select the chart and use Chart Design > Select Data > Hidden and Empty Cells to review chart display settings.

Why does my Excel chart show a zero when the source cell looks empty?

The source cell may contain a formula returning an empty string or the chart may be configured to show empty cells as zero. Inspect the formula bar, then open Chart Design > Select Data > Hidden and Empty Cells and change the empty-cell option.

When should I use ISBLANK instead of ISNA in Excel?

Use ISBLANK to test for a genuinely empty cell with no formula or value. Use ISNA to test whether a formula result is the #N/A error value.

Can WPS Spreadsheets preserve Excel formulas and charts with #N/A values?

Yes. WPS Spreadsheets supports common Excel-compatible formulas, including IF, ISBLANK, ISNA, IFNA, and NA(), and can open and save XLSX and XLS workbooks with charts.