Formula Errors

Fix Excel Formulas Returning Zero When Numbers Are Stored as Text

Steven ParkerSteven Parker Nov 25, 2026 870 views

Question details

The user needs Excel formulas to return the expected results instead of zero.

Fix Excel Formulas Returning Zero When Numbers Are Stored as Text
Product
Microsoft Excel
Device & OS
not provided
Scenario
A formula shows the expected result in the formula dialog, but returns zero after entry. SUM formulas also fail.
Observed behavior
Entered formulas return zero, and worksheet values may be stored as text rather than numbers.
Before you start

Identify the cells used as inputs to the failing formulas and check whether their numbers are stored as text, such as cells showing a green error indicator. Select only input values for conversion, not formula cells or mixed text fields.

Solution 1Recommended

Convert Text-Formatted Numbers with Paste Special

Use this method when numeric inputs are stored as text and SUM or other formulas ignore them.

1
Copy a value of one

Enter 1 in an empty cell, select it, and press Ctrl+C or use Home > Copy.

2
Select the affected inputs

Select the range of text-formatted numeric input cells. Avoid selecting formulas or cells containing nonnumeric text.

3
Multiply with Paste Special

Go to Home > Paste > Paste Special, select Multiply under Operation, and click OK. Multiplying by 1 preserves the numeric values while converting them.

4
Recalculate and check

Press F9 or use Formulas > Calculate Now, then check the affected formula and SUM results.

Convert Text-Formatted Numbers with Paste Special
Formatting alone may not convert values: Changing a cell's format to Number does not necessarily convert an existing text value into a number.
Work with spreadsheet formulas in WPS

Convert Text Numbers and Recalculate Formulas in WPS Spreadsheet

Open the workbook in WPS Spreadsheet, convert affected numeric inputs with Paste Special, and check the formula results.

  1. 1. Open the workbook: In WPS Spreadsheet, choose Open and select the Excel workbook.
  2. 2. Copy the conversion value: Enter 1 in an empty cell, select it, and choose Copy.
  3. 3. Convert the inputs: Select the affected numeric input cells, open Paste Special, choose Multiply, and confirm.
  4. 4. Check the result: Recalculate the workbook if needed and inspect the affected formula and SUM cells.
Convert text-formatted numeric inputs for formulas and SUM calculationsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet menus and formula tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUM return zero when cells appear to contain numbers?

The values may be stored as text, which SUM can ignore when referencing cells. Select the numeric inputs and use Paste Special > Multiply with a copied cell containing 1 to convert them.

Will changing the cell format to Number convert text values?

Not necessarily. Changing the format affects how a value is displayed but does not reliably convert existing text into a number. Use Paste Special > Multiply or an available Convert to Number warning option.

Why does the formula dialog show a result but the worksheet still shows zero?

One possibility is that the workbook has not recalculated. Check Formulas > Calculation Options > Automatic, then choose Calculate Now. Also check whether the formula's source values are stored as text.

Can I use Paste Special to convert cells that contain formulas?

Avoid applying the conversion to formula cells because Paste Special operations can alter them. Select only the affected numeric input cells.