How to Convert Currency Text to Accounting Format in Excel
Question details
The user needs to convert imported currency values that are stored as text into numeric values, and then apply the Excel Accounting format to ensure formulas can calculate them correctly.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Importing financial or currency data from external sources where values appear as text instead of calculable numbers.
- Observed behavior
- Imported currency figures are treated as text by Excel, preventing mathematical operations and resulting in errors or zero values when calculating totals.
Before proceeding, ensure there are no hidden spaces or non-breaking spaces in your imported text, as these can also prevent Excel from recognizing the values correctly even after symbols are removed.
Use Find and Replace to Remove Text Symbols
The quickest way to convert currency text is to strip out the text symbols using the Find and Replace feature, then apply the correct numeric format.
This method directly targets the currency symbols or commas that cause Excel to treat the imported data as a text string.
Highlight the cells containing the imported currency values that are currently formatted as text.
Press the keyboard shortcut Ctrl+H to open the Find and Replace dialog box.
Type the currency symbol (e.g., $) into the 'Find what' field, leave the 'Replace with' field completely blank, and click 'Replace All'.
Keep the cells selected, navigate to the Home tab, click the Number Format dropdown menu, and select 'Accounting'.

Use the Text to Columns Feature
If removing symbols leaves the numbers stored as text, the Text to Columns tool forces Excel to re-evaluate the column as numeric values.
Use the VALUE and SUBSTITUTE Functions
For a formula-based approach that leaves your original data intact, you can combine the VALUE and SUBSTITUTE functions to extract usable numbers.
Easily Convert Text to Accounting Numbers with WPS Office
WPS Spreadsheet provides powerful and intuitive data formatting tools, including robust Find and Replace and Text to Columns features, allowing you to quickly clean up imported text and convert it into accurate accounting numbers for effortless calculation.
- 1. Open Your File: Launch WPS Spreadsheet and open the file containing your imported text-based currency data.
- 2. Select the Target Data: Highlight the cells or the entire column that you need to convert.
- 3. Remove Symbols: Press Ctrl+H to open Find and Replace, enter the currency symbol in the Find box, leave Replace empty, and click Replace All.
- 4. Apply Accounting Format: Navigate to the Home tab, click the Number format dropdown, and select the Accounting format to finalize the conversion.

Frequently Asked Questions
Why does Excel import my currency data as text in the first place?
When importing data from external sources like CSV files, PDFs, or web pages, Excel may fail to recognize embedded currency symbols or hidden spaces. As a result, it defaults to a text format to preserve the exact characters being imported without altering them.
What is the difference between Currency and Accounting formats?
While both formats display currency symbols and two decimal places by default, the Accounting format perfectly aligns the currency symbols and decimal points in a column for better readability. It also displays zero values as dashes.
How do I remove hidden spaces that prevent text-to-number conversion?
If removing the currency symbol isn't enough, hidden spaces may be the culprit. You can use the TRIM function in an adjacent column to remove extra spaces, or use the Find and Replace tool to find a blank space and replace it with nothing.
Can I use Paste Special to convert text to numbers?
Yes. Type the number 1 in a blank cell and copy it. Then, select all your text-formatted currency cells, right-click, choose Paste Special, select the 'Multiply' operation, and click OK. This multiplies the text by 1, forcing Excel to convert it into a number.




