Blank and dash amounts in a bank CSV
Exports mark "no value" in an amount column in several ways: an empty cell, a single hyphen, two hyphens, or a word such as n/a. An import that turns all of them into zero hides rows that need a look. Choose the file below: the page works in your browser, never turns text into zero, shows the first 20 cleaned rows and lists every line it left out, with the reason.
Clean your CSV export
The cleaner detects the delimiter (comma, semicolon or tab), looks for a header row with a date column and an amount column, and writes eight fixed columns, comma-delimited: date, description, amount, currency, fee, net, reference and source. It recognises common header names in English, Spanish, German and French, such as Date, Fecha, Buchungstag, Amount, Importe, Betrag and Montant.
Your file is read in your browser and is never uploaded, stored or logged. It is held in the memory of this tab only, and closing or reloading the page discards it. Operator: Augeo. See the privacy notice.
Exports do not share one layout, and this page makes no promise about yours: the free preview shows what it does to your file.
The cleaning logic is checked by an automated test script that runs the engine file of this site over six synthetic sample files and a set of checks of the parsing rules; it ran in a sandbox before this site was published and finished with no failed check. The script does not open this page in a browser, does not test the licence key step, and nothing was tested against a real export from any provider. Use the free preview to check your own file.
Report
Warnings
Lines not parsed
Lines dropped
Preview of the cleaned rows
| line | date | description | amount | currency | fee | net | reference | source |
|---|
Download the full cleaned file
- Price: 6 USD, paid once on Gumroad. No subscription. You receive a licence key.
- What the key unlocks: the download of every cleaned row of the file you chose, as one CSV named after your file with -cleaned.csv at the end, instead of the first 20 rows on screen. The report and the way files are read stay the same.
- The key is for one buyer. Runs are not counted and no number of runs is promised. The key is kept in the memory of this page only, so you enter it again after closing or reloading the page.
- Refunds are requested through your Gumroad receipt and follow Gumroad's refund policy.
- Try the free preview first. If the preview cannot read your file, the full download cannot either.
Get a licence key on Gumroad for 6 USD
Prefer a file you keep? Offline CSV cleaner, single HTML file, 6 USD on Gumroad. The offline file was built from an earlier version of the engine, and its build self-check covered the six original sample layouts (PayPal activity, Etsy sold orders, Etsy monthly statement and three bank layouts); it does not include the later Fee/Net column reading used for the Stripe, Shopify, eBay and Square pages.
Lines from the sample files, before and after
The lines below are copied from the synthetic sample files of this site and from the cleaned files the engine wrote for them. The sample files are made up for testing and hold no real person's data.
| What it shows | Line in the sample export | In the cleaned file |
|---|---|---|
| Money In is empty, Money Out holds a figure | 02 Apr 2024,Card,OFFICE SUPPLIES DIRECT,£123.45,,"£4,876.55" | 2024-04-02,OFFICE SUPPLIES DIRECT,-123.45,GBP,,-123.45,,bank |
| Money Out and Money In are both empty | 09 Apr 2024,Interest,Monthly interest,,,"£7,293.50" | no line: the row is left out and listed |
| The amount is text in parentheses | 03/25/2024,HOLD ON DEPOSIT,(n/a),,"5,435.51" | no line: the row is left out and listed |
| The fee cell holds two hyphens | "March 3, 2024",Sale,Payment for Order #3100000004,Order #3100000004,USD,$30.48,--,$30.48 | 2024-03-03,Sale: Payment for Order #3100000004,30.48,USD,0.00,30.48,Order #3100000004,etsy_statement |
| Amount, fee and net all hold two hyphens | "March 11, 2024",Deposit,$23.76 sent to your bank account,,USD,--,--,-- | no line: the row is left out and listed |
How blank, dash and text cells are read
- An empty cell and a cell of hyphens mean "no value". A cell that is empty, or that holds only one or more hyphens, is a blank marker. Typographic dashes are read as hyphens. A blank marker is not a number, and it is not an error either.
- A blank amount leaves the row out. In a file with one amount column, a row whose amount is a blank marker is not written. It is listed under "Lines not parsed" with its line number and the reason "amount is empty".
- With debit and credit columns, one of the two is expected to be blank. The filled one gives the amount, with a debit written as negative. When both are blank the row is left out and listed with the reason "debit and credit are both empty".
- A blank fee is written as 0.00 when the file has a fee column. A blank net is worked out as amount plus fee.
- Text is refused. A cell that holds a word, such as n/a or pending, is not a number and not a blank marker. The row is left out and listed with the reason "amount is not a number" and the text found. The same goes for text in a debit, credit, fee or net cell. Nothing is turned into zero.
- Parentheses around text do not make a negative. Parentheses mark a negative amount only when a number is inside them.
- A written zero is a number. A cell that holds 0.00 gives a row with the amount 0.00.
- Other markers count as text. Words such as null or none, a question mark or a lone dot are not blank markers, so their rows are left out and listed.
- Every row left out is counted. The report ends with a count check for your file: rows in equals rows out plus the rows dropped and the rows not parsed.
One layout is read differently: in an Etsy monthly statement the amount cell is empty on fee and tax rows by design, so there a blank amount is written as 0.00 when the fee or the net holds a figure, and the row is left out only when all three are blank. See the page about the Etsy monthly statement.
A row that was left out because of its amount may still be a real transaction, such as a pending payment. Read the list of lines not parsed and add those rows to the cleaned file by hand once you know the figure.
The output is always the same eight columns (date, description, amount, currency, fee, net, reference and source), comma-delimited. Columns of your file that are not among them are not carried over, so this is a cleaner for files of transactions and not a general CSV editor.
In a spreadsheet instead: filter the amount column for cells that are not numbers, decide row by row whether each one is a zero, a missing figure or a row to delete, and only then save as CSV.
Notices
- Privacy: files are read in your browser and never uploaded, stored or logged. Operator: Augeo.
- Independent tool, not affiliated with or endorsed by Etsy, PayPal, QuickBooks or any bank.
- Check the output before you use it. This is not accounting, tax or financial advice.
- Price of the full download: 6 USD one-time. The key is for one buyer. Refunds are requested through the Gumroad receipt.
- Only upload data you have the right to process. Choosing a file here does not send it anywhere, but you remain responsible for the data in it.
Other pages
- Merge debit and credit columns into one amount
- Negative amounts in parentheses in a CSV
- Trailing minus negative amounts in a CSV
- Remove currency symbols and thousands separators from a CSV
- Clean an Etsy monthly statement CSV
- Rows in versus rows out: the count check
- Any other CSV export of transactions