How to Sum Dollar Amounts Stored as Text in Excel
Question details
The user needs to sum dollar amounts that are 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.
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.
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.
Select the cells containing the dollar amounts, such as A2:A20.
Open Find and Replace with Ctrl+H. Enter $ in Find what, leave Replace with blank, and select Replace All.
With the amount cells still selected, choose Data > Text to Columns. Select Delimited, then choose Finish with the column format set to General.
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.

Use a Microsoft 365 formula without changing the source cells
Use this method when every cell in the selected range contains a dollar sign followed by a valid amount and you want to keep the source text unchanged.
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. Open the workbook: Open your Excel file in WPS Spreadsheets and select the cells containing the dollar amounts.
- 2. Remove the dollar signs: Press Ctrl+H, enter $ in the find field, leave the replacement field blank, and choose Replace All.
- 3. Convert the text: With the cells selected, choose Data > Text to Columns and finish the conversion using the General format.
- 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.

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.




