Case 5: 13-week cash flow forecast

A profitable business can still run short of cash when money moves at the wrong time. The 13-week forecast shows week by week when things get tight, and you build it from a plain list of payments.

In short: receipts per week with SUMIFS on three conditions (date from Monday, date before the next Monday, amount above 0), payments the same with "<0", closing = opening + receipts − payments, and each week opens with the previous closing balance. The summary uses defined names instead of cell references.

The situation

Mid-November. Before renewing the credit line, the bank wants to see a cash forecast to mid-February, and management wants to know whether cash gets tight over the year end. Accounts has put every known and expected payment for the coming weeks into a list: customer receipts by due date, supplier invoices, salaries, rent, taxes and the loan installment. The bank balance on Monday 16 Nov 2026 is 64,000. Internally, the business keeps a minimum cash balance of 25,000.

The workbook sheet by sheet

  • Payments: date, category and amount, receipts positive, payments negative. One payment already falls after the forecast period.
  • Cash: opening balance and minimum cash at the top, then 13 rows with the Monday of each week and the columns opening, receipts, payments, closing and flag.
  • Summary (task 2): one page for management with the key figures.

Task 1: the weekly plan

Task 13-week cash flow forecast from Monday 16 Nov 2026. B4 takes the opening balance from B1; from B5 on, each week opens with the previous week's closing balance. C4:C16 adds up the week's receipts: positive amounts from the Payments sheet dated on or after the Monday in column A and before the next Monday. D4:D16 are the week's payments as a positive number. E4:E16 is the closing balance, and F4:F16 shows "below minimum" when it is under the minimum cash in D1, otherwise "ok".

ABCDEFG
1 Opening balance 64000 Minimum cash 25000
2
3 Week from Opening Receipts Payments Closing Flag
4 16 Nov 2026
5 23 Nov 2026
6 30 Nov 2026
7 7 Dec 2026
8 14 Dec 2026
9 21 Dec 2026
10 28 Dec 2026
11 4 Jan 2027
12 11 Jan 2027
13 18 Jan 2027
14 25 Jan 2027
15 1 Feb 2027
16 8 Feb 2027
17
18

Step 1: roll the balance forward

B4 is =B1. From B5 on it is =E4: each week opens with the previous week's closing balance. Those are two different formulas, so they are two separate targets.

Step 2: receipts and payments per week

A week is a period: from the Monday in A4 up to, but not including, the next Monday. As criteria that reads ">="&A4 and "<"&A4+7. The third condition separates receipts from payments by sign:

=SUMIFS(Payments!$C$2:$C$33,Payments!$A$2:$A$33,">="&A4,Payments!$A$2:$A$33,"<"&A4+7,Payments!$C$2:$C$33,">0")

Payments use the same formula with "<0" and a minus in front, so they show as positive numbers. Using "<" rather than "<=" stops the next Monday from counting twice.

Step 3: closing balance and flag

E4 = B4 + C4 − D4. F4 compares with minimum cash: =IF(E4<$D$1,"below minimum","ok"). In a real file you would also shade the row with conditional formatting.

Task 2: summary with defined names

For management, four numbers matter: the low point, when it happens, how many weeks fall below minimum cash and how much money is missing. In this workbook the ranges are defined names: ClosingCash, WeekNo and MinCash. A formula like =COUNTIF(ClosingCash,"<"&MinCash) then makes sense even to someone who did not build the file.

Task You sum up the 13-week plan on one page for management. The workbook has the defined names ClosingCash, WeekNo and MinCash (Cash sheet); use them instead of cell references. B1: lowest closing balance, B2: the number of the week it happens in, B3: number of weeks below minimum cash, B4: the first week below minimum cash, B5: the extra funds needed so that even the lowest point reaches minimum cash (never negative).

ABC
1 Lowest closing balance
2 In week no.
3 Weeks below minimum
4 First week below minimum
5 Funding need
6
7

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

The first week below minimum comes from MINIFS: the smallest week number whose closing balance meets the condition. The funding need is =MAX(0,MinCash-B1). MAX with 0 prevents a negative number when everything is fine.

Common mistakes

Week boundaries counted twice or not at all

With "<="&A4+7, a Monday payment lands in two weeks. With "<"&A4+6, Sunday payments go missing. The half-open period, from Monday and before the next Monday, never leaves a gap.

Payments outside the period

The payment on 16 Feb 2027 falls after week 13. A total over the whole list without a date limit would pull it into the last week.

Missing sign

Without the minus in front of the payments formula, column D holds negative payments, and B4+C4-D4 adds them instead of subtracting.

Check your result

  • Week 1 closes at 86,000, the low point is 4,600 in week 7 (from 28 Dec 2026), and week 13 closes at 73,100.
  • Control: opening balance plus all receipts minus all payments over the 13 weeks must equal the last closing balance. Payments up to 14 Feb 2027 count; the one on 16 Feb does not.
  • Task 2: low point 4,600 in week 7, three weeks below minimum, the first being week 6, funding need 20,400.

The functions in German Excel

EnglishGerman
SUMIFSSUMMEWENNS
IFWENN
COUNTIFZÄHLENWENN
MINIFSMINWENNS
XLOOKUPXVERWEIS
MIN, MAXMIN, MAX

In German, this plan is called 13-Wochen-Liquiditätsplanung, and minimum cash Mindestbestand.

Excel versions

According to Microsoft, MINIFS is available in Excel 2019 and later and in Microsoft 365, and XLOOKUP in Excel 2021 and later and in Microsoft 365. In older versions, use =INDEX(WeekNo,MATCH(B1,ClosingCash,0)) for the week of the low point and a helper column with IF for the first week below minimum. Everything in task 1 works in every current version. For a ready-made monthly plan, see the cash flow template.

Next: case 6, KPI dashboard and break-even

To finish, you build the dashboard management opens first every month and work out the break-even point for a new product.

Go to case 6

Back to the course overview.

Write to us

Choose language

Select your preferred language