Skip to content

How to categorize bank transactions in Excel for a budget or tax return

Once the statement is a spreadsheet, a small keyword table does most of the categorising for you. You write each rule once ("SWIGGY" is Food, "SHELL" is Fuel), and every month after that is a paste and a refresh.

No sign-up. Files are deleted after 24 hours. Credits never expire.

1. Make a keyword table

On a new sheet named Rules, two columns: Keyword and Category. One row per merchant or pattern you see in descriptions:

Keyword Category
SWIGGY Food
SHELL Fuel
NETFLIX Subscriptions
SALARY Income

Use the shortest part of the description that is unique to that merchant. Upper or lower case does not matter for the formula below.

2. One formula to look up the category

In the transactions sheet, add a Category column. With the description in column B and the rules in Rules!A2:B200, in Excel 365 or Google Sheets:

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

Fill it down. SEARCH finds the first keyword contained in the description. In older Excel, confirm it with Ctrl+Shift+Enter.

3. Clear the "Uncategorised" rows

Filter the Category column to Uncategorised. For each new merchant, add a keyword to the Rules sheet rather than typing the category in the cell; the formula picks it up, and next month it is already done. A dozen rules usually cover 80 to 90% of rows.

4. Totals by category

Insert a PivotTable: Category as rows, Debit as values (spending) and Credit as values (income). Add the month (=LEFT(A2,7) on the date) as columns to see each category month by month.

Pricing

The first 5 pages of every statement are free to preview, with the full balance check. Credits never expire. No subscription needed. Prices are in US dollars; sales tax or VAT is added at checkout where it applies.

  • 50 pages

    $0.18 per page

    $9

  • 150 pagesBest value

    $0.13 per page

    $19

  • 400 pages every month

    $0.07 per page, billed monthly, cancel any time, cancel any time

    $29/mo

Deleted after 24 hours

Your upload and the result are removed automatically.

Never used for training

Files are processed only to make your result.

Refund if it is wrong

If a result is unusable, we fix it or refund you.

Privacy policy · Refund policy

Questions

Does this work in Google Sheets?

Yes, the same formula works as written.

Two keywords match one description.

The first match in the Rules table wins. Put more specific keywords (AMAZON PRIME) above general ones (AMAZON).

Can the converter categorise for me?

Not at the moment; it gives you clean rows with debits and credits separated, which is what this method needs. The rules table is yours and improves every month.

Should I categorise for tax in Excel or my accounting software?

If you use accounting software, import there (as CSV or QBO) and categorise in it. Excel suits personal budgets and one-off tax summaries.

How do I split one transaction into two categories?

Copy the row, give each copy part of the amount and its own category, and note it in the description. Keep the total the same.

What about transfers between my own accounts?

Give them a Transfer category and leave it out of spending totals, or they will count twice.