Back to Case Studies

Executive Finance Copilot

Natural-Language Access to a Macro-Driven Excel Binder

ProductionFood & FMCGFinancial Services & FinTechDec 2025 – May 2026NLP, Knowledge Systems & Generative AI
10x
Faster refresh of the financial binder
Zero
Manual data-processing errors
Billions
Possible report views, served live
30+ · 34
Sheets and VBA modules kept as-is

My Role

Role
Architect & tech lead
At Dataforest
Team
Team of 8 including me
Stage reached
In production, handed over
Key decisions
  • Build on top of Excel, not replace it
  • LLM drives existing macros through UTCP tool calls
  • Ask for missing fields before running a request

Approach at a Glance

Details
  1. 1Workbook Discovery
  2. 2Micro App on Top of Excel
  3. 3LLM with Tool Calling (UTCP)
  4. 4Answers and Executive Summaries
  5. 5Chat and Messenger Access
  6. 6Automated Binder Refresh

Executive Summary

An AI copilot that lets the executives of a multinational food company in Latin America ask questions about their financial performance in plain language, and get answers and summaries straight from the company's financial binder. That binder is a large, macro-driven Excel workbook with more than 30 sheets and 34 VBA modules, covering areas like P&L, EBITDA, FX rates and scenario comparisons.

The key decision was to build on top of Excel instead of replacing it. The accountants rely on the binder, and its combinations of fields and macros add up to several billion possible report views. Exporting all of that to a separate system would mean duplicating the logic and maintaining it every time a formula or macro changed. So we put a micro app on top of the live workbook, and the LLM drives it the way an analyst would: it understands the question, presses the right buttons and macros with the right parameters, reads the result and writes the answer.

Binder refresh became 10x faster, with zero manual data-processing errors. The copilot is in production, executives use it for their monthly reviews, and the accountants kept working in Excel as before. I was the architect and tech lead of an eight-person team.


Client Profile

The client is a multinational food company operating across several markets, with a Spanish-speaking finance team in Latin America. Its financial reporting lives in one large Excel binder: data tables, FX conversions, P&L and EBITDA views, scenario comparisons and summaries, all held together by formulas and VBA macros.

That binder works for accountants, but it was hard for executives to use:

  • Getting an answer took expertise: a question like "how did EBITDA change by market last month" meant knowing which sheet, buttons and parameters to use, then refreshing and reading the result.
  • Refreshing was manual and slow: updating the binder involved manual steps, with room for error.
  • Replacing Excel wasn't an option: the accountants' workflow depended on it, and the logic in its formulas and macros changes over time.

Technical Approach

  1. Workbook Discovery – We started by mapping the binder: its data, formulas and VBA code, extracted with xlwings, openpyxl and oletools. That showed which buttons, macros and parameters produce which views, and confirmed that exporting every combination was not realistic.

  2. Micro App on Top of Excel – Instead of cloning the binder, a micro app sits on top of the live workbook. It can set parameters, trigger the existing buttons and macros, run the calculations and read back the resulting data. Excel stays the single source of truth, so changes to formulas or macros don't break a parallel copy.

  3. LLM with Tool Calling (UTCP) – The LLM (OpenAI / Azure OpenAI) parses each request and classifies its intent and parameters. If something is missing, such as the period or the market, it switches into a mode that asks for the missing fields until the request is complete. It then calls the micro app itself through the Universal Tool Calling Protocol (UTCP) to select the exact parameters, apply the calculations and get the data.

  4. Answers and Executive Summaries – From the returned figures, the LLM writes the answer or a summary of performance and changes, ready for a monthly review.

  5. Chat and Messenger Access – Executives use the copilot through a web chat and a messenger bot, without opening the binder.

  6. Automated Binder Refresh – Refreshing the binder no longer depends on manual steps, which made it 10x faster and removed manual data-processing errors.


Business Outcome

Executives got direct access to their financial data in plain language, with answers and summaries that no longer depend on an expert driving the binder. Refreshing the binder became 10x faster with zero manual data-processing errors, and the copilot became part of the monthly review routine.

The accountants' workflow didn't change. They kept working in Excel, and the copilot always reads the binder as it is, so a change to a formula or macro doesn't need a second system updated. The project was delivered to production and handed over to the client.

Technologies

LLMsOpenAI / Azure OpenAITool Calling (UTCP)Excel AutomationxlwingsopenpyxloletoolsPythonChat & Messenger Bots

Planning something similar?

Tell me about it on a short call. New projects can start within 2 weeks