Indirect cash flow statement in Excel with Copilot or Claude: 2 balance sheets

An indirect-method cash flow statement can be built from two consecutive balance sheets, the income statement and a short list of supplementary facts: depreciation, the cost and accumulated depreciation of assets sold, the sale proceeds, new borrowings, repayments, share issues and dividends. With those inputs, Copilot in Excel or Claude for Excel can draft the statement inside the workbook, and the result can be checked against a single control: opening cash plus the net change in cash must equal closing cash on the balance sheet.
The worked example below uses an illustrative company with net income of USD 92,000. The correct statement shows net cash from operating activities of USD 138,000, net cash used in investing activities of USD 91,000 and net cash from financing activities of USD 10,000, for a net increase in cash of USD 57,000 that takes the cash balance from USD 84,000 to USD 141,000. Every figure was computed in Python before publication, so a controller can compare the AI's draft with a known answer line by line.
The tie-out to closing cash catches arithmetic and sign errors, yet it cannot catch a classification error, such as dividends paid placed in operating activities, because the total change in cash stays the same. That limit decides where human review has to concentrate.
··········
WHY FINANCE TEAMS BUILD AN INDIRECT CASH FLOW STATEMENT IN EXCEL.
Most accounting systems produce a cash flow statement automatically, but the output is only as good as the account mapping behind it. Controllers rebuild the statement in Excel when they prepare a first set of audited financial statements, when a subsidiary reports on a different ledger, when a lender asks for a cash flow covenant package, or when the system report mixes noncash entries such as asset disposals with real cash movements. A spreadsheet version built from the balance sheets also gives the auditors a clear trail from each line of the statement back to a balance sheet movement.
Both IFRS and US GAAP allow the indirect method for operating activities. IAS 7 Statement of Cash Flows and ASC 230 Statement of Cash Flows both encourage the direct method, yet the indirect method is the one most companies use in practice because it starts from net income and adjusts for noncash items and working capital changes that the ledger already holds. Under US GAAP, a company using the indirect method also discloses interest paid and income taxes paid, so the workbook needs those two amounts from the general ledger even though they do not come out of the balance sheet movements.
The classification of interest and dividends is one of the main differences between the two frameworks, and it affects how the AI should be instructed. A detailed comparison is in how interest and dividends are classified in the statement of cash flows under IAS 7 and ASC 230, and the general preparation steps under both frameworks are covered in how to prepare the statement of cash flows under IFRS and US GAAP.
··········
COPILOT IN EXCEL AND CLAUDE FOR EXCEL: DOCUMENTED REQUIREMENTS.
The requirements below come from the vendors' own documentation, checked on December 3, 2026. Microsoft's Copilot in Excel FAQ lists four routes to access: a Microsoft 365 Personal or Family plan with an AI credits plan, Microsoft 365 Premium, a commercial Microsoft Copilot subscription, or a business or enterprise Microsoft 365 or Office 365 plan eligible for Copilot Chat. Copilot works in edit, plan and chat modes on Windows, Mac and the web, and Microsoft states that editing is supported only when Calculation Options are set to Automatic. Strict Open XML Spreadsheet files are not supported, and the FAQ recommends saving as a standard .xlsx workbook.
Anthropic's documentation states that Claude for Excel is generally available on the Pro, Max, Team and Enterprise plans. It runs in Excel on the web, in Excel on Windows with a Microsoft 365 subscription from build 16.0.13127.20296, and in Excel on Mac from version 16.46. It does not run on Excel 2016 or 2019 perpetual licenses, on iPad or on Android, and it does not support data tables or macros and VBA. Answers carry cell-level citations that link to the referenced cells, which helps when tracing a cash flow line back to the balance sheet.
........
Item | Copilot in Excel | Claude for Excel |
Access | Eligible Microsoft 365 or Copilot plans | Claude Pro, Max, Team, Enterprise |
Platforms | Windows, Mac, web (edit, plan, chat) | Web, Windows, Mac |
Not supported | Strict Open XML files | Excel 2016/2019, iPad, Android |
Key setting | Automatic calculation for edits | Data tables, macros and VBA unsupported |
Traceability | Review edits in the workbook | Cell-level citations in answers |
Vendor caution | Review and verify before relying | Not for audit-critical figures unverified |
........
Neither vendor documents a row limit for this kind of task, and a cash flow build from two balance sheets is small. Both vendors explicitly tell users to review the output. Microsoft's FAQ says Copilot can make mistakes and advises verifying anything it creates, and Anthropic lists audit-critical calculations without verification among the uses for which Claude for Excel is not recommended.
··········
WORKED EXAMPLE: TWO BALANCE SHEETS AND THE SUPPLEMENTARY DATA.
The dataset is illustrative and kept small so every line can be checked by hand. The company is a US distributor reporting under US GAAP for the year ended December 31, 2026. Both balance sheets balance: total assets equal liabilities plus equity at USD 741,000 at the start of the year and USD 854,000 at the end.
........
Line (USD) | Dec 31, 2025 | Dec 31, 2026 | Change |
Cash | 84,000 | 141,000 | 57,000 |
Accounts receivable | 120,000 | 146,000 | 26,000 |
Inventory | 95,000 | 88,000 | -7,000 |
Prepaid expenses | 12,000 | 15,000 | 3,000 |
PP&E at cost | 640,000 | 712,000 | 72,000 |
Accumulated depreciation | -210,000 | -248,000 | -38,000 |
Total assets | 741,000 | 854,000 | 113,000 |
Accounts payable | 70,000 | 81,000 | 11,000 |
Accrued liabilities | 28,000 | 24,000 | -4,000 |
Income taxes payable | 9,000 | 13,000 | 4,000 |
Long-term debt | 300,000 | 330,000 | 30,000 |
Common stock | 150,000 | 170,000 | 20,000 |
Retained earnings | 184,000 | 236,000 | 52,000 |
Total liabilities and equity | 741,000 | 854,000 | 113,000 |
........
The supplementary facts come from the income statement, the fixed asset register and the debt and equity records. Net income for 2026 was USD 92,000 and depreciation expense was USD 61,000. Equipment with a cost of USD 48,000 and accumulated depreciation of USD 23,000 was sold for USD 29,000 in cash, so its carrying amount was USD 25,000 and the sale produced a gain of USD 4,000 included in net income. The company borrowed USD 80,000 under a new term loan, repaid USD 50,000 of existing debt, issued common stock for USD 20,000 in cash and paid dividends of USD 40,000.
Two figures have to be derived before the statement can be drafted. Capital expenditure comes from the PP&E roll-forward: closing cost of USD 712,000 minus opening cost of USD 640,000 plus the USD 48,000 cost of the asset sold gives purchases of USD 120,000. The accumulated depreciation roll-forward confirms the data: USD 210,000 plus USD 61,000 of depreciation minus USD 23,000 removed on the sale equals the closing USD 248,000. The retained earnings movement confirms net income and dividends: USD 184,000 plus USD 92,000 minus USD 40,000 equals USD 236,000.
··········
PROMPTS FOR COPILOT OR CLAUDE.
The prompt should give the AI the layout, the supplementary facts and the classification policy, and ask for formulas that reference the balance sheet cells instead of typed numbers. A first prompt for either tool can read as follows.
The sheet "BS" has two balance sheets: column B = Dec 31, 2025, column C = Dec 31, 2026.
The sheet "Data" lists net income, depreciation, the equipment sale (cost 48,000,
accumulated depreciation 23,000, proceeds 29,000), new borrowings, repayments,
stock issued and dividends paid.
On a new sheet "CFS", build an indirect-method statement of cash flows under US GAAP.
Use formulas that reference BS and Data, not typed values.
Operating: net income, add depreciation, remove the gain on sale, then working capital
changes for receivables, inventory, prepaid expenses, payables, accrued liabilities and
income taxes payable.
Investing: capital expenditure derived from the PP&E cost roll-forward, and sale proceeds.
Financing: borrowings and repayments shown gross, stock issued, dividends paid.
Add a check row: opening cash + net change - closing cash, which must equal 0.A second prompt asks the AI to explain its own work, which makes the review faster. With Claude, the answer comes with cell citations; with Copilot, chat mode keeps the explanation out of the workbook.
For each line of the CFS sheet, list the source cells, the sign convention used
and why the item is operating, investing or financing. Flag any line that does not
come directly from a balance sheet movement or the Data sheet.The working capital lines follow a fixed sign rule that is easy to check in the formulas: an increase in an operating asset reduces cash and an increase in an operating liability adds to cash. In the layout above, with cash in row 2 of the BS sheet, the cost of the asset sold in cell B4 of the Data sheet and the net change in cash in cell B30 of the CFS sheet, the formulas the AI should produce look like this.
Accounts receivable change: =-(BS!C3-BS!B3)
Accounts payable change: =BS!C9-BS!B9
Capital expenditure: =-(BS!C6-BS!B6+Data!B4)
Check row (must be 0): =BS!B2+CFS!B30-BS!C2··········
THE CORRECT INDIRECT CASH FLOW STATEMENT FOR THE EXAMPLE.
The statement below is the expected result, computed in Python from the dataset. Working capital changes reduce operating cash flow by a net USD 11,000: receivables absorb USD 26,000 and prepaid expenses USD 3,000, while lower inventory releases USD 7,000, higher payables add USD 11,000, lower accrued liabilities use USD 4,000 and higher income taxes payable add USD 4,000.
........
Statement of cash flows, 2026 (USD) | Amount |
Net income | 92,000 |
Depreciation | 61,000 |
Gain on sale of equipment | -4,000 |
Increase in accounts receivable | -26,000 |
Decrease in inventory | 7,000 |
Increase in prepaid expenses | -3,000 |
Increase in accounts payable | 11,000 |
Decrease in accrued liabilities | -4,000 |
Increase in income taxes payable | 4,000 |
Net cash from operating activities | 138,000 |
Purchases of PP&E | -120,000 |
Proceeds from sale of equipment | 29,000 |
Net cash used in investing activities | -91,000 |
Proceeds from long-term debt | 80,000 |
Repayments of long-term debt | -50,000 |
Proceeds from issuance of common stock | 20,000 |
Dividends paid | -40,000 |
Net cash from financing activities | 10,000 |
Net increase in cash | 57,000 |
Cash at beginning of year | 84,000 |
Cash at end of year | 141,000 |
........
The gain of USD 4,000 is removed from operating activities because the full USD 29,000 of proceeds appears in investing activities; leaving the gain in net income would count USD 4,000 of the sale twice. Under US GAAP, dividends paid are a financing outflow. Under IFRS, IAS 7 allows dividends paid to be presented as either operating or financing, and the chosen policy has to be applied consistently, so the prompt must state the framework and the policy instead of leaving the choice to the AI.
··········
COMMON AI ERRORS IN AN INDIRECT CASH FLOW STATEMENT AND HOW TO CATCH THEM.
The errors below were computed against the same dataset to show what each one does to the statement and whether the cash tie-out detects it. Errors in amounts break the check row, while errors in classification or presentation leave it at zero.
........
Error in the draft | Effect on the example | Cash check |
Gain on sale not removed | CFO 142,000; net change 61,000 | Fails by 4,000 |
Capex taken as change in net PP&E | Capex 34,000; net change 143,000 | Fails by 86,000 |
Working capital signs reversed | CFO 160,000 | Fails by 22,000 |
Dividends placed in operating (US GAAP) | CFO 98,000; CFF 50,000 | Passes |
Borrowings and repayments netted | One line of 30,000 | Passes |
........
The capital expenditure error deserves attention because it is easy to make when the AI receives only the balance sheets. The change in net PP&E is USD 34,000, but that figure already reflects USD 61,000 of depreciation and the USD 25,000 carrying amount of the asset sold, and those two items are exactly the USD 86,000 gap in the check row. The PP&E cost roll-forward, with the disposal added back, is the only reliable route to the USD 120,000 of purchases.
The last two rows of the table explain why the check row is necessary but insufficient. Moving dividends into operating activities lowers operating cash flow from USD 138,000 to USD 98,000 without changing the total, and that changes ratios lenders and analysts watch, such as operating cash flow to debt. Netting new borrowings against repayments produces the right total but hides gross financing flows that both frameworks expect to be shown separately in most cases. A reviewer has to read each classification against the company's policy.
A practical review sequence for the AI's draft:
1. Confirm the check row equals zero and that every line is a formula referencing the balance sheet or the supplementary data.
2. Recompute capital expenditure from the PP&E cost roll-forward and confirm the accumulated depreciation roll-forward ties.
3. Confirm the gain or loss on disposal is reversed in operating activities and the full proceeds sit in investing activities.
4. Read every working capital line for the sign rule and confirm that non-operating balances, such as dividends payable or interest payable on financing, are handled under the company's policy.
5. Check the classification of interest, dividends and income taxes against the framework stated in the prompt.
6. Add the US GAAP supplemental disclosures of interest paid and income taxes paid from the general ledger, and list any noncash investing or financing transactions separately.
The same tie-out discipline applies to forecasting work; the weekly version of the statement is covered in how to build a 13-week cash flow forecast in Excel with Copilot and Claude.
··········
DATA HANDLING FOR FINANCIAL STATEMENTS IN COPILOT AND CLAUDE.
Balance sheets and trial balances are confidential before release, so the data terms matter for the choice of tool. Microsoft's privacy documentation for Microsoft 365 Copilot, last updated November 3, 2026, states that prompts, responses and data accessed through Microsoft Graph are not used to train foundation models, and it also states that models provided by Anthropic as a subprocessor within Copilot experiences are currently excluded from the EU Data Boundary. A European group that needs its data to stay within that boundary should check which model its Copilot configuration uses.
Anthropic's documentation for Claude for Excel states that inputs and outputs are deleted on the backend within 30 days of receipt or generation, subject to the exceptions in its retention policy, and that the add-in sends the content Claude reads from the workbook to Anthropic. It also states that the add-in does not inherit custom data retention settings an organization may have set, that its activity is not included in Enterprise audit logs, and that Enterprise organizations with the Compliance API enabled have Claude for Excel sessions covered by that API. Anthropic warns against using the add-in with untrusted files because hidden instructions in external spreadsheets can manipulate it, so a template downloaded from outside the company should be rebuilt or inspected before Claude edits it.
··········
INDIRECT CASH FLOW STATEMENT WITH AI: WHAT THE CONTROLLER STILL OWNS.
Copilot in Excel and Claude for Excel can both draft an indirect-method cash flow statement from two balance sheets when they receive the supplementary facts that the balance sheets do not contain: depreciation, the details of disposals, gross debt movements, share issues and dividends. Without those facts, the error with the largest effect in the example is a capital expenditure figure taken from the change in net PP&E, which understates purchases by USD 86,000.
The check row that reconciles opening cash, the net change and closing cash is the fastest test of the draft and catches every arithmetic and sign error in the example. Classification remains a judgement the AI cannot settle on its own. Dividends, interest and income taxes follow the framework and the company's stated policy, gross presentation of financing flows has to be preserved, and the US GAAP disclosures of interest paid and income taxes paid come from the ledger. Those points stay with the controller, and the statement should be signed off only after the review sequence above has been completed. For the conceptual background on the two methods, see cash flow statement direct vs indirect, operating vs investing vs financing.
··········
FOLLOW US FOR MORE.
·····
DATA STUDIOS
·····
datastudios.org




