Categorize bank statements with keyword lookup rules
Turn raw, messy bank transactions into organized expense categories using an automated keyword matching formula.
Text prompt for ChatGPT and Claude
You get: Keyword Rule Table, formula for Excel and formula for Google Sheets
Prompt
Act as an expert spreadsheet developer. Build an automated categorization system based on my pasted bank transaction descriptions.
Rules:
- Build a two-column keyword mapping table based on the items present in my sample data.
- Provide an exact formula for both Excel (using SEARCH/INDEX/MATCH or XLOOKUP with wildcards) and Google Sheets to assign categories automatically.
- Include a fallback label of "Uncategorized" for items that fail to match.
- Suggest 2 common bank edge cases (like PayPal or Square merchant strings) and how to handle them.
Output format:
1. Keyword Rule Table (Keyword, Category)
2. Formula for Excel
3. Formula for Google Sheets
4. Handling Edge Cases & Next Actions
My bank descriptions are below:Example output
Paste your messy bank transaction descriptions right after this prompt in ChatGPT, Claude, or Gemini. Ask a follow-up like "How do I make the formula case-insensitive?" if needed.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Clean phone numbers and postal codes using Excel formulas
Transform irregular contact details into uniform formats for clean CRM imports. Use this whenever raw exports mix dashes, dots, spaces, or leading zeroes.
Parse Unstructured Text into Clean Excel Columns
This prompt generates specific Excel formulas to split messy text strings into organized columns while handling edge cases like missing delimiters.
Pick XLOOKUP, VLOOKUP or INDEX MATCH and Get the Exact Formula
You get one recommended lookup method for your Excel version and data layout, a paste-ready formula, and clear handling for values that have no match.
Build a 3D sum formula across multiple monthly tabs
Create a reliable 3D formula to aggregate identical cell references across multiple monthly worksheets into a single summary sheet.
Fix divide-by-zero errors in Excel variance formulas
Eliminate #DIV/0! errors in budget variance calculations with clean, professional handling for zero or missing values.
Handle cost and revenue variance signs in Excel
Standardize variance calculations across mixed revenue and expense lines so favorable outcomes consistently display correctly.
- Strip hidden characters and non-printing breaks in Excel
- Compare spreadsheet columns and highlight missing items
- Deduplicate spreadsheet rows keeping latest entry
- Write Google Sheets REGEX Formulas to Extract and Clean Text
- Create Dynamic Excel Dashboard Arrays with Filter Unique and Sort
- Build a Break-Even and Pricing Calculator Spreadsheet in Excel