Calculation Issues

How to Sum Dollar Amounts Stored as Text in Excel

Maira MehtabMaira Mehtab Nov 18, 2026 869 views

Question details

The user needs to sum dollar amounts that are stored as text in Excel.

How to Sum Dollar Amounts Stored as Text in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains amounts such as $25.50 that need to be included in a total.
Observed behavior
SUM does not normally add amounts stored as text.
Before you start

Identify the cells containing text amounts and check that their decimal and thousands separators match your spreadsheet's regional settings. Select only the amount cells when replacing the dollar sign, especially if the worksheet also contains formulas.

Solution 1Recommended

Convert the text amounts to numbers before using SUM

Use this method when you want to change the original cells into numeric amounts that Excel can calculate.

1
Select the amounts

Select the cells containing the dollar amounts, such as A2:A20.

2
Remove the dollar signs

Open Find and Replace with Ctrl+H. Enter $ in Find what, leave Replace with blank, and select Replace All.

3
Convert any remaining text

With the amount cells still selected, choose Data > Text to Columns. Select Delimited, then choose Finish with the column format set to General.

4
Format and sum the values

On the Home tab, choose Currency from the number format menu. In an empty cell, enter =SUM(A2:A20), adjusting the range to match your data.

Convert the text amounts to numbers before using SUM
Check the converted values: Currency formatting changes how a number looks; it does not convert text by itself. Check that the converted cells contain numbers and that the total is correct.
Work with currency values in WPS

Sum text-based dollar amounts in WPS Spreadsheets

Use Find and Replace and Text to Columns in WPS Spreadsheets to convert text amounts to numbers, then calculate and format the total.

  1. 1. Open the workbook: Open your Excel file in WPS Spreadsheets and select the cells containing the dollar amounts.
  2. 2. Remove the dollar signs: Press Ctrl+H, enter $ in the find field, leave the replacement field blank, and choose Replace All.
  3. 3. Convert the text: With the cells selected, choose Data > Text to Columns and finish the conversion using the General format.
  4. 4. Calculate and format the total: In an empty cell, enter =SUM(A2:A20), adjusting the range as needed. Select the result and choose Currency from the Home tab's number format options.
Convert text-based dollar amounts for use in SUM calculationsOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet menus and number formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why does SUM ignore my dollar amounts in Excel?

SUM ignores values stored as text in a referenced range. Remove the dollar signs and use Data > Text to Columns to convert the entries to numbers before summing them.

Can I calculate the total without changing the original cells?

Yes. In Excel for Microsoft 365, use =SUM(VALUE(TEXTAFTER(A2:A20,"$"))) when each cell in the range contains a dollar sign followed by a valid amount.

Why does the TEXTAFTER formula return an error?

TEXTAFTER returns an error if a referenced cell is blank or has no dollar sign. Check the cells in the formula's range and include only entries that match the expected pattern.

Does applying Currency format convert text to numbers?

No. Currency format controls the display of numeric values but does not convert text. Use Data > Text to Columns or a conversion formula first.