How to Categorize Bank Transactions in Excel
Start with the sample data
This example uses synthetic business data in USD. Download the CSV and import it through Excel’s Data → From Text/CSV. Set dates to Date, amounts to Decimal Number, and identifiers to Text. The examples use Excel for Microsoft 365 on desktop with English formula names and comma separators.
Download the sample CSV · Data dictionary
Keep an untouched copy of the input. These are educational examples, not customer records or measured customer outcomes.
The result to check
Reviewed categories: 5 categories
The example has Income, Rent, Software, Supplies and Fees. Maintain a review queue for new counterparties.
Build the analysis in Excel
1. Prepare the source and scope
Import transactions.csv into a new worksheet with headers in row 1. Leave the source columns in their original order for the formulas below. Review the data dictionary before choosing the reporting period. Keep identifiers as text and convert numeric columns explicitly. Save a working copy so you can return to the original fixture.
2. Build the calculation
Create a merchant-to-category mapping on a separate sheet. Use an exact lookup for each description, then review unmatched merchants before summarizing. The supplied category column is the expected answer.
=VLOOKUP(C2,Mapping!$A$2:$B$8,2,FALSE)3. Reconcile and interpret the output
The expected check is reviewed categories: 5 categories. The example has Income, Rent, Software, Supplies and Fees. Maintain a review queue for new counterparties. If your result differs, inspect the selected rows, data types and date filters before changing the formula.
4. Adapt the workflow to a recurring report
Replace the sample with a copy of your own source, retaining the same column meanings and units. Extend bounded ranges to include new rows, refresh PivotTables where used, and compare the result to an independent source total. Record the reporting period and any exclusions beside the output. A merchant name alone may not determine tax treatment or accounting classification.
Checks before using your own data
- A merchant name alone may not determine tax treatment or accounting classification.
- Keep blanks distinct from zero. Investigate missing records rather than hiding errors with a blanket IFERROR formula.
- Verify results after changing filters, sorting rows or appending a new period. The sample output is a check for this fixture, not a forecast for your business.
Tools and reference guides
Continue with your own data
Explore PDF and bank-statement analysisSee the supported workflow and upload your file when you are ready. The sample is not loaded automatically.
Keep reading
More from the Better Analyst blog
33 Types of Charts and Graphs: Examples and When to Use Each
Compare 33 chart and graph types, see practical examples, and learn which visualization fits your data.
Read moreHow to Analyze Bank Statements in Excel
Learn to Analyze Bank Statements in Excel with synthetic sample data, reproducible Excel steps, a checked result, and common mistakes to avoid.
Read moreHow to Combine Monthly Bank Statements in Excel
Learn to Combine Monthly Bank Statements in Excel with synthetic sample data, reproducible Excel steps, a checked result, and common mistakes to avoid.
Read more