How to Fix Excel XY Scatter Plot Showing Zero Y Values
Question details
The user needs to resolve an issue where an Excel XY scatter plot incorrectly displays zero for Y-axis values instead of the actual data.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Creating or modifying an XY scatter chart using a dataset that may contain blanks, text formatting, invalid references, or formula-generated empty strings.
- Observed behavior
- The scatter chart drops the data points to the zero line on the Y-axis rather than plotting their correct numerical value.
Before modifying your chart settings, closely inspect your dataset for hidden spaces or numbers stored as text, as scatter plots strictly require clean numerical values to render correctly.
Convert Y-Axis Source Data to Numeric Format
Scatter plots will interpret any non-numeric data (like text or spaces) as a zero value. Converting text-formatted numbers back into actual numbers is the most common fix.
When data is imported from other software or extracted via certain formulas, numbers may be formatted as text. Since scatter charts cannot plot textual data on a numerical axis, they default to zero.
Highlight all the cells containing the Y-axis data that are currently showing as zero on your scatter plot.
Look for a small warning icon (a yellow diamond with an exclamation mark) next to the selected cells. Click on it and select 'Convert to Number' from the dropdown menu.
Alternatively, right-click the highlighted cells, choose 'Format Cells', navigate to the 'Number' tab, and ensure the category is explicitly set to 'Number'.
Verify and Update 'Select Data' Ranges
The chart series might be pointing to an incorrect column, or picking up a range that includes empty header cells or missing values.
Create and Manage XY Scatter Plots Flawlessly with WPS Spreadsheet
Avoid frustrating charting errors by using WPS Spreadsheet to manage your data and create highly accurate scatter plots. It automatically helps you format data intuitively to prevent zero-value rendering issues.
- 1. Import Your Data: Open your existing Excel file or paste your dataset into a new WPS Spreadsheet.
- 2. Select X and Y Data: Highlight the numeric data columns you want to plot on your X and Y axes.
- 3. Insert the Scatter Chart: Navigate to the 'Insert' tab on the top ribbon, click the 'Chart' icon, and select 'Scatter' from the available chart types.
- 4. Customize and Verify: Right-click the newly created chart, click 'Select Data', and verify that your Y-axis source range contains clean numeric values.

Frequently Asked Questions
Why does my scatter plot ignore blank cells and treat them as zero?
By default, spreadsheet software may treat empty cells as zero in specific chart types. You can change this behavior by right-clicking the chart, going to 'Select Data', clicking 'Hidden and Empty Cells', and choosing to show empty cells as gaps instead of zero.
How do I handle formulas that return empty strings in a scatter plot?
If your formula uses "" (an empty string) for blank results, the chart reads this as text and plots a zero. To fix this, change your formula to return NA() instead. Scatter plots will ignore #N/A errors and simply leave a gap in the chart.
Can I easily find the exact cells causing the zero Y values?
Yes. You can apply a filter to your Y-axis column and look for blanks or non-numeric entries. Alternatively, use the ISTEXT() or ISBLANK() formulas in a helper column to flag cells that are not genuine numbers.
Will a line chart have the same zero-value issue as a scatter plot?
Yes, line charts also struggle with text formatted as numbers or formula-driven empty strings. The troubleshooting steps of converting text to numbers and replacing "" with #N/A apply to both line and scatter charts.




