A refund simulator for a 150,000-record portfolio.
A national insurance brokerage needed to calculate customer refunds accurately, at scale, with no BI platform in place. I built the macro-driven Excel tool that replaced a manual, error-prone calculation with a validated, auditable process — and rolled it out to the national sales force.
Manual refunds, at national scale
Credit-linked insurance policies (unemployment, incapacity, and serious-illness / accidental-death riders) generated a constant stream of cancellations. Every cancellation triggered a premium refund that depended on the credit line, the policy term, the disbursement and cancellation dates, a product-specific rate factor, and whether a penalty applied.
Getting it wrong meant overpaying customers or losing revenue — and with more than 150,000 policy records, every error had to be found by hand.
One engine, three editions
- 1LookupEnter an insured ID; pull every policy they ever took
- 2LiquidateEnter a policy number; get a validated refund figure
- 3Rules built inProduct rate factors, audit checks and a 50% penalty case
- 4DeployedThree branded editions for different business partners
From insured ID to a frozen, reportable number
One button resets the form so each liquidation starts from a known state.
The macro filters the 150,000-record production base and lists every associated policy.
It retrieves status, credit value, term, credit line and key dates automatically.
Applies the correct rate factor, calculates base amount, insurance value, earned days and premium — halved when the penalty rule applies.
The calculated block is pasted as values, so the number cannot drift once reported.
The actual workbook (interface in Spanish)
Screens from one edition, personal data masked.
Client and company details are removed for confidentiality.
What it changed
The manual refund calculation became a repeatable, auditable process used by the national sales force — with product rules encoded once instead of re-derived by hand each time.
Why it matters for your business
- ΣData reconciliation at scaleQuerying and trusting a 150,000-row base
- %Pricing & rate logicThe same rigor behind accurate price setup
- ⚙AutomationRemoving manual work with reliable tools
- ☺EnablementDocumented steps a whole sales force could run
Have a process that needs this treatment?
If a calculation, report or workflow is slow and error-prone, that’s exactly the kind of thing I automate.
Get in touch