How to Build a Financial Model in Excel with AI
Step-by-step guide to build a financial model in Excel with AI: layout, formulas, checks, and copy-ready prompts for each stage.
For Finance

How do you build a financial model in Excel with AI?
You build it in the same order you always would, and use AI for the slow parts. First, define the decision the model supports. Second, lay out separate tabs for inputs, calculations, outputs and checks. Third, load historicals and set assumptions. Fourth, build the forecast and link the three statements. Fifth, add a balance check, scenarios and a review pass. AI drafts the structure, writes and explains formulas, audits your logic and summarizes results. You decide the assumptions and verify every number.
TL;DR
- Start with the decision, not the spreadsheet. A model built to answer "can we afford two hires next year?" looks different from one built for a valuation.
- Keep inputs, calculations, outputs and checks on separate tabs. AI is far more reliable when the structure is clean, and so are your reviewers.
- Ask AI for formulas, not answers. A formula you can inspect is auditable. A number it calculated in chat is not.
- A balance check row is non-negotiable. If assets do not equal liabilities plus equity in every period, the model is wrong, however good it looks.
- Use AI as a second reviewer. Paste in a formula block and ask it to find hardcodes, sign errors and inconsistent ranges.
- Check your company's policy before uploading data. Real financials often cannot go into a public AI tool. Use the approved tool, or use dummy numbers to build the structure.
What should you decide before opening Excel?
Most broken models were broken before the first cell was filled. Write down four things.
- The question. "What does cash look like at the end of each quarter if revenue grows 5% instead of 10%?" is a model. "Build a forecast" is not.
- The horizon and granularity. Monthly for 12 to 24 months suits cash planning. Annual for three to five years suits strategy and valuation. Do not build monthly detail for a five-year question.
- The drivers. Pick the five to ten inputs that actually move the answer: price, volume, headcount, churn, days sales outstanding, capex.
- The audience. A CFO wants a one-page output and a scenario switch. A business partner wants to change two inputs and see the result.
Put these in a short brief. You will paste it into AI in the next step, and it makes the output much better.
How should you lay out the workbook?
Use a layout that separates what you type from what Excel calculates. This is standard practice in financial modeling, and it is also what makes AI help safe.
| Tab | What goes in it | Rules |
|---|---|---|
| Cover / Notes | Purpose, version, author, key assumptions, change log | One paragraph, no numbers |
| Inputs | Every assumption, by scenario | Blue font for typed values. One cell per assumption. |
| Historicals | Actuals pasted from the ledger or reporting system | Values only, labeled with source and date |
| Calcs | Revenue build, cost build, headcount, working capital, debt schedule | Formulas only. No typed numbers. |
| Statements | Income statement, balance sheet, cash flow | Formulas only, linked to Calcs |
| Outputs | Summary table, charts, scenario comparison | What leadership reads |
| Checks | Balance check, cash tie-out, sum checks | One master check cell at the top |
Keep time running left to right with the same column meaning on every tab. If column F is Year 2 on Inputs, it is Year 2 everywhere. That one habit prevents most lookup and linking errors.
Prompt: draft the structure
Paste this, filling in the brackets:
I'm an analyst building a financial model in Excel.
Purpose: [the decision the model supports]
Business: [one or two sentences: what it sells, how it earns revenue]
Horizon: [e.g., 3 years, annual]
Statements needed: [income statement, balance sheet, cash flow]
Audience: [who reads it and what they will change]
Propose a workbook structure with these tabs: Inputs, Historicals, Calcs, Statements, Outputs, Checks.
For each tab, list the rows I need, in order, with a one-line description of each row.
List the 8 to 12 key assumptions I should put on the Inputs tab, with a sensible unit for each (%, $, days).
Do not invent numbers. Flag anything you are unsure about as a question for me.
Check the answer for missing lines (taxes, interest, depreciation, working capital) and for rows that mix units. Delete anything you cannot defend.
How do you set up the inputs and historicals?
Paste actuals into Historicals from your reporting system, as values, with the source and date noted. At least two years of history is useful for calibrating assumptions, and three is better.
Then compute the ratios from history that will drive your forecast:
- Revenue growth by period
- Gross margin (%)
- Operating expenses as a percentage of revenue, or by headcount and average cost
- Days sales outstanding: accounts receivable divided by revenue, times the days in the period
- Days payable outstanding: accounts payable divided by cost of goods sold, times the days in the period
- Capex as a percentage of revenue
- Effective tax rate
Set your forecast assumptions next to these historical ratios, so a reviewer can see immediately whether "growth of 25%" is a stretch against a history of 6%.
AI is useful here for sanity checks. Paste in the historical ratios (or the structure, with sample numbers if your data is restricted) and ask: "Which of these ratios look unusual or inconsistent, and what questions should I ask the business?" It will not know your business, but it is good at spotting a margin that jumped five points in one year.
How do you build the forecast, step by step?
Here is a compact three-statement example you can adapt. It is annual, with one actual year (Year 0) and three forecast years. The cell references below are illustrative; match them to your own layout.
Step 1: Build revenue from drivers
Avoid "last year times 1.1" when you can. Build revenue from something the business controls.
- Volume-based: units × price
- Subscription: opening customers + new − churned, × average revenue per customer
- Services: billable headcount × utilization × rate
For a simple growth case:
Revenue (Year 1) = Revenue (Year 0) * (1 + Inputs!GrowthRate_Year1)
Step 2: Build costs
COGS = Revenue * (1 - Inputs!GrossMargin)
Operating expenses = prior year opex * (1 + Inputs!OpexGrowth)
EBITDA = Revenue - COGS - Operating expenses
If headcount is your largest cost, give it its own block: number of people by role, average fully loaded cost, start dates. Do not bury it in a percentage.
Step 3: Build working capital, fixed assets and debt
Accounts receivable = Revenue * Inputs!DSO / 365
Accounts payable = COGS * Inputs!DPO / 365
Capex = Revenue * Inputs!CapexPercent
Depreciation = Opening PP&E * Inputs!DepreciationRate
Closing PP&E = Opening PP&E + Capex - Depreciation
Interest expense = Opening debt balance * Inputs!InterestRate
Calculating interest on the opening debt balance avoids a circular reference. If you later want interest on the average balance, turn on iterative calculation deliberately and add a circuit-breaker switch. Most operating models do not need it.
Step 4: Link the income statement
EBIT = EBITDA - Depreciation
Pre-tax income = EBIT - Interest expense
Tax = MAX(0, Pre-tax income) * Inputs!TaxRate
Net income = Pre-tax income - Tax
Step 5: Build the cash flow statement
Cash from operations = Net income + Depreciation - Increase in AR + Increase in AP
Cash from investing = -Capex
Cash from financing = Debt drawn - Debt repaid - Dividends
Net change in cash = Sum of the three
Closing cash = Opening cash + Net change in cash
Step 6: Complete the balance sheet and check it
Assets: cash (from the cash flow statement), accounts receivable, PP&E. Liabilities: accounts payable, debt. Equity: opening equity plus net income less dividends.
Balance check = ROUND(Total assets - Total liabilities - Total equity, 2)
This must be zero in every period. Link every period's check into one master cell on the Checks tab, and show it at the top of the Outputs tab so nobody can miss a red flag.
If the check fails, the usual causes are a sign error in the cash flow statement, a working capital line that is on the balance sheet but not in cash flow, or depreciation that reduced PP&E but never hit the income statement.
Where does AI help most when writing formulas?
AI is best at turning a plain description of the logic into a formula, explaining a formula you inherited, and converting between approaches (nested IFs to lookups, for example). It is weaker at knowing which of your cells to reference, which is why you should give it a labeled layout.
Prompt: write a formula
I'm building a financial model in Excel. Layout:
- Inputs tab: DSO is in Inputs!C12. Tax rate is in Inputs!C15.
- Statements tab: Revenue for Year 1 to Year 3 is in Statements!D5:F5. Accounts receivable should go in Statements!D20:F20.
Write the Excel formula for accounts receivable in D20 that I can copy across to F20.
Use days sales outstanding on a 365-day basis. Use absolute references for inputs.
Then explain the formula in one sentence and list one way it could be wrong.
What to check: absolute versus relative references ($C$12 versus C12), that the formula copies across correctly, and that it is not silently using a typed number. Test it with a case where you know the answer. If DSO is 365, receivables should equal one year of revenue.
Prompt: explain a formula you inherited
Explain what this Excel formula does, step by step, in plain English. Point out anything that looks fragile (hardcoded numbers, whole-column references, mixed ranges):
[paste formula]
If you use Copilot in Excel or a similar assistant built into the spreadsheet, the same principle holds. Ask for the formula, read it, and test it. Do not accept a pasted result you cannot trace.
How do you add scenarios and sensitivities?
A model with one case is a calculator. Add three scenarios (base, downside, upside) on the Inputs tab, with a single scenario selector cell.
Active growth rate = CHOOSE(Inputs!ScenarioNumber, Base, Downside, Upside)
Every calculation then reads from the "active" column. Never copy the model three times.
For sensitivities, show how one output (ending cash or EBITDA) changes against two inputs (growth and gross margin, say). Excel's Data Table feature can do this, and so can a hand-built grid. Keep it to the two or three inputs that matter.
AI can help you choose which to test. Ask: "Given this list of assumptions and my purpose, which three would you stress first and why?" Treat the answer as a prompt for your own judgment, not a ruling.
How do you use AI to audit your model?
This is the highest-value use for an experienced analyst. You wrote the model, so you stop seeing its mistakes. A second reviewer that never gets tired is useful.
Prompt: audit a block of formulas
Review these formulas from a three-statement financial model. Look for:
1. Hardcoded numbers inside formulas
2. Inconsistent formulas across a row
3. Sign errors in the cash flow statement
4. Ranges that do not cover all periods
5. Anything that could cause a circular reference
Formulas (cell, formula):
[paste as a list]
For each issue, give the cell, what is wrong, and the fix. If you find nothing in a category, say so.
Excel's own tools help alongside this: Trace Precedents, Trace Dependents, Show Formulas (Ctrl + `), and Go To Special for finding constants within a formula range. Use them to confirm what AI tells you rather than taking it on trust.
What to check in AI's answer
- Does it cite specific cells, or just generalities? Generalities mean it did not read your formulas.
- Does the fix actually balance the model when you apply it?
- Did it flag a "problem" that is deliberate? (A hardcoded opening balance in Year 0 is normal.)
Where should you not trust AI in financial modeling?
- Arithmetic and totals. Language models can get sums wrong. Let Excel calculate and ask AI only for the logic.
- Your assumptions. AI will happily suggest "typical" growth rates or margins. They are generic. Use your history, your budget and your business partners.
- Accounting treatment. Revenue recognition, leases, capitalized costs and tax have rules that depend on your standards and jurisdiction. Confirm with your accounting team.
- Confidential data. Upload real financials only in a tool your company has approved. Otherwise, build the structure with placeholder numbers and paste your own values in afterward.
- Final sign-off. A model you cannot explain line by line is not ready, regardless of who or what wrote it.
What are the most common mistakes?
- Hardcodes inside formulas (
=D5*1.08). Move 1.08 to Inputs. - Mixing inputs and calculations on the same sheet, so no one knows what is safe to change.
- No balance check, or one that is forced to zero with a plug.
- Plugging the balance sheet with a "misc" line to make it balance. Find the error instead.
- Inconsistent formulas across a row. One different cell in a row of fifty is easy to miss. Use Go To Special > Row differences, or ask AI to scan.
- Overbuilt detail. Forty revenue lines for a forecast that needs five.
- No version control. Save dated versions and keep a change log on the Cover tab.
How do you present the model once it works?
Write a half-page summary above the numbers: the key result, the two or three assumptions that drive it, and the main risk. AI is good at the first draft of this.
Here is the output table from my financial model (base, downside, upside):
[paste table]
Write a 150-word summary for a finance leader. Lead with the base-case result, then the downside, then the main assumption that drives the gap. Use only the numbers I gave you. Do not add commentary I did not ask for.
Check every number in the summary against the table before it goes anywhere. Then add one chart per question the audience will ask.
Can you turn a financial model into a tool others can use?
Sometimes the model is fine but the process around it is the problem: business partners email you assumptions, versions multiply, and you spend a week reconciling inputs. If that sounds familiar, you can keep the model in Excel for analysis and describe a small input tool in plain English to Remy, which builds full-stack apps: a form where budget owners submit their headcount and spend assumptions, saved in a database with sign-in, and a dashboard showing the latest approved inputs. You export what you need into your workbook. It is a way to own the intake process instead of renting another planning subscription for it.
Frequently Asked Questions
Can AI build a financial model for me from scratch?
It can draft a structure and many of the formulas, and for a simple model that gets you far. But it does not know your business, your accounting policies or what the numbers should look like. You still supply the assumptions, test the logic and own the result. Treat it as a fast junior assistant whose work needs review.
What is the best order to build a three-statement model?
Build revenue and costs first, then working capital, fixed assets and debt schedules, then the income statement, then cash flow, then the balance sheet. Add the balance check last and make it pass. Doing the cash flow before the balance sheet means cash is calculated once, in one place, which keeps the model consistent.
Is it safe to paste company financials into ChatGPT or Copilot?
Only if your company has approved that tool for that kind of data. Policies differ, and consumer tools may handle data differently from enterprise versions. If you are unsure, ask IT or security. In the meantime, build the structure with dummy numbers and enter real figures yourself in Excel.
How do I know the model is right?
Check that the balance sheet balances in every period, that cash ties between the cash flow statement and the balance sheet, and that the results move sensibly when you change an input. Back-test against a known period if you can. Have a colleague review it, and use AI as an additional reviewer, not the only one.
Useful for
How we source, write, and correct our articles. Editorial standards
Related articles

Will AI Usage Limits and Pricing Get Tighter in 2027?

Why Are Phone and Laptop Prices Rising? AI Memory Shortage

AI Agent Token Usage by Team: Monthly Budget Guide
