Bank Statement Converter App

How to clean bank statement data in Excel

By the Bank Statement Converter App team · Updated

To clean bank statement data in Excel, work in a fixed order: back up the raw import, delete non-transaction rows, fix dates, fix amounts, tidy the descriptions, then add categories. Doing it in that order means each step builds on data you have already fixed.

Step 1: keep the raw copy

Copy the imported sheet and name the tab Raw. Do your work on a second tab. If you break something, you can compare against the original, and the PDF stays as your proof of what the bank issued.

Step 2: remove rows that are not transactions

Delete headers repeated at each page, opening and closing balance lines, page totals, address blocks and marketing messages. Filter the date column for blanks, since a row with no date is usually either junk or a wrapped description to join to the row above.

Step 3: fix dates

Select the date column and check the alignment. Left-aligned dates are text. Convert them with Data, Text to Columns, choosing the date order that matches the statement. For a column that mixes formats, split it with formulas such as DATE, LEFT, MID and RIGHT, and keep a year-first format at the end.

Step 4: fix amounts

  • Strip currency symbols and thousands separators with Find and Replace.
  • Turn a trailing minus, brackets or DR into a real negative number.
  • If withdrawals and deposits are in two columns, merge them into one signed column with a formula such as deposits minus withdrawals.
  • Make sure the cells are numbers. A green triangle in the corner signals numbers stored as text.

Step 5: tidy descriptions

Bank descriptions are full of noise, such as card numbers, store numbers, location codes and dates. TRIM removes extra spaces, UPPER or PROPER standardizes case, and Find and Replace removes repeated prefixes like "POS PURCHASE". Keep the original text in its own column, because the unique reference in it is what you need if you have to match the transaction later.

Step 6: categorize

Create a small lookup table of keywords and categories, for example "UBER" to Travel, and use XLOOKUP or a nested SEARCH formula to assign them. Sort the uncategorized rows to the top and work through them. After a month or two the lookup table covers most of the recurring payees. Add a column that flags transactions above an amount you choose, so you review the big ones by eye.

Excel formulas that clean bank statement data

These are the formulas used most often in cleanup. Each assumes the messy value is in cell A2, and each goes in a helper column so the raw data stays untouched.

  • Remove a currency symbol and a thousands separator, and convert to a number: =VALUE(SUBSTITUTE(SUBSTITUTE(A2,"$",""),",",""))
  • Turn brackets into a negative number: =IF(LEFT(A2,1)="(",-VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"(",""),")",""),",","")),VALUE(SUBSTITUTE(A2,",","")))
  • Turn a trailing minus into a negative number: =IF(RIGHT(A2,1)="-",-VALUE(LEFT(A2,LEN(A2)-1)),VALUE(A2))
  • Remove extra spaces and non-printing characters from a description: =TRIM(CLEAN(A2))
  • Build a real date from year-first text such as 2026-10-03: =DATE(LEFT(A2,4),MID(A2,6,2),RIGHT(A2,2))
  • Merge separate withdrawal and deposit columns, with deposits in C and withdrawals in B: =N(C2)-N(B2)

When the helper columns look right, copy them and use Paste Special, Values over the originals or onto a new sheet. Then delete the helper columns. Keeping formulas in a file you send to an accountant is how an amount changes without anyone noticing.

Power Query instead of formulas

If the statement arrives every month in the same layout, Power Query is the better tool. It records each cleanup step once, such as removing the header rows, splitting a column, setting types and flipping signs, and then replays them on the next statement with one click on Refresh. It is the same engine behind Excel's From PDF import, described in PDF bank statement to Excel. The cost is a learning curve of an hour or two, which pays back after the third month.

Or clean a CSV without opening Excel

If your starting point is already a CSV, the free bank statement CSV cleaner does the date, amount and column fixes above in your browser and downloads a file ready for QuickBooks or Xero. It will not categorize transactions, so the lookup table in step six still belongs in Excel.

Step 7: test and save

When the sheet is clean, run the checks in checking a converted bank statement. The balance should still agree, because cleaning should never change an amount. If you were handed a messy file and are working from scratch, why bank statement conversion fails explains where the mess comes from. To bring the data into accounting software, save it using bank statement to CSV. Cleaning is also the heavy part of catching up on bookkeeping. Our bank statement converter overview lists the rest.

Frequently asked questions

How do I clean up a bank statement in Excel?

Keep a raw copy, delete non-transaction rows, convert dates and amounts to real values, tidy descriptions with TRIM and Find and Replace, then categorize.

How do I categorize bank transactions in Excel?

Build a two-column table of keywords and categories, then use XLOOKUP or SEARCH formulas to assign each transaction. Review uncategorized lines manually and add their keywords to the table.

Why are my dates text after pasting from a PDF?

Dates paste as text because Excel cannot parse them in your regional date order. Convert them with a DATE formula, or Text to Columns with the right order selected.

Can I use Power Query to clean the data instead?

Yes. Power Query records each step, so you can refresh the same cleanup on next month's statement. It is the better choice if you repeat the task, while manual formulas suit a one-off job.

How do I remove blank rows from a bank statement in Excel?

To remove blank rows in Excel, select the data, open Go To Special, choose Blanks, then delete the sheet rows. Filtering the amount column for blanks also works.

How do I split a description column in Excel?

To split a description column in Excel, use Text to Columns with a delimiter, or the TEXTSPLIT or LEFT and FIND functions. Keep the original column as a backup.