TL;DR Have AI build a 13-week cash forecast as live formulas you can audit, prove every week ties, then stress it with late-paying customers. In our sample company, a 20% two-week slip in collections pushes cash below the $500,000 covenant in weeks 5 and 7. The forecast is only worth building if it ends in a decision, so this lesson ends with one.
The AI Finance Workbench, lesson 5 of 8. Free hands-on lessons on one made-up company, with prompts, answer keys and self-checks. See all eight lessons or download the sample workbook (Excel).
All lessons
- Lesson 1: Set up your workbench and the five-line finance prompt
- Lesson 2: Clean and map a messy GL export
- Lesson 3: Write branch variance commentary
- Lesson 4: Catch duplicate invoices and reconcile the bank
- Lesson 5: Build and stress a 13-week cash forecast (you are here)
- Lesson 6: Audit a spreadsheet model
- Lesson 7: Turn the month into a board narrative
- Lesson 8: Capstone: your weekly review, scored
What you’ll practice
- Getting an AI assistant to build a 13-week cash forecast as a spreadsheet of formulas, not a paragraph of prose.
- Proving the forecast ties: opening cash plus collections minus disbursements equals ending cash, every week, with control totals.
- Running a late-collections scenario, finding the covenant breach weeks, and turning the gap into a decision.
Time: about 30 minutes. You need the free sample workbook (Excel) and any AI assistant that can read an uploaded spreadsheet. Larkspur Supply Co. is a made-up company and every number in the file is invented, so it is safe to upload anywhere.
Why a sheet, not a story
Ask an AI “what does our cash look like next quarter?” and you get a confident paragraph. You can’t audit a paragraph, change one assumption in it, or hand it to a lender.
Our view: the AI’s job is to build the grid (weeks across, sources and uses down, ending cash at the bottom) with formulas that point back to the inputs. Your job is to check the grid and make the call. For background, see our guides to a 13-week cash flow in a PE-backed business and a rolling 13-week cash flow with AI.
The inputs you are working from
Open sheet 4_Cash_Inputs. Every number the forecast needs is on that one sheet, each with a timing rule beside it: receivables by aging bucket, new weekly billings, existing AP, inventory purchases, payroll, rent, a term loan payment and other costs. Week 1 starts Monday, October 5, 2026.
Two inputs matter most. Opening cash is $1,284,731.85, the reconciled book balance from lesson 4. And the covenant says cash must stay at or above $500,000 at every week end.
Step 1: Build the base forecast as formulas
- Upload the workbook and paste the prompt below (the five-line format from lesson 1).
- If your assistant can’t hand back a spreadsheet, ask for the table plus each row’s formula written out, and build it yourself. Either way, you want formulas you can inspect.
JOB: You are an FP&A analyst building a 13-week cash forecast for Larkspur Supply Co. (a made-up company).
DATA: The attached workbook, sheet 4_Cash_Inputs. US dollars. Week 1 starts Monday Oct 5, 2026. Opening cash is cell B2.
RULES: Apply each timing rule in column C exactly as written. Spread "evenly" means equal amounts in each listed week. Collect only half of the 61-90 day bucket and none of the 90+ bucket. New billings are first collected in week 5; new purchases are first paid in week 5. Payroll in odd weeks only. Do not add any cash item that is not on the sheet. If a rule is unclear, stop and ask me.
OUTPUT: A new sheet "13wk_Base". Weeks 1 to 13 as columns. Rows: opening cash; one row per collection source; total collections; one row per disbursement type; total disbursements; net cash flow; ending cash; covenant (500,000); headroom (ending minus covenant). Every cell after the inputs must be a formula that references 4_Cash_Inputs or another cell, not a typed number.
PROOF: Add a check row: opening + total collections - total disbursements - ending = 0 for every week. Give 13-week totals for collections and disbursements. Name the lowest week and its ending cash. List every assumption you made.
Step 2: Prove it ties before you read it
Check the plumbing before you read the low point.
- The roll-forward. Each week’s opening cash must equal the prior week’s ending cash, and the check row must be zero in all 13 columns.
- Collections control total. Existing receivables you expect to collect: 3,420,000 + 610,000 + 188,000 + 37,000 = $4,255,000. New billings collected in weeks 5 to 13: 9 x 1,180,000 = $10,620,000. Total: $14,875,000.
- Disbursements control total. Existing AP $3,330,000, new purchases 9 x 830,000 = $7,470,000, payroll 7 x 316,000 = $2,212,000, rent 4 x 155,000 = $620,000, term loan $210,000, other 13 x 78,000 = $1,014,000. Total: $14,856,000.
- Spot-check one week by hand. Week 1: 1,284,731.85 + 1,058,333 - 1,409,000 = $934,065. If the AI’s week 1 is different, find out why before you go further.
If the totals tie, the base case says: the low point is week 5 at $893,232, and week 13 ends at $1,303,732. Comfortable, on paper.
Step 3: Stress it with late payers
The base case assumes everyone pays on schedule. The scenario on the input sheet says your largest customers slow down: 20% of each week’s collections arrives two weeks later than planned.
JOB: Same FP&A analyst. Add a stress case to the forecast you just built.
DATA: Sheet 13wk_Base and the scenario row on 4_Cash_Inputs (row 16).
RULES: For every week, keep 80% of that week's base collections in the same week and move 20% two weeks later. Collections that would move past week 13 fall outside the forecast window; do not pull them back into week 13 and do not treat them as bad debt. Disbursements do not change. Keep the slip percent (20%) and the delay (2 weeks) in their own input cells so I can change them.
OUTPUT: A new sheet "13wk_Slip" with the same layout as 13wk_Base, plus a row that flags any week where ending cash is below 500,000. Then a short table: week, base ending cash, scenario ending cash, difference.
PROOF: Show that scenario collections plus collections pushed past week 13 equal base collections. Show the same check row (opening + collections - disbursements - ending = 0). Name every covenant breach week and the shortfall in dollars.
What you should see: cash drops below $500,000 in week 5 ($463,732) and again in week 7 ($454,032), which is the term loan week. Week 13 ends at $831,732. The gap to base at week 13 is $472,000, which is exactly the 20% of weeks 12 and 13 collections that slipped past the window. That cash isn’t lost. It lands after week 13, and the forecast should say so.
Step 4: Turn the gap into a decision
A forecast that stops at “we breach in week 5” hasn’t done its job. Have the AI size the gap and test the levers.
JOB: Same analyst, now preparing options for the CFO.
DATA: Sheet 13wk_Slip.
RULES: Use only the numbers in the workbook. Do not assume a revolver size, interest rate or vendor terms that are not in the file; mark anything I must confirm. Test each lever separately against the 500,000 covenant.
OUTPUT: A table with one row per lever: (1) a revolver draw before week 5 that stays drawn through week 7; (2) deferring one week of inventory payments by one week; (3) collecting the slipped receivables on time. Columns: lever, smallest amount that clears both breach weeks, which weeks it fixes, what I need to confirm.
PROOF: For each lever, show the new ending cash for weeks 5 and 7 and the formula you changed.
What the numbers say:
- The shortfall is small. $36,268 at week 5 and $45,968 at week 7. Any fix must clear about $46,000 and be in place by week 5.
- A revolver draw of at least $46,000, made before week 5 and held through week 7, clears both weeks. Sheet 6_KPIs shows nothing drawn today, but not the facility size or terms; confirm those in the credit agreement.
- Deferring a purchase is a one-week patch. Pushing the $830,000 week 5 inventory payment to week 6 fixes week 5 only; week 7 is still short.
- Calling the late payers attacks the cause. If the slipped 20% comes in on time, you are back to the base case.
Our call: line up the revolver draw now as the backstop, call the largest late payers this week, and treat supplier deferrals as the last lever, not the first. A $46,000 problem you see seven weeks out is a phone call. The same problem found in week 5 is a covenant conversation with your lender.
What a good answer looks like
Show the answer key
Base case. Opening cash $1,284,731.85. Dollars rounded to the nearest whole dollar.
| Week | Collections | Disbursements | Ending cash |
|---|---|---|---|
| 1 | 1,058,333 | 1,409,000 | 934,065 |
| 2 | 1,105,333 | 923,000 | 1,116,399 |
| 3 | 1,105,333 | 1,214,000 | 1,007,732 |
| 4 | 911,250 | 883,000 | 1,035,982 |
| 5 | 1,236,250 | 1,379,000 | 893,232 (low point) |
| 6 | 1,189,250 | 908,000 | 1,174,482 |
| 7 | 1,189,250 | 1,434,000 | 929,732 |
| 8 | 1,180,000 | 908,000 | 1,201,732 |
| 9 | 1,180,000 | 1,379,000 | 1,002,732 |
| 10 | 1,180,000 | 908,000 | 1,274,732 |
| 11 | 1,180,000 | 1,224,000 | 1,230,732 |
| 12 | 1,180,000 | 908,000 | 1,502,732 |
| 13 | 1,180,000 | 1,379,000 | 1,303,732 |
| Total | 14,875,000 | 14,856,000 |
Scenario: 20% of each week’s collections arrives two weeks late. Disbursements are unchanged.
| Week | Collections | Ending cash | Below $500,000? |
|---|---|---|---|
| 1 | 846,667 | 722,399 | No |
| 2 | 884,267 | 683,665 | No |
| 3 | 1,095,933 | 565,599 | No |
| 4 | 950,067 | 632,665 | No |
| 5 | 1,210,067 | 463,732 | Yes, short 36,268 |
| 6 | 1,133,650 | 689,382 | No |
| 7 | 1,198,650 | 454,032 | Yes, short 45,968 (term loan week) |
| 8 | 1,181,850 | 727,882 | No |
| 9 | 1,181,850 | 530,732 | No |
| 10 | 1,180,000 | 802,732 | No |
| 11 | 1,180,000 | 758,732 | No |
| 12 | 1,180,000 | 1,030,732 | No |
| 13 | 1,180,000 | 831,732 | No |
| Total | 14,403,000 |
Tie-out: scenario collections $14,403,000 plus $472,000 pushed past week 13 equals base collections of $14,875,000. Week 13 ending cash is $472,000 lower than base for the same reason.
Where AI goes wrong on this task
Our view of the most common traps:
- It writes prose instead of a model. A narrative with a few numbers can’t be audited. If the output has no formulas, send it back.
- It grabs the wrong opening cash. The file mentions book cash and bank cash elsewhere. The forecast starts from the reconciled $1,284,731.85, and the prompt says so on purpose.
- It collects money you said you wouldn’t. Watch the doubtful half of the 61 to 90 day bucket and the $41,000 over 90 days. Both should be zero in the base case.
- It “fixes” the scenario’s ending balance. Collections that slip past week 13 get pulled back into week 13, or written off as bad debt. Neither is right: they are timing outside the window.
- It tests the covenant on the wrong number. An average balance or the week 13 ending balance can look fine while two week ends breach. Check every week end.
What stays with a person
The AI can size the gap. It can’t call a customer, interpret your credit agreement, or decide to draw on a revolver. Whether a week-end dip is a breach depends on how your covenant is written and tested; that reading, and any conversation with the lender, belongs to you. Someone who owns the relationships signs off on which lever you pull.
For when you outgrow a spreadsheet, our guide to AI cash forecasting and treasury software covers what dedicated tools add. More guides live in our AI in finance hub.
Check yourself
Why does the forecast start from $1,284,731.85 and not the bank balance?
The bank balance misses outstanding checks and the deposit in transit; the unadjusted book balance misses the bank fee, interest and the check transposition. The reconciled balance from lesson 4 is the true starting position.
Why are there no collections from new billings in weeks 1 to 4?
New billings start in week 1 and are collected four weeks after billing, so the first cash arrives in week 5. Weeks 1 to 4 are funded by existing receivables. Inventory purchases follow the same four-week lag on the payment side.
The scenario’s week 13 is $472,000 below base. Is that cash lost?
No. It is 20% of the week 12 and week 13 collections ($236,000 each), which now land in weeks 14 and 15, outside the window. A good forecast says that in a note instead of treating it as a write-off.
Why doesn’t deferring one inventory payment from week 5 to week 6 solve the problem?
It lifts week 5 by $830,000, but by the end of week 6 the payment has gone out anyway, so week 6 ends where it did and week 7 is still $45,968 short. A deferral fixes one week; the term loan week needs its own fix.
What’s the smallest single action that clears both breach weeks?
About $46,000 of extra cash in place before week 5 and still there at the end of week 7, for example a revolver draw, assuming availability you confirm in the credit agreement. In practice you’d add a cushion above the bare minimum.
Your turn: try it on your own numbers
Run the same prompts on your own aging, AP schedule and payroll calendar, and swap in the risk you actually worry about: a big customer paying 30 days late, or a payroll week next to a debt payment. Before you upload anything real, reread lesson 1: company cash data only goes into a business or enterprise AI plan your company has approved.
Next: Lesson 6: Audit a spreadsheet model with AI before it reaches the board
Put AI to work on your own numbers
The free 25-Prompt CFO Pack: copy-paste prompts for the weekly review, variance analysis, board decks, forecasting and hiring that work in ChatGPT, Claude or Copilot. Free, straight to your inbox.
