Formula Errors

How to Fix Excel SUM Ignoring Decimal Numbers Stored as Text

John WilsonJohn Wilson Oct 29, 2026 872 views

Question details

The user needs to calculate a total using the SUM function, but the formula is ignoring decimal numbers because they are stored as text.

Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculating accurate numerical totals after importing data, or following an operating system or Microsoft 365 upgrade.
Observed behavior
The SUM function returns an incorrect total because it completely ignores any cells containing decimal values that are stored as text strings.
Before you start

Before proceeding, check if the affected cells have a small green triangle in the upper-left corner, which is Excel's default indicator that a number is stored as text.

Solution 1Recommended

Convert Text to Numbers Using Paste Special

Use the Paste Special Multiply feature to mathematically force text strings to convert into actual numeric values.

Simply changing the cell format from 'Text' to 'Number' does not automatically convert the underlying data. Multiplying the cells by 1 forces the application to evaluate the text strings as numeric values, allowing the SUM function to read them properly.

1
Enter the number 1

Select any blank cell that is formatted as General, type the number 1, and press Enter.

2
Copy the cell

Select the cell containing the 1 and press Ctrl+C (or right-click and select Copy).

3
Select the target range

Highlight the entire range of cells containing the decimal numbers that your SUM formula is currently ignoring.

4
Use Paste Special Multiply

Right-click the highlighted range, choose 'Paste Special' from the context menu. In the dialog box that appears, select 'Multiply' under the Operation section, and click OK.

Convert Text to Numbers Using Paste Special
Verification: Once converted, the numbers should shift from left-aligned (text default) to right-aligned (number default), and your SUM formula will automatically update to include the decimal values.
Solve Formula Errors Easily

Fix SUM Errors and Calculate Data Accurately in WPS Office

WPS Spreadsheet provides a robust and highly compatible environment for data analysis. If you're struggling with text-to-number conversions in other software, WPS Office offers an intuitive interface to easily format your data, convert text strings, and calculate totals accurately.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your spreadsheet document.
  2. 2. Highlight the text numbers: Select the range of cells containing the decimal numbers stored as text.
  3. 3. Convert via the warning icon: Click the exclamation mark icon next to the selected cells and choose 'Convert to Number'.
  4. 4. Recalculate your SUM: Your SUM formula will instantly update to include the newly converted decimal values.
Seamlessly handles complex formulas and text-to-number data conversions.Fully compatible with Microsoft Excel (.xlsx, .xls, .csv) file formats.Features identical Error Checking and Paste Special tools for a zero-learning-curve transition.Free, lightweight, and fast to launch on Windows, Mac, and mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

Why does changing the cell format to 'Number' not fix the SUM issue?

Reformatting a cell from 'Text' to 'Number' only changes how the data is intended to be displayed, not how it is actively stored in the software's memory. If a number was initially entered or imported as text, it remains text until a mathematical operation (like multiplying by 1) or a data conversion tool forces it to update.

Can I use a formula to convert text to numbers?

Yes, you can use the VALUE function. For example, typing =VALUE(A1) in an adjacent cell will convert a text string in cell A1 into a true numeric value. You can then use the SUM function on the new column of converted values.

How do I know if my decimals are stored as text?

Numbers stored as text are typically aligned to the left side of the cell by default, whereas true numbers align to the right. Additionally, spreadsheet programs often flag numbers stored as text with a small green triangle in the upper-left corner of the cell.