Skip to content

How to categorize bank transactions in Excel

Sort a year of transactions into groceries, rent, transport and the rest with a small rules table, then total each category by month with SUMIFS or a pivot table.

Knowing where your money goes starts with putting each transaction in a category: groceries, rent, transport, utilities, eating out, subscriptions, income. Doing it by hand row by row is tedious; a small rules table does most of it for you, and a pivot table or SUMIFS turns the result into totals per month.

1. Get the transactions into a sheet

Convert your statements to Excel with StatementEasy (combine several months if you need a full year). You get a sheet with Date, Description, Money out, Money in and Balance. Add a column Category.

2. Build a rules table

On a new sheet called Rules, list a keyword in column A and its category in column B:

Keyword (A)Category (B)
TESCOGroceries
CARREFOURGroceries
UBERTransport
NETFLIXSubscriptions
SALARYIncome

Use the words that actually appear in your descriptions — card payments usually show the shop name.

3. Look the category up

In the Category column of the transactions sheet (row 2, description in B):

=IFERROR(INDEX(Rules!$B:$B, MATCH(TRUE, ISNUMBER(SEARCH(Rules!$A$2:$A$200, B2)), 0)), "Other")

It finds the first keyword contained in the description. In older Excel versions, confirm it with Ctrl+Shift+Enter. Fill it down, then look at the “Other” rows and add keywords for the ones that repeat.

4. Total per category and per month

Add a Month column: =TEXT(A2,"yyyy-mm"). Then either:

  • Pivot table — Insert → PivotTable, Category in Rows, Month in Columns, Money out in Values. The quickest overview.
  • SUMIFS — on a summary sheet, =SUMIFS(Transactions!C:C, Transactions!F:F, $A2, Transactions!G:G, B$1) with categories down column A and months across row 1. It updates when you change a category.

5. Let the converter do it

StatementEasy can add the Category column for you. Switch on Categories under “Adjust the table”: common spending is recognised automatically, and when you correct a category in the table it offers to make a rule (“every description containing NETFLIX is Subscriptions”). Rules are saved in your browser, or in your account if you are signed in, and apply to every future statement. The Excel download then includes a Categories sheet with SUMIFS formulas, so re-categorising in Excel updates the totals.

Tips

  • Keep categories few — ten to fifteen. Too many makes the totals hard to read.
  • Treat transfers between your own accounts as their own category, so they do not count as spending.
  • Look at the biggest categories first; that is where savings are.
Convert a statement now: StatementEasy turns a bank statement PDF into Excel or CSV on your device, with every row checked against the balance. Free, read on your device first.

More guides

How to convert a bank statement PDF to Excel (3 ways)Three ways to get transactions into Excel, and when each one works. How to open a bank CSV in Excel without breaking datesImport a CSV with the right date order and number types. How to reconcile a bank statement in ExcelMatch your records to the statement and find differences. How to read a bank statement, line by lineWhat every column and line on a statement means. Bank statements for a visa application: what consulates checkWhat a visa officer looks for, and how to check first. Bank statements for a mortgage: what lenders look forThe six things a lender checks on your statements. How to convert a scanned bank statement to ExcelGet transactions out of a scan or a photo, and check them. How to open and convert a password-protected bank statement PDFFind the password and convert a protected statement. How to combine several bank statements into one Excel fileTwelve monthly statements, one clean sheet. How to find subscriptions in your bank statementSpot every payment that repeats, and its yearly cost. How to import a bank statement into QuickBooksPDF to QBO or CSV, then upload to QuickBooks. How to import a bank statement into XeroPDF to a Xero CSV, imported without duplicates. How to get a bank statement into Google SheetsPaste, import or open: dates and amounts that work. How to spot an edited bank statement PDFSigns of editing, and the check that settles it.