Cash Flow Forecast Template in Excel (Step by Step)
Listen to this article
A cash flow forecast in Excel is a month-by-month plan of cash in, cash out, and the balance you will have left. You start with opening cash, add inflows, subtract outflows, and carry each month’s closing balance into the next month. This guide builds a 12-month template for a small business, with a Base / Best / Worst drop-down, a closing-cash chart, a minimum-cash alert, a downloadable workbook, and the exact formulas to copy.
Profit and cash are not the same thing. A job can be profitable on paper and still leave you short if customers pay late or a large bill lands first. MagnÜron’s guide to cash flow vs. profit explains that gap. The Money hub, the free Money Basics course, and the business calculators cover the same numbers from other angles. This article is the Excel build. The drop-down, chart, and conditional formatting follow the same habits as the dynamic Excel dashboard guide.

What You Will Build
The sample is a fictional small service business, January through December 2027, starting with $22,000 in the bank and a $12,000 minimum cash balance. All figures in this article come from that sample. They are for practice only.
On the Base scenario, the dashboard shows:
- Year-end cash: $41,600
- Year net cash flow: $19,600
- Lowest closing cash: $18,950 in March
- Months below the minimum: 0
Cash dips in March because of a $4,000 equipment purchase, then rebuilds. In the Best case, year-end cash is $63,530 and the low is $23,670, still in March. In the Worst case, collections are slower, the June rebate does not arrive, and a $1,000 February repair lands just before the same equipment purchase. Closing cash then falls below $12,000 in March, April, and May, with a low of $10,753 in April, and ends the year at $13,030.
The download already includes the 12-month grid, the scenario drop-down, SUMIFS and INDEX/MATCH formulas, the chart, the comparison table, and the minimum-cash alert. It has no macros and does not use XLOOKUP, so it calculates in current Excel and in the LibreOffice test used to check the file.

Step 1. Lay Out a 12-Month Grid
Put the report on three sheets: Assumptions for the monthly figures, Forecast for the math, and Dashboard for the drop-down, KPIs, and chart. A year of months works well across the columns, with line items down the rows.
On the Forecast sheet, use one header row — January through December — and these stubs:
- Opening cash
- Inflows (Collections, Other income, then Total inflows)
- Outflows (Payroll, Rent, Materials, Loan payment, Other operating, Equipment & repairs, then Total outflows)
- Net cash flow
- Closing cash
- Below minimum?
Keep one line for each kind of cash movement you actually have. Do not mix a P&L accrual, such as a sale you have not collected, into Collections. If you invoice in March and expect the money in April, the cash belongs in April.
Step 2. Enter Opening Cash and the Monthly Line Items
Type your starting cash once, in a clearly labeled cell. In the sample workbook that cell is Dashboard!F3, and it starts at $22,000. Type your minimum cash in Dashboard!I3, which starts at $12,000.
Put the monthly assumptions on their own sheet, with one row for each line item and scenario. The sample uses columns for Line item, Type (Inflow or Outflow), Scenario (Base, Best, or Worst), and then January through December. Base collections start at $12,600 in January, dip to $11,000 in February, and peak at $16,000 in June. Payroll is $6,400 most months and $7,200 in December. Rent is $2,200 and the loan payment is $650 every month. Other operating costs are $900, except $1,800 in April for an annual insurance bill. Equipment & repairs is $4,000 in March on every scenario, plus $1,000 in February in the Worst case only. Other income is $900 in June on Base and Best, and $0 in Worst.
Do not type opening, totals, net, or closing by hand on the Forecast sheet. Those are formulas.
Step 3. Write the Opening, Net, and Closing Formulas
January opening cash is the starting balance:
=Dashboard!$F$3
Each later month’s opening cash is the previous month’s closing cash. If January is column B and closing cash is row 19, February opening is:
=B19
Total inflows is the sum of the inflow lines, and total outflows is the sum of the outflow lines. In the sample, January is:
=B7+B8
=B11+B12+B13+B14+B15+B16
Net cash flow and closing cash are:
=B9-B17
=B5+B9-B17
In words: net is money in minus money out, and closing is opening plus that net (or opening plus inflows minus outflows). Copy the formulas across all 12 months. A Year column can sum the flow rows and show December’s closing cash as the year-end balance.
To pull Collections for the selected scenario into Forecast cell B7, use SUMIFS against the Assumptions sheet (January figures are in column D, line item names in column A, scenario names in column C):
=SUMIFS(Assumptions!$D$4:$D$27,Assumptions!$A$4:$A$27,$A7,Assumptions!$C$4:$C$27,Dashboard!$C$3)
The same pattern works for every other line item and month: change the Assumptions column as you move from January to December, and point $A7 at the line-item name in that row. When the drop-down is Base, January collections should be $12,600. If the number is zero, check the spelling of the line item and the scenario.
Step 4. Add a Scenario Drop-Down (Base, Best, Worst)
Select Dashboard cell C3, then Data > Data Validation > List, and point the source at a short list: Base, Best, Worst. In the sample that list lives on a hidden Lists sheet (=Lists!$A$2:$A$4). Leave C3 set to Base while you check the math.
Best and Worst should be real stories, not a flat percentage on every line. In the sample, rent, payroll, and the loan do not change, because those bills still come due. Collections move, the June rebate may or may not arrive, and a repair appears only in the Worst case. That is what makes March dangerous: the $4,000 equipment purchase is in all three scenarios, but only Worst has already used cash on a February repair and weaker collections.
A comparison table that always shows all three scenarios, using the same opening cash and minimum, is worth the extra formulas. The sample builds those independent closings on a Calc sheet so you can see Base, Best, and Worst side by side without flipping the drop-down.
Step 5. Set a Minimum Cash Alert with Conditional Formatting
Pick a minimum you would not want to go below: often one month of outflows, or a number you and your accountant have already agreed on. In the sample, $12,000 is a little less than a typical month’s cash out (about $12,000 to $13,000, before the March equipment purchase).
On the Forecast sheet, add a Below minimum? row:
=IF(B19<Dashboard!$I$3,"Yes","No")
Then select the closing-cash row (B19:M19), go to Home > Conditional Formatting > New Rule, and use a formula:
=B19<Dashboard!$I$3
Format those cells with a red fill. A second rule, =AND(B19>=Dashboard!$I$3,B19<Dashboard!$I$3*1.25), can mark an amber “getting close” zone. Count the red months with =COUNTIF(B20:M20,"Yes"), and find the tightest month with INDEX and MATCH (no XLOOKUP required):
=INDEX(Forecast!B4:M4,MATCH(MIN(Forecast!B19:M19),Forecast!B19:M19,0))
=MIN(Forecast!B19:M19)
On the Dashboard, turn those results into an alert sentence and a “Months below minimum” card. In the sample, Base shows 0 and stays green. Switch the drop-down to Worst and the card should read 3, with the lowest close $10,753 in April.
Step 6. Chart Closing Cash Against the Minimum
Select the 12 closing-cash figures and insert a line chart. Add a second series that is simply the minimum cash amount repeated for each month, so the floor is a straight line you can see. In the sample, Forecast row 23 holds =Dashboard!$I$3 across January through December, and the chart plots closing cash against that line.
Keep the chart 2-D, with one color for closing cash and a dashed line for the minimum. Title it so the comparison is obvious, such as “Closing cash vs. minimum.” If the line never approaches the floor, the minimum may be too low, or the forecast may be too optimistic. If it crosses, you have a month to plan for, which is the point of the model.
Step 7. Check, Share, and Protect the Workbook
Before you trust the file, change opening cash or a single month of collections and confirm that later closings move. On Base, January net should be $550 and closing $22,550. March net should be -$2,750 and closing $18,950. Year-end should be $41,600. If January opening is wrong, the rest of the year will be wrong too.
When a month ends, type the actual opening cash (or the actual close, which becomes the next opening), replace the past month’s forecasts with actuals, and keep the remaining months as a forecast. Refresh is not required for ordinary formulas; they calculate as soon as you edit a cell.
Save the file as .xlsx, not as a CSV, or you will lose the chart, the drop-down, and the formatting. For a snapshot, export a PDF. For a live copy, share it from OneDrive or SharePoint. To limit edits, unlock the input cells (C3, F3, and I3, plus the Assumptions figures), then use Review > Protect Sheet. Sheet protection is a guardrail, not a security system, and it is not a substitute for keeping payroll or customer details out of a file you plan to share widely.
Worked Example: Formulas and Expected Totals
Use this compact version of the sample to check your own build. Opening cash is $22,000. Minimum cash is $12,000.
A typical January on Base: collections $12,600, no other income, outflows $12,050 (payroll $6,400, rent $2,200, materials $1,900, loan $650, other operating $900, no equipment). Net is =12600-12050, or $550. Closing is =22000+550, or $22,550. February opening is that $22,550. February collections fall to $11,000 and outflows are $11,850, so net is -$850 and closing is $21,700.
Full-year results:
- Base: year-end $41,600, net $19,600, low $18,950 in March, 0 months below the minimum
- Best: year-end $63,530, net $41,530, low $23,670 in March, 0 months below
- Worst: year-end $13,030, net -$8,970, low $10,753 in April, 3 months below (March, April, May)
The March equipment purchase is in every scenario. The forecast’s job is to show whether you can fund it. On Base you can. On Worst, after a weak February and a repair, you cannot stay above $12,000 without a plan, such as delaying the purchase, collecting faster, or arranging a short cash reserve.
Key Takeaways
- Opening cash plus inflows minus outflows equals closing cash. Next month’s opening cash is this month’s close.
- Forecast cash, not accrued profit. Put money in the month it will actually move.
- A Base / Best / Worst drop-down is more useful when fixed bills stay fixed and only the uncertain lines change.
- Set a minimum cash balance, flag closes below it with conditional formatting, and chart closing cash against that line.
- Check every new formula against a known total, such as Base January closing at $22,550 and year-end at $41,600, before you make a decision from the forecast.
MagnÜron shop
Want the complete set? The MagnÜron Small Business Finance Toolkit is $29 in the MagnÜron shop. It includes this cash flow forecast plus budget, P&L, break-even and dashboard workbooks, and an 8-page guide.
Frequently Asked Questions
What is a cash flow forecast in Excel?
It is a month-by-month plan of opening cash, inflows, outflows, net cash flow, and closing cash. Each month’s closing balance becomes the next month’s opening balance, so you can see whether a future bill would take you below a minimum you set.
How is a cash flow forecast different from a profit and loss statement?
A P&L records income and expenses when they are earned or incurred. A cash forecast records money only when it comes in or goes out. You can be profitable and still run short of cash if collections lag or a large purchase lands first.
What should I set as the minimum cash balance?
Choose an amount you do not want to go below, often around one month of cash outflows, or a figure you have already agreed on with your accountant. In the sample, $12,000 is just under a typical month’s outflows, so a $4,000 equipment purchase is enough to test the rule.
How do the base, best, and worst scenarios work?
Each line item has three rows of monthly figures. A drop-down tells SUMIFS which row to use. Best and Worst should change the uncertain lines, such as collections or a repair, and leave fixed bills alone unless you have a real reason they would change.
How do I update the forecast each month?
Replace the month that just ended with actual cash in and cash out, set the next opening cash to the actual closing balance, and leave future months as a forecast. Ordinary formulas recalculate as soon as you edit the cells. Change the scenario drop-down to see whether the remaining year still clears your minimum.
