The 4-Hour Job an AI Agent Can Now Do in 12 Minutes
Building a 3-statement model in Excel from raw accounting data is the kind of work that defined "junior analyst" for two decades: pull the trial balance, classify accounts, lay out the income statement, link to the balance sheet, derive cash flow, sanity-check the reconciliation, format. A clean version takes a careful person three to four hours. A sloppy version produces silent errors that surface in a Q3 audit.
We just ran the same job through ExcelMaster on a real 4,217-row trial balance. Total wall-clock time: ~12 minutes, every formula linked, every step backed up. This article walks through what the agent actually did, where it shines, and the two places you should still hand-review before sending the model to your CFO.
What "AI Building a 3-Statement Model" Actually Means
There's a fast way to disappoint yourself with AI in finance: ask ChatGPT "write me a 3-statement model formula" and paste the response into Excel. You'll get a SUMIFS skeleton, a vague reference to "link COGS from your IS to your BS inventory", and a Saturday morning rebuilding the half that was wrong.
That's an assistant. What we're describing here is an agent — one that:
- Reads your actual trial balance, parses the chart of accounts, recognizes which lines are revenue, COGS, operating expense, fixed asset, debt, equity, etc.
- Builds three sheets (Income Statement, Balance Sheet, Cash Flow) with formulas that literally reference the source rows, not hardcoded numbers.
- Wires the cross-sheet links: net income drops into retained earnings, depreciation in IS adds back in CF, working capital changes flow through.
- Drops an assumptions sheet so anything you want to flex (tax rate, growth rate, capex schedule) is one cell to change.
- Validates: Balance Sheet must balance, Cash Flow must reconcile to the change in cash on the BS, IS must tie to the trial balance net income.
An agent does that end-to-end. You watch it happen and review the output. That is what 12 minutes looks like.
The Walkthrough: From Trial Balance to a Complete Model
Input
One workbook with a single sheet: TB_2025. Columns: Account #, Account Name, Debit, Credit, Balance. 4,217 rows covering all of FY2025. The kind of dump you'd get from any mid-sized ERP.
Prompt
"Build a complete 3-statement model from this trial balance. Income statement, balance sheet, cash flow on separate tabs. Pull all formulas from the TB so I can change any number and it flows through. Add an assumptions sheet with tax rate, working capital days, and capex schedule. Validate that the balance sheet balances and the cash flow reconciles. Produce a one-line summary at the top of each statement."
What the Agent Did, Step by Step
Step 1 — Inspect the trial balance (≈30 seconds). The agent ran inspect_sheet against TB_2025, mapped column headers, sampled the first/last 50 rows, and ran a quick keyword pass over Account Name to classify accounts: Revenue / COGS / OpEx / Other Income / Tax / Current Asset / Fixed Asset / Current Liability / LT Debt / Equity. The classification is dropped into a hidden helper column it can use as a SUMIFS criterion later.
Step 2 — Backup before any write (≈1 second). Per-step backup is automatic. If anything below goes wrong, one click reverts that single step without losing later work.
Step 3 — Build Income Statement (≈2 minutes). New tab IS. Each line is a SUMIFS pulling from TB_2025 by classification:
=SUMIFS(TB_2025[Balance], TB_2025[Class], "Revenue") * -1
=SUMIFS(TB_2025[Balance], TB_2025[Class], "COGS")
=SUMIFS(TB_2025[Balance], TB_2025[Class], "OpEx")
...
Note the * -1 on revenue — credit-balance accounts come out negative on a US trial balance; the agent picks this up from the sign convention without being told. Net income flows down to a single anchor cell IS!B25 that other sheets will reference.
Step 4 — Build Balance Sheet (≈2 minutes). New tab BS. Same pattern: SUMIFS by classification for assets, liabilities, equity. Two formulas matter:
- Retained earnings:
=SUMIFS(...[Class], "Retained Earnings (PY)") + IS!B25— last year's RE plus current period net income, pulled live from the IS tab. - Cash: placeholder, will be linked to CF in step 5.
Step 5 — Build Cash Flow (≈3 minutes). New tab CF. Indirect method: starts with net income from IS, adds back depreciation (pulled from BS contra-asset accounts), adjusts for working capital deltas (you need a prior-period BS for this — the agent flags it and asks if you want to plug a prior-year balance or build the comparative from the TB; it builds from a comparative TB if you have one). Investing and financing sections built from fixed asset and debt classifications. The closing cash on CF is then linked back into BS!Cash, completing the loop.
Step 6 — Assumptions sheet (≈1 minute). New tab Assumptions. Tax rate (one cell, used by IS tax line). DSO/DPO/DIO for working capital (drives CF working capital adjustments). Capex schedule (drives CF investing). Every cell in the model that's not a TB pull is parameterized to here.
Step 7 — Validation pass (≈1 minute). Three formula checks at the top of each statement:
BS!Total Assets - BS!Total Liabilities & Equity→ should be 0; conditional format flags red if not.CF!Closing Cash - BS!Cash→ should be 0.IS!Net Income - SUMIFS(TB[Balance], "P&L accounts")→ reconciles to TB.
Step 8 — Summary line at top of each tab (≈30 seconds). One bold cell on each sheet: "Revenue $X, EBITDA $Y, Net Income $Z" — auto-pulled from the relevant rows.
Total: ~12 minutes, every cell traceable, every step in the timeline panel with a one-click revert button.
The Capability That Makes This Possible: Cross-Sheet Formula Links
Most "AI for Excel" tools choke here. They can write a SUMIFS in isolation. They can describe a balance sheet schema. They can't simultaneously hold three sheet structures in mind and write formulas that point at cells on the other two. That's the agent capability that turns "AI in Excel" from a glorified autocomplete into something that ships work.
Concretely, the agent has to know that BS!Cash at the end of step 5 will get a formula =CF!ClosingCash pointing at a cell that didn't exist when step 4 wrote the placeholder. It plans the dependencies forward, then walks back to fill them in. This is why we describe ExcelMaster as an Excel AI agent — and why a chat-based assistant, however accurate, never quite gets you to "complete model on a tab."
If you want the deeper context on the agent vs. assistant distinction, our Copilot Alternative comparison covers it explicitly.
The Audit Trail Story
Anything that touches a CFO's deck eventually gets audited — by your own team, by external auditors, or both. Two things matter:
- "Show me where this number came from." Every cell in the model is a formula pointing at a TB row (or at another sheet that points at TB). Click the cell, trace precedents, end up at TB_2025!Bxxx. No hardcoded plugs unless explicitly added on the Assumptions tab.
- "Undo just that step." Auto-backup runs before every write step. If the auditor disagrees with how an account was classified, you don't roll back the whole model — you roll back step 1, fix the classification, re-run from there. The timeline panel makes this a button click.
This is the difference between AI you let near a master file and AI you keep in a sandbox.
Where You Should Still Hand-Review
Two specific places. Don't skip them.
1. Account classification edge cases. The agent is good at the obvious 80% — Revenue, COGS, AR, AP, PP&E, Common Stock. It's adequate at the standard middle 15% — accrued comp, deferred revenue, lease liabilities. It's not reliable on the company-specific 5% — your CEO's Founder Loan account, the discontinued segment that's still on the books, the legal entity restructure that left orphan intercompany balances. Spend 5 minutes spot-checking the classification helper column on TB_2025. Reclassify edge cases manually before you trust the IS/BS structure.
2. Cash flow working capital, period one. The first time you build a model from a single-period TB, the working capital section of CF is mostly inferred from assumptions (DSO/DPO/DIO) rather than derived from a comparative balance sheet. Once you feed it a prior-period TB or comparative BS, this becomes formula-driven and trustworthy. For now, eyeball the working capital lines.
Everything else — the IS structure, the SUMIFS pulls, the depreciation add-back, the BS balance check — is mechanical and the agent gets it right consistently.
From 3-Statement to DCF: The Add-On
The natural next step: take the model you just built and produce a discounted cash flow valuation. Same prompt pattern:
"Use this 3-statement model to build a 5-year DCF. Project revenue at the growth rate on Assumptions, hold margins constant, calculate FCF, terminal value at 2.5% perpetual growth, WACC at 8.5%. Sensitivity table on growth rate vs. WACC."
What you get: a new DCF tab with the projection, a Sensitivity tab with a two-axis data table, and an Output cell with implied enterprise value and equity value. This part is genuinely fast — under 5 minutes — because the agent already understands your model structure from the previous prompt.
For investment banking analysts and FP&A teams, this is the workflow that compresses days into half a morning.
Try It on Your Own Workbook
- Download the free trial. Two-minute install, no card.
- Open any workbook with a trial balance — yours, a sample, or a public 10-K's selected financial data.
- Paste the prompt from "The Walkthrough" section above.
- Watch each tab build in real time. If something looks off, click the timeline panel and revert that single step.
The agent works on Excel 2016+ for Windows. Standalone install — no Microsoft 365 Copilot subscription required. Pricing details are on our pricing page.
Further Reading
- Excel Copilot Alternative: ExcelMaster vs Microsoft Copilot for Excel — the agent vs. assistant distinction, in detail.
- From VBA Code Generation to Autonomous Execution — how ExcelMaster became an agent.
- Formula Assistant — the engine behind the SUMIFS / financial formula generation.
- Cell AI — turn any cell into an AI-powered output.
