Chart & Visualization Issues

Fix Excel Recommended Chart Data When Numbers Are Stored as Text

Anum MushtaqAnum Mushtaq Nov 12, 2026 868 views

Question details

The user needs Excel Recommended Charts to recognize all source values and display the intended data correctly.

Fix Excel Recommended Chart Data When Numbers Are Stored as Text
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user is creating a chart from data that includes measurements such as centimeters or hertz.
Observed behavior
Excel may omit values or produce unexpected chart results because numeric-looking cells are stored as text.
Before you start

Check the source range for values that contain unit letters, spaces, or apostrophes. Keep measurement units in the column headers rather than inside the data cells used for charting.

Solution 1Recommended

Remove units from data cells and convert values to numbers

Use this solution when chart source values include units such as cm or Hz and Excel is treating the entries as text.

Charts require numeric data points. A value such as "25 cm" is text in Excel, even though it contains a number.

1
Move units to the column heading

In the worksheet, change headings to labels such as "Length (cm)" or "Frequency (Hz)," then remove cm, Hz, and other unit text from every data cell below the heading.

2
Convert the corrected cells to numbers

Select the affected cells. If a warning icon appears, click it and choose Convert to Number. Alternatively, use Data > Text to Columns > Finish to convert text-formatted numeric values.

3
Confirm the number format

With the cells selected, go to Home > Number and choose Number or General. Numeric values should normally align to the right side of the cells.

Remove units from data cells and convert values to numbers
Chart-ready data: Once the source cells contain numbers only, Excel can use them as chart values and calculate the correct axis scale.
Free Microsoft Office alternative

Create Accurate Charts from Clean Numeric Data in WPS Spreadsheet

If Excel chart recommendations continue to interpret your values incorrectly, WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open your existing workbook, clean text-formatted numbers, and insert charts while keeping your Excel file format for a seamless migration.

  1. 1. Open the workbook in WPS Spreadsheet: Launch WPS Office, choose Open, and select your Excel XLS or XLSX workbook.
  2. 2. Clean the chart source values: Edit the worksheet so data cells contain numbers only, and place units such as cm or Hz in the column headings.
  3. 3. Insert a chart from the corrected range: Select the data range, open the Insert tab, click Chart, and choose a recommended chart or an XY Scatter chart.
Convert text-formatted values to numeric data before creating charts.Create Scatter and other charts from selected worksheet ranges.Compatible with Microsoft Excel XLS and XLSX spreadsheet formats.Familiar ribbon-style interface helps you move from Excel quickly.Free and lightweight for everyday spreadsheet editing and visualization.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel omit some values from a Recommended Chart?

Excel can omit values when they are stored as text instead of numbers. Remove unit text from the data cells and convert the entries through the warning icon's Convert to Number option or Data > Text to Columns > Finish.

Can I keep cm or Hz in my Excel chart data?

Keep cm, Hz, and similar units in the column heading, such as "Distance (cm)." The cells beneath the heading should contain numeric values only for reliable charting.

How can I tell whether an Excel value is text or a number?

Text-formatted numbers often align left by default, may show a green triangle warning, and may not respond to number formats. Select the cell and use Home > Number to check or change its format.

When should I use an XY Scatter chart instead of a recommended chart?

Use Insert > Scatter (X, Y) or Bubble Chart when both columns are numeric measurements and one column should be plotted as X values while the other is plotted as Y values.