Tabellab

Classifying Cash Flows: Operating, Investing or Financing?

Lesson 1 of 20Lab

All lessons
  1. Classifying Cash Flows: Operating, Investing or Financing?LabFree
  2. The Indirect Method: From Net Income to Cash, Non-Cash Items FirstLab Locked
  3. Working Capital Changes from Two Balance Sheets: the Sign LogicLab Locked
  4. Investing Activities from the PP&E Roll-Forward: Capex, Disposals and GainsLab Locked
  5. Financing Activities: Debt, Dividends and Share BuybacksLab Locked
  6. The Direct Method and Its Reconciliation to the Indirect MethodLab Locked
  7. Free Cash Flow: FCF, FCFF, FCFE and Cash ConversionLab Locked
  8. Cash Flow Quality: CFO/Net Income, the Accrual Ratio and a Bridge ChartLab Locked
  9. Capex on Credit and Non-Cash Deals: What Stays Out of the Three SectionsLab Locked
  10. Interest Paid vs Interest Expense: Accruals, Fee Amortisation and Capitalised InterestLab Locked
  11. Income Taxes in the Cash Flow Statement: Current, Deferred and Tax Actually PaidLab Locked
  12. Receivables with a Bad-Debt Allowance: Net vs Gross Route and the Double-Count TrapLab Locked
  13. The Balance Sheet Proof of Cash: Every Line Mapped, the Difference at ZeroLab Locked
  14. Leases in the Cash Flow Statement: Principal, Interest and Short-Term RentalsLab Locked
  15. Buying a Business: Net of Cash Acquired and Clean Working Capital ChangesLab Locked
  16. Foreign Currency Cash: the Effect of Exchange Rate Changes LineLab Locked
  17. Quarterly Cash Flows: Discrete Quarters from Year-to-Date Reports and a Seasonality ChartLab Locked
  18. Comparing Peers: Reclassifying Interest and Dividends Before You Compare CFOLab Locked
  19. Reviewing a Draft Cash Flow Statement: Line Checks, Section Totals and Red FlagsLab Locked
  20. Final Project: Fenmoor's FY2027 Cash Flow Statement and Lender DashboardLab Locked

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — $9.90
Loading the spreadsheet…

Why the cash flow statement matters more than you think

A company can report a profit every year and still run out of money. Customers pay late, stock piles up in the warehouse, a new store needs fixtures, the bank wants its loan back and shareholders expect a dividend. None of that is visible in the income statement, but all of it is visible in the statement of cash flows. That is why lenders, analysts, auditors and experienced owners often read it first: profit is an opinion built on accounting estimates, cash is a fact you can count.

This free first lesson is for accounting and finance students, for people preparing for professional exams such as ACCA, CPA or CFA, and for anyone in a finance team who has to prepare or explain a cash flow statement. In the lab above you work with Fenmoor Outdoor Co., a fictional retailer of outdoor clothing and gear. You have its cash transactions for FY2026 and one task that every cash flow statement starts with: put each transaction into the right section, then total the sections so they add up to the change in cash.

Classification sounds like the easy part, and mostly it is. But the grey zones (interest, dividends, taxes, asset sales) are where exam questions and real reporting errors come from, and the way a transaction is classified changes the story a reader takes away. A company that quietly moves interest out of operating cash flow looks healthier than it is. The guide below explains the logic, works through Fenmoor’s numbers with the exact Excel formulas, and shows how to build a mapping that you can reuse for any ledger.

The core concept: three sections, one question

The statement of cash flows explains how the cash balance moved from the start of the period to the end. Every cash inflow and outflow lands in one of three sections. A simple test works for most items: ask who is on the other side of the payment and what the payment is for.

  • Operating activities: the cash side of the day-to-day business. Customers pay for goods and services, the company pays suppliers, staff, rent, utilities and, normally, income taxes. If the item would show up in the income statement as revenue or an operating expense, its cash leg is usually operating.
  • Investing activities: buying and selling long-term assets and investments. Property, plant and equipment (PP&E), intangible assets, shares in other companies, loans made to others. Only spending that creates an asset on the balance sheet belongs here: under IAS 7, an expenditure that is expensed is not an investing cash flow.
  • Financing activities: cash to and from the people who finance the company. New loans and bonds, repayments of principal, the principal part of lease payments, new shares issued, dividends paid and share buybacks.

Inflows are shown as positive numbers and outflows as negative numbers. Add the three section totals and you get the net change in cash (strictly, in cash and cash equivalents). Add that to the opening balance and you must land exactly on the closing balance on the balance sheet. That last check is what makes the statement so useful in practice: it either reconciles to the cent or something is wrong.

Where does a cash flow belong? Ask who is on the other side Fenmoor cash net change -0.72m Operating +5.70m customers in +47.91m suppliers out -29.38m wages, rent out -10.99m interest out -0.61m income tax out -1.23m day-to-day business Investing -3.52m fixtures, racking -4.20m old vans sold +0.68m long-term assets Financing -2.90m new loan +1.20m repayment -1.80m dividend -1.40m, buyback -0.90m lenders and shareholders
Figure 1. The counterparty test on Fenmoor’s FY2026 transactions. Customers, suppliers, staff and the tax office are operating; long-term assets are investing; lenders and shareholders are financing. Amounts in USD millions.

Two more ideas help. First, the statement is about cash that actually moved. If Fenmoor buys a van with a lease or issues shares to acquire another business, no cash changes hands at that moment, so the transaction is left out of the three sections and described in a note on non-cash investing and financing activities. Second, the same counterparty can appear in different sections. A bank receives interest (often operating) and loan repayments (financing) from Fenmoor. That is why you classify by the nature of the payment, not by the name on the bank statement.

The grey zones: interest, dividends and taxes

For most transactions there is only one right answer. For a handful, the standards allow or prescribe different treatments, and IFRS and US GAAP differ. The table below summarises the general rules for a non-financial company such as Fenmoor. Banks and insurers follow the same standards but their interest flows are part of normal operations.

The common grey zones. IFRS 18 narrows the IAS 7 choices for many companies for periods beginning on or after 1 January 2027, so check which version applies to the year you are reporting.
Cash flowIFRS (IAS 7)US GAAP (ASC 230)
Interest paidOperating or financing (policy choice, applied consistently)Operating
Interest receivedOperating or investing (policy choice)Operating
Dividends receivedOperating or investing (policy choice)Operating
Dividends paidFinancing or operating (policy choice)Financing
Income taxes paidOperating, unless specifically identified with investing or financingOperating
Principal of a loan repaidFinancingFinancing
Purchase of PP&EInvestingInvesting

Under IFRS the choice must be applied consistently from year to year and explained in the accounting policies. Fenmoor shows interest paid in operating activities, which is the US GAAP position and one of the IFRS options, so its numbers are comparable with US peers. Notice what the choice does to the headline number: if Fenmoor showed its 0.61 million of interest in financing instead, operating cash flow would rise from 5.70 million to 6.31 million without a single extra dollar arriving. When you compare two companies, always check where they put interest before you compare operating cash flow.

Taxes are another trap. Income taxes are operating under both frameworks in normal circumstances, even when part of the tax arises from a gain on the sale of an asset. Only when a tax cash flow can be specifically identified with an investing or financing transaction may IAS 7 allocate it there, which is rare in practice. Sales tax and VAT collected for the authorities are pass-through items that companies usually present within operating flows.

Worked example: classifying Fenmoor’s FY2026 cash flows

Here are the eleven transactions from the lab. The category in column B is what the bookkeeping system gives you. Column D, the section, is what you have to produce. Instead of typing the section by hand eleven times, you build a small mapping table once (A22:B32 in the lab: each category with its section) and look the section up.

Fenmoor Outdoor Co. (fictional), FY2026 cash transactions as in the lab. Column D is the result of the lookup.
RowTransaction (column A)Category (B)Amount USD (C)Section (D)
2Cash from retail and wholesale customersCustomer receipts47,910,000Operating
3New store fixtures and warehouse rackingPurchase of PP&E-4,200,000Investing
4Payments to fabric and gear suppliersSupplier payments-29,380,000Operating
5Drawdown of a new bank term loanBorrowing1,200,000Financing
6Wages, rent and other operating costsOperating costs paid-10,990,000Operating
7Sale of old delivery vansSale of PP&E680,000Investing
8Interest on bank loansInterest paid-610,000Operating
9Scheduled loan repaymentLoan repayment-1,800,000Financing
10Corporate income taxIncome taxes paid-1,230,000Operating
11Dividend to shareholdersDividends paid-1,400,000Financing
12Own shares bought backShare buyback-900,000Financing

The formula in D2 is =VLOOKUP(B2,$A$22:$B$32,2,FALSE), copied down to D12. The fourth argument FALSE forces an exact match. Without it, VLOOKUP does an approximate match on a list that is not sorted for that purpose and can return a wrong section with no error. If you have Excel 365 or Excel 2021, =XLOOKUP(B2,$A$22:$A$32,$B$22:$B$32) does the same thing with exact match as the default. The dollar signs keep the mapping table fixed while the formula moves down the rows.

Then you total each section. SUMIF takes three arguments: the range to test, the condition and the range to add. Because the section names in A15:A17 are spelled exactly like the lookup results, you can point the condition at the label cell and copy the formula down.

Section totals with SUMIF. The check cell proves that no transaction was lost or counted twice.
CellSectionFormulaResult (USD)
B15Operating=SUMIF($D$2:$D$12,A15,$C$2:$C$12)5,700,000
B16Investing=SUMIF($D$2:$D$12,A16,$C$2:$C$12)-3,520,000
B17Financing=SUMIF($D$2:$D$12,A17,$C$2:$C$12)-2,900,000
B18Net change in cash=SUM(B15:B17)-720,000
(check)Must be zero=B18-SUM(C2:C12)0

Operating cash flow is 47.91 million from customers minus 29.38 million to suppliers, 10.99 million for wages, rent and other costs, 0.61 million of interest and 1.23 million of tax: 5.70 million. Investing is the 4.20 million of new fixtures and racking less the 0.68 million received for the old vans: an outflow of 3.52 million. Financing combines the new 1.20 million loan with 1.80 million of repayments, a 1.40 million dividend and a 0.90 million buyback: an outflow of 2.90 million. Together, cash fell by 0.72 million.

Fenmoor FY2026: from section totals to the net change in cash (USD m)6m4m2m0m-1m+5.70mOperating-3.52mInvesting-2.90mFinancing-0.72mNet change
Figure 2. Fenmoor’s three section totals as a waterfall. The business generated 5.70 million of operating cash, spent 3.52 million on long-term assets and paid 2.90 million to lenders and shareholders, so cash fell by 0.72 million.

Read the result like an analyst. Fenmoor’s core business produces cash comfortably. It reinvested about 62% of that operating cash in its stores and warehouse (3.52 / 5.70), which is a sign of a company that is maintaining or growing its asset base. It then returned more to lenders and shareholders than the business had left over, so the cash balance went down. That is not alarming for one year, but if it repeated for several years the company would have to borrow more or cut the dividend. One classification exercise and you already have a story for the board.

Note the sale of the vans: the 0.68 million is the cash received, and it belongs in investing. Any gain or loss on the sale is not a cash flow at all. When you build the operating section with the indirect method in the next lesson, you will see why the gain has to be taken back out of net income so that it is not counted twice.

How to do it in Excel, step by step

  1. Export the cash transactions for the period with at least a description, a category (or account) and a signed amount. Keep inflows positive and outflows negative from the start. If your export shows all amounts positive with a debit/credit flag, convert them once with a helper column such as =IF(E2="Out",-C2,C2).
  2. Build the mapping table on the same sheet or a separate “Mapping” sheet: one row per category, the section next to it. Sort it alphabetically so it is easy to read and to audit. Every category must appear exactly once.
  3. Optionally turn the transaction list into an Excel table with Insert > Table (Ctrl+T). New rows then inherit the formulas automatically.
  4. In D2, type =VLOOKUP(B2,$A$22:$B$32,2,FALSE). While the cursor is on the range in the formula bar, press F4 (Windows) or Cmd+T (Mac) to add the dollar signs.
  5. Select D2:D12 and press Ctrl+D to fill the formula down, or double-click the small square at the bottom right of D2.
  6. Look for #N/A results. Each one is a category that is missing from the mapping table or spelled differently, for example with a trailing space. Fix the mapping, never the formula. To flag them politely, wrap the lookup: =IFNA(VLOOKUP(B2,$A$22:$B$32,2,FALSE),"Map me").
  7. In A15:A17 type Operating, Investing and Financing, exactly as in the mapping table. In B15 enter =SUMIF($D$2:$D$12,A15,$C$2:$C$12) and fill down to B17.
  8. In B18, total the three sections with =SUM(B15:B17) (Alt+= on Windows inserts SUM automatically).
  9. Add a control cell next to it: =B18-SUM(C2:C12). It must show zero. If it does not, a transaction is mapped to a section name that does not exist, such as “Operations”.
  10. Finally reconcile to the balance sheet: opening cash plus B18 must equal closing cash. Format the totals with Home > Number > Comma Style or a custom format such as #,##0;-#,##0 so the signs are easy to read.

Statement of cash flows course preview: operating, investing and financing sections in a spreadsheet
The full course works on one fictional outdoor retailer, from classification to free cash flow and a cash flow bridge chart.

Common mistakes and how to spot them

  • Approximate match by accident. =VLOOKUP(B2,$A$22:$B$32,2) without FALSE can return the section of a neighbouring category. Spot it by testing one category you know, or switch to XLOOKUP.
  • Relative references in the lookup range. Without dollar signs the table range slides down as you copy and the last rows return #N/A. Press Ctrl+` and check that every formula points to the same table.
  • Netting different flows. Showing the new 1.20 million loan and the 1.80 million repayment as one net outflow of 0.60 million hides information. IAS 7 generally requires major gross receipts and payments to be shown separately, with narrow exceptions for fast-turning items.
  • Putting the gain on an asset sale in investing. Only the cash proceeds go to investing. The gain is a non-cash item in the reconciliation of net income.
  • Treating all capital spending as investing. Repairs and other costs that are expensed are operating, even if the invoice says “equipment”. Only amounts recognised as an asset qualify.
  • Inconsistent interest policy. Interest in operating one year and in financing the next makes trends meaningless. Write the policy next to the mapping table.
  • Sign errors. If operating cash flow comes out larger than customer receipts, an outflow was entered as positive. A quick =COUNTIF(C2:C12,"<0") tells you how many outflows you expect.
  • Forgetting non-cash transactions. Leases signed, debt converted into shares and assets swapped do not belong in the three sections but must be disclosed elsewhere in the financial statements.

Quick reference: Excel functions and shortcuts used

Quick reference for this lesson.
Function or shortcutWhat it does hereExample
VLOOKUPFinds the section for a category in the mapping table (exact match)=VLOOKUP(B2,$A$22:$B$32,2,FALSE)
XLOOKUPSame lookup, no column number, works left or right (Excel 365 / 2021+)=XLOOKUP(B2,$A$22:$A$32,$B$22:$B$32)
IFNAShows a readable flag instead of #N/A for an unmapped category=IFNA(VLOOKUP(B2,$A$22:$B$32,2,FALSE),"Map me")
SUMIFTotals the amounts of one section=SUMIF($D$2:$D$12,A15,$C$2:$C$12)
SUMIFSTotals with several conditions, e.g. section and inflows only=SUMIFS($C$2:$C$12,$D$2:$D$12,"Operating",$C$2:$C$12,">0")
COUNTIFCounts transactions per section=COUNTIF($D$2:$D$12,"Financing")
F4 (Windows) / Cmd+T (Mac)Toggles absolute references such as $A$22:$B$32 while editingSelect the range in the formula, press F4
Ctrl+DFills the formula from the top cell down a selected rangeSelect D2:D12, press Ctrl+D
Ctrl+`Shows formulas instead of results, handy for a reviewPress again to switch back

Real-world uses

  • Monthly management reporting. Map the bank export of a small company to the three sections and the owner sees each month whether the business funds itself or relies on the bank.
  • Year-end close. Auditors expect a cash flow statement that ties to the balance sheet. A documented mapping table makes the classification easy to review and to roll forward to next year.
  • Lending decisions. A bank credit analyst checks whether operating cash flow covers interest and scheduled repayments. With Fenmoor, 5.70 million of operating cash against 1.80 million of repayments is a comfortable starting point.
  • Comparing companies. Before comparing the operating cash flow of an IFRS reporter with a US GAAP reporter, reclassify interest and dividends so both use the same policy.
  • Exam preparation. Classification questions appear in introductory and professional accounting exams. Practising with a lookup table forces you to decide each category once and justify it.

What you will build in the rest of this course

This first lab is free. The remaining 19 labs are part of the paid course (USD 9.90 one-time) and continue with the same fictional company, so every number you meet connects to the ones before.

The Indirect Method: From Net Income to Cash, Non-Cash Items First. Most companies do not list customer receipts at all. You start from Fenmoor’s net income and add back depreciation, amortisation and share-based pay, and remove the gain on the equipment sale, the way published statements are actually built.

Working Capital Changes from Two Balance Sheets: the Sign Logic. Receivables up means cash down, payables up means cash up. You compare two year-end balance sheets, turn every change into its cash effect with the right sign and finish operating cash flow.

Investing Activities from the PP&E Roll-Forward: Capex, Disposals and Gains. Capital expenditure is rarely given to you. You back it out of the PP&E movement, find the accumulated depreciation on the vans that were sold and check the gain against the income statement.

Financing Activities: Debt, Dividends and Share Buybacks. You rebuild new borrowing, repayments, dividends actually paid and the buyback from balance sheet movements, and spot a share issue that did not involve cash.

The Direct Method and Its Reconciliation to the Indirect Method. You calculate cash from customers, to suppliers and for operating expenses line by line and prove that both methods give the same operating cash flow.

Free Cash Flow: FCF, FCFF, FCFE and Cash Conversion. You calculate free cash flow three ways over three years and learn which version belongs to all investors and which to shareholders only, the numbers a valuation model is built on.

Cash Flow Quality: CFO/Net Income, the Accrual Ratio and a Bridge Chart. You judge whether Fenmoor’s profit is backed by cash with two ratios and draw the bridge from net income to operating cash flow as a waterfall chart. The course ends with a final exam for the Tabellab certificate in the statement of cash flows.

Summary

Every cash flow belongs to operating, investing or financing, and the counterparty test (customers and suppliers, long-term assets, lenders and shareholders) settles most cases. The grey zones are interest, dividends and taxes: know the IFRS options and the US GAAP rules and apply your policy consistently. In Excel, a mapping table with an exact-match lookup classifies hundreds of transactions as reliably as eleven, SUMIF totals the sections and a zero-check cell proves the result. Fenmoor generated 5.70 million of operating cash, invested 3.52 million and paid out 2.90 million, so its cash fell by 0.72 million.

Now try it yourself in the lab above: fill D2:D12 with VLOOKUP or XLOOKUP, total the three sections with SUMIF and answer the US GAAP question in B19. The Coach checks your formulas as you go.
Fenmoor Outdoor Co. is fictional and all figures are illustrative. This lesson explains general IAS 7 and ASC 230 concepts for education only. It is not accounting, tax or investment advice and is not affiliated with the IFRS Foundation, the IASB or the FASB.

Frequently asked questions

What are the three sections of a statement of cash flows?

Operating activities (the cash side of day-to-day business), investing activities (buying and selling long-term assets and investments) and financing activities (cash from and to lenders and shareholders). Their totals add up to the net change in cash and cash equivalents.

Is interest paid an operating or a financing cash flow?

Under US GAAP interest paid is an operating cash flow. Under IAS 7 a company may present it in operating or financing activities, but must apply the choice consistently; IFRS 18 narrows this choice for periods beginning on or after 1 January 2027.

Where do dividends paid go on the cash flow statement?

US GAAP requires dividends paid to be shown in financing activities. IAS 7 allows financing or operating, and most IFRS reporters choose financing.

Is the purchase of equipment always an investing cash flow?

Only if the cost is recognised as an asset on the balance sheet. Repairs and other spending that is expensed belongs to operating activities.

How do I classify cash flows quickly in Excel?

Create a mapping table of each transaction category and its section, then use =VLOOKUP(B2,$A$22:$B$32,2,FALSE) or XLOOKUP to look up the section. Total each section with SUMIF and check that the three totals equal the sum of all transactions.

Why must the cash flow statement reconcile to the balance sheet?

Opening cash plus the net change in cash must equal closing cash on the balance sheet. If it does not, a transaction is missing, duplicated or has the wrong sign.

Keep going: Statement of Cash Flows: Indirect Method, Working Capital & Free Cash Flow

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.

  1. The Indirect Method: From Net Income to Cash, Non-Cash Items First
  2. Working Capital Changes from Two Balance Sheets: the Sign Logic
  3. Investing Activities from the PP&E Roll-Forward: Capex, Disposals and Gains
  4. Financing Activities: Debt, Dividends and Share Buybacks
  5. The Direct Method and Its Reconciliation to the Indirect Method
  6. Free Cash Flow: FCF, FCFF, FCFE and Cash Conversion
  7. Cash Flow Quality: CFO/Net Income, the Accrual Ratio and a Bridge Chart
  8. Capex on Credit and Non-Cash Deals: What Stays Out of the Three Sections
  9. Interest Paid vs Interest Expense: Accruals, Fee Amortisation and Capitalised Interest
  10. Income Taxes in the Cash Flow Statement: Current, Deferred and Tax Actually Paid
  11. Receivables with a Bad-Debt Allowance: Net vs Gross Route and the Double-Count Trap
  12. The Balance Sheet Proof of Cash: Every Line Mapped, the Difference at Zero
  13. Leases in the Cash Flow Statement: Principal, Interest and Short-Term Rentals
  14. Buying a Business: Net of Cash Acquired and Clean Working Capital Changes
  15. Foreign Currency Cash: the Effect of Exchange Rate Changes Line
  16. Quarterly Cash Flows: Discrete Quarters from Year-to-Date Reports and a Seasonality Chart
  17. Comparing Peers: Reclassifying Interest and Dividends Before You Compare CFO
  18. Reviewing a Draft Cash Flow Statement: Line Checks, Section Totals and Red Flags
  19. Final Project: Fenmoor's FY2027 Cash Flow Statement and Lender Dashboard

Buy course — $9.90 See the full course