Smart Bank Statement Analysis Tool (with AI-Aided Automation)
Author : CA. Harshali Salvi
Author : CA. Harshali Salvi
Problem Statement
Bank statements often come with long, messy narration that are difficult to categorize. These narration entries typically contain important transaction details, but they’re buried in inconsistent formats—especially in digital transaction types like UPI, IMPS, NEFT, or transfers.
Manually extracting meaningful information from these narration fields is:
There was also no structured way to maintain or update commonly used remarks for transactions, leading to confusion and redundancy in reporting or analysis.
💡 Solution Overview
To address this challenge, we built a VBA-powered smart Excel tool that uses automation logic and minimal AI assistance to streamline the workflow from raw narration data to clean, categorized insights.
VBA codes generated with the help of AI for
The tool includes the following key functionalities:
Image 1: Sample Bank Statement:
Image 2: Bank Statement after processing
Based on the final remark sheet you can create a final summary, which give you overview of all transactions of Bank Statement in the Summary Format.
Use of AI/Automation
While the core tool is built using traditional Excel VBA, AI was used strategically during development to enhance design, logic, and productivity:
Note: The tool's intelligence lies not just in the macros themselves, but in how effectively prompts were crafted to get the right responses and modular solutions. No AI-generated code was used directly without proper testing and adjustment.
Benefits
Feature | Manual Effort Before | Automated Now |
Extracting values from narration | Manual parsing | 1-click macro |
Cleaning extra line breaks | Tedious search-replace | Automated cleanup |
Generating consistent remarks | Manually typed | Auto-generated |
Updating remarks centrally | Manual edits across rows | Controlled mapping |
Listing unique remarks | Copy, filter, de-duplicate | Instant output |
Guidance: Effective Prompting for Excel Automation
To replicate or extend such tools using AI assistance (like ChatGPT), here’s a simplified prompting approach that worked well:
Conclusion:
AI has made coding more accessible to non-developers like Chartered Accountants, empowering us to automate complex Excel tasks without in-depth programming expertise — simply by asking the right questions.
Leveraging this capability, we developed a tool that transforms unstructured bank narration data into clean, structured, and actionable insights. The result is a significant improvement in both efficiency and data quality, with far less manual effort.
The solution not only reduces repetitive tasks but also empowers users to maintain and customize remarks dynamically. It lays the foundation for further enhancements like reporting automation, dashboard integration, and even AI-powered categorization models in the future.