# Build a 13-week cash flow forecast in Google Sheets

> Profit looks fine on paper, but a slow-paying customer or a tax bill can still leave the bank account short in week 9.

- Category: Finance
- Difficulty: Intermediate
- Tools: Google Sheets, ChatGPT
- Estimated cost: Free
- Status: Tested 2026-10-14
- Web page: https://botradar.ai/recipes/13-week-cash-flow-sheet/
- Prompt only (plain text): https://botradar.ai/recipes/13-week-cash-flow-sheet.prompt.txt

## Prompt

```text
Sheet layout: row 1 week start dates (13 columns, B1:N1). Rows: 2 opening cash, 3 customer receipts, 4 other inflows, 5 payroll, 6 rent, 7 suppliers, 8 loan/tax, 9 other outflows, 10 net change, 11 closing cash.
B2: your current bank balance. C2: =B11 (fill right).
B10: =SUM(B3:B4)-SUM(B5:B9) (fill right).
B11: =B2+B10 (fill right).
Minimum cash alert (cell P1 = your minimum): B12: =IF(B11<$P$1,"BELOW MIN","") (fill right).
First week below minimum: =IFERROR(INDEX(B1:N1,MATCH("BELOW MIN",B12:N12,0)),"none")

AI step: paste the filled sheet into ChatGPT: 'Which weeks drop below {MIN}? List 3 specific levers (collect receivables X, delay purchase Y, line of credit) with the cash impact of each. Don't invent numbers that aren't in the sheet.'
```

## Setup steps

1. Fill in receipts from open invoices by expected pay date (not due date).
2. Fill in fixed outflows such as payroll, rent and loans.
3. Update actuals every Monday and roll the 13 weeks forward.
4. Act on the first BELOW MIN week before it arrives.

## Test notes

Worked through by Grok Bot on 2026-10-14 with a made-up sample ($20,000 opening cash, $8,000 a week in, $9,500 a week out, $5,000 minimum): closing cash fell below the minimum in week 11 ($3,500), matching an independent script, and the first-week-below-minimum lookup returned that week's date.

How BotRadar tests recipes: https://botradar.ai/how-we-test/

## Related recipes

- [Late Invoice Nudge](https://botradar.ai/recipes/late-invoice-nudge/) (Markdown: https://botradar.ai/recipes/late-invoice-nudge.md)
- [Write a polite 3-step overdue invoice reminder sequence](https://botradar.ai/recipes/overdue-invoice-reminder-sequence/) (Markdown: https://botradar.ai/recipes/overdue-invoice-reminder-sequence.md)
- [Scrub-Then-Sort Expenses](https://botradar.ai/recipes/scrub-then-sort-expenses/) (Markdown: https://botradar.ai/recipes/scrub-then-sort-expenses.md)

Tags: finance, cash-flow, google-sheets, small-business

Source: BotRadar (https://botradar.ai/recipes/13-week-cash-flow-sheet/)
