Fix Excel Decimal Formatting Not Changing Cell Values
Question details
Users are unable to modify the decimal places of their data because the values are stored as text rather than numbers.

- 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.
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.
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.
Look for a green triangle in the upper-left corner of the cells where the decimal formatting is failing.
Highlight all the problematic cells containing the green error indicator.
Click on the yellow warning icon that appears next to your selection.
Choose 'Convert to Number' from the drop-down menu. The green triangles will disappear.
Right-click the cells, select 'Format Cells', navigate to the 'Number' tab, and specify your desired decimal places.

Use Text to Columns for Bulk Conversion
If you are working with an entire column of data and the warning menu is not visible, the Text to Columns feature is highly effective for mass conversion.
Use Functions to Convert and Format
You can use Excel functions like VALUE or ROUND to force the text into numeric values in a new column.
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. Open your file: Launch WPS Spreadsheet and open the document containing your unformatted data.
- 2. Select flagged data: Highlight the cells displaying the green warning triangles in the top-left corner.
- 3. Convert to number: Click the floating exclamation mark icon and select 'Convert to Number'.
- 4. Format decimals: Right-click the selection, click 'Format Cells', and easily adjust your decimal places under the 'Number' category.

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.




