Fix numbers stored as text in a CSV file
Find the values in a number column that are really text, like "$1,200.00", "(45.00)" and "12%", and turn them into numbers a sum can use. The fixed file comes by email.
Drop a CSV or Excel file here
CSV, TSV, XLSX, XLS or ODS, up to 50 MB. Checked in your browser.
- No sign-up
- Checked in your browser
- Clean file emailed to you
Why a CSV's numbers come in as text
A CSV has no types; every value is text until something reads it. Exports often write money with a currency sign and thousands separators, negatives in brackets and rates with a percent sign, because that is how the report showed them.
Excel converts what it recognises and leaves the rest as text, marked with a green triangle. SUM skips text, so a total comes out short without any error.
What becomes a number, and what stays text
Money and separators
"$1,200.00" and "1 050" become 1200 and 1050. Currency signs and thousands separators go.
Brackets and percents
"(45.00)" becomes -45, the accounting way of writing a negative. "12%" becomes 0.12.
Codes stay text
Values with a leading zero, like ZIP codes and account numbers, stay as they are, so 02134 keeps its zero.
How to fix numbers stored as text in a CSV file
- 1Drop a CSV or Excel file on the box, or try the sample.
- 2Check the cells: each shows the text value and the number it becomes.
- 3Pick Excel or CSV and enter your email. The clean file arrives as a download link.
Questions about numbers as text
Which columns does it change?
Will the green triangles in Excel go away?
What files can it open?
Is my file uploaded?
Why does it email the file?
I clean the same export every month.
Clean it once. Let Mammoth do next month.
Turn these fixes into steps that run on every new file, then build the dashboard on top.
- ✓ 14-day Pro trial
- ✓ No credit card
- ✓ Viewers always free