New Tool Radar

AI for Data & Spreadsheets

How to Clean Currency Symbols from Numbers in a CSV

Turn currency text in a CSV into real numbers in Excel so the column adds up instead of sitting as text.

Schematic illustration for How to Clean Currency Symbols from Numbers in a CSV: three numbered steps - Find and Replace the symbol; Convert text to numbers; Check the SUM.

A CSV that stores prices as $12.50 is storing text, not numbers, and a SUM over the column will silently ignore every value. Removing the symbol and converting the column to numbers makes the values add up, and the check proves it by comparing the total before and after.

Prerequisites

  • Excel
  • The CSV opened in Excel
  • A copy of the source file, so the original stays untouched.

Steps

  1. Select the amount column and use Find and Replace to remove the currency symbol, replacing it with nothing.
  2. Select the column again and use Data, Text to Columns, Finish, to convert the text to numbers.
  3. Check that the values right-align, which shows they are numbers now, and add a SUM below the column.
  4. Compare the SUM with a hand total from the source, and investigate any row that did not convert.
  5. Format the column as Currency with two decimal places for display.

Worked example: Fictional shop prices cleaned to numbers

The practice table below is a fictional five-item price list after cleaning. Each amount is a price, and the total is their sum. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Item Amount
Notebook 4.50
Pen 1.20
Folder 2.75
Ruler 1.85
Eraser 0.65
Total 10.95

Expected result. Five prices converted to numbers, and the amounts add to 10.95.

Limits

  • Removing a symbol does not fix a value that uses a comma as the decimal separator; that needs a locale-aware conversion.
  • A column that mixes two currencies must be split first, or the total will mix them.

Sources

See all