Build an Indirect Cash Flow Statement from Two Balance Sheets in Excel
The board pack has a P&L and a balance sheet straight from the ERP. The lender wants a cash flow statement by Friday. The ERP’s cash flow report has not worked since the chart of accounts was redesigned, and the auditors’ version only arrives once a year. Someone has to build one from what the system does produce.
The indirect method needs only two balance sheets, net income and a few supporting numbers. Every change in a balance sheet line is either cash or the reason cash moved. This post builds the statement in Excel 2021 or 365 with a mapping column, so every line is counted exactly once and the result ties to the change in cash. The example is in thousands.
The idea in one sentence
Cash changed because something else on the balance sheet changed. If receivables went up by 160, the business sold 160 more than it collected, so cash is 160 lower than net income suggests. The indirect method walks every non-cash line on the balance sheet and turns its movement into a cash flow line.
Lay out the two balance sheets
Prior year-end and current year-end side by side, one row per line, with a type column (asset or liability/equity) and a mapping column that says where its movement goes in the cash flow.
| Line | Type | Map | FY25 | FY26 | Cash effect |
|---|---|---|---|---|---|
| Cash | Asset | Cash | 420 | 515 | |
| Receivables | Asset | Working capital | 1,150 | 1,310 | -160 |
| Inventory | Asset | Working capital | 880 | 940 | -60 |
| Prepaids | Asset | Working capital | 60 | 72 | -12 |
| PP&E at cost | Asset | Capex | 2,400 | 2,750 | -350 |
| Accumulated depreciation | Asset | Depreciation | -900 | -1,080 | 180 |
| Payables | Liability | Working capital | 610 | 655 | 45 |
| Accrued expenses | Liability | Working capital | 190 | 214 | 24 |
| Term debt | Liability | Debt | 1,200 | 1,050 | -150 |
| Share capital | Equity | Equity | 500 | 500 | 0 |
| Retained earnings | Equity | Split below | 1,510 | 2,088 |
Total assets are 4,010 and 4,507; both balance sheets balance before you start. Check that first. A cash flow built from a balance sheet that does not balance cannot tie.
The cash effect formula
An increase in an asset uses cash; an increase in a liability or equity line provides it:
=IF([@Type]="Asset", -([@FY26]-[@FY25]), [@FY26]-[@FY25])
Accumulated depreciation is stored as a negative asset, so the formula turns its movement into a positive 180 without a special case. That is the depreciation add-back.
Split retained earnings
Retained earnings moved by 578. It is not one cash flow; it is net income less dividends. Take net income from the P&L (728) and dividends from the equity statement or the board minutes (150), and check that 1,510 + 728 – 150 = 2,088. If it does not, something else went through retained earnings (a prior-period adjustment, an FX reserve) and needs its own line.
Assemble the statement with SUMIFS
With the map column filled in, each section of the cash flow is one SUMIFS:
=SUMIFS(BS[Cash effect], BS[Map], "Working capital")
| Cash flow line | FY26 |
|---|---|
| Net income | 728 |
| Depreciation | 180 |
| Change in working capital | -163 |
| Cash from operations | 745 |
| Capital expenditure | -350 |
| Cash from investing | -350 |
| Debt repaid | -150 |
| Dividends paid | -150 |
| Cash from financing | -300 |
| Net change in cash | 95 |
Cash went from 420 to 515, a change of 95. The statement ties.
The check that proves it
Add a column that counts how many times each balance sheet line appears in the cash flow. Every line except cash and retained earnings should appear exactly once; retained earnings appears through net income and dividends. Then the master check:
=NetChangeInCash - (BS_Cash_FY26 - BS_Cash_FY25)
It must be zero. When it is not, the difference is almost always a line with no map value, a line mapped twice, or a balance sheet that did not balance. Filter the map column for blanks first. Tie the balance sheet first is the habit that prevents most of this.
What two balance sheets cannot tell you
The net movement in a line hides the gross flows behind it. Three are worth chasing down:
Disposals. If equipment was sold, PP&E at cost fell by the cost of the asset and accumulated depreciation fell by its depreciation. The net movements understate both capex and depreciation, and the gain or loss on sale sits in net income. Get the fixed asset roll-forward and split gross capex, depreciation, disposal proceeds and the gain or loss into their own lines.
New borrowing and repayment. A debt line that fell by 150 might be 400 repaid and 250 drawn. Lenders often want the gross figures. Pull them from the debt schedule.
Non-cash items in working capital. Accruals reclassified between accounts, or bad debt write-offs, move balances without moving cash. Large ones need their own line.
For a monthly or quarterly version, the same layout works with month-end columns: the cash effect is each column less the one before. That is the basis of the three-statement build order, where the forecast cash flow is derived from forecast balance sheets the same way.
Where it breaks
Signs on liabilities. If the ERP exports liabilities as negative numbers, the type-based formula doubles the error. Normalize signs on the way in so assets and liabilities are both positive.
Mapping by account name. Account names change. Map by account number, through a table, so a renamed account keeps its category.
Current portion of debt. Reclassifying debt between current and long-term moves two balance sheet lines and no cash. Map both to Debt so they net out.
Cash that is not cash. Restricted cash or overdrafts presented elsewhere on the balance sheet change what “cash” means. Decide which lines are cash for the statement and keep it consistent.
