Formatting Issues

Fix Excel Decimal Formatting Not Changing Cell Values

Algirdas JasaitisAlgirdas Jasaitis Oct 29, 2026 869 views

Question details

Users are unable to modify the decimal places of their data because the values are stored as text rather than numbers.

How to Fix Excel Decimal Formatting Not Changing Cell Values
Product
Excel
Device & OS
not provided
Scenario
Formatting numerical data (such as reducing decimal places) that was imported or extracted from an external database.
Observed behavior
Excel continues displaying the original number of decimal places even after the Number format is applied, because formatting alone does not convert text strings into numerical values.
Before you start

Check your data source; numerical data exported from databases or external software is often stored as text by default, which prevents standard number formatting from working.

Solution 1Recommended

Convert Text to Number via the Warning Menu

The quickest way to resolve this issue is by using Excel's built-in error checking tool to instantly convert text-formatted cells into actual numbers.

When Excel detects numbers stored as text, it flags the cells with a green triangle. Using the associated warning menu ensures the data type is correctly converted so that formatting can be applied.

1
Locate flagged cells

Look for a green triangle in the upper-left corner of the cells where the decimal formatting is failing.

2
Select the data

Highlight all the problematic cells containing the green error indicator.

3
Open the warning menu

Click on the yellow warning icon that appears next to your selection.

4
Convert the values

Choose 'Convert to Number' from the drop-down menu. The green triangles will disappear.

5
Apply decimal formatting

Right-click the cells, select 'Format Cells', navigate to the 'Number' tab, and specify your desired decimal places.

Convert Text to Number via the Warning Menu
Conversion Successful: Once converted to true numbers, all standard mathematical operations and number formats will function properly.
Seamless Spreadsheet Editing

Easily Manage Number Formatting with WPS Spreadsheet

WPS Spreadsheet provides intuitive error-checking tools to instantly detect numbers stored as text and seamlessly convert them, ensuring your decimal formatting applies flawlessly.

  1. 1. Open your file: Launch WPS Spreadsheet and open the document containing your unformatted data.
  2. 2. Select flagged data: Highlight the cells displaying the green warning triangles in the top-left corner.
  3. 3. Convert to number: Click the floating exclamation mark icon and select 'Convert to Number'.
  4. 4. Format decimals: Right-click the selection, click 'Format Cells', and easily adjust your decimal places under the 'Number' category.
One-click error checking to effortlessly convert text to numbers.Fully compatible with Microsoft Excel (.xlsx, .xls) files and formatting.Lightweight software with a familiar, easy-to-use interface.Free built-in functions for advanced data formatting and calculation.
microsoft office alternative - wps office

Frequently Asked Questions

Why do numbers get stored as text in Excel?

Numbers are often stored as text when they are imported, extracted, or copied from an external database, website, or CSV file. This prevents leading zeros from disappearing but disables standard mathematical formatting.

Why isn't the green triangle appearing on my text-stored numbers?

The background error checking feature might be turned off. You can enable it by going to File > Options > Formulas, and ensuring 'Enable background error checking' is checked, along with the specific rule for 'Numbers formatted as text or preceded by an apostrophe'.

Does changing the cell format to 'Number' fix the issue?

No. Changing the cell format only dictates how a true number is displayed. If the underlying data is stored as text, simply changing the format will not convert the text string into a mathematical number.