Why the morning cash position is the first job in treasury
Every treasury team, from a two-person finance office to a multinational with an in-house bank, starts the day with the same question: how much cash do we really have, where is it, and what can we do with it today? The answer is called the daily cash position. It sounds simple, but it decides whether payroll goes out on time, whether a supplier is paid early to capture a discount, whether the company draws on its credit line and pays interest, or whether idle money can earn a return overnight.
This free lesson is for finance staff, controllers, founders of growing companies and students who want to understand treasury the practical way: in a spreadsheet, with real-looking numbers. You will follow Harbor Lane Instruments, a fictional manufacturer with four bank accounts in two banks and one foreign-currency account. In the lab above you build its cash position for 14 January 2027, set a minimum cash buffer, and decide how much surplus cash to invest. This article explains the thinking behind each step, shows the exact Excel formulas, and points out the mistakes that cost real companies money.
The real-world problem is fragmentation. Cash rarely sits in one place. Customer payments arrive in a lockbox account, payroll is funded from a separate account, a subsidiary collects euros, and the main operating account pays suppliers. Each bank portal shows only its own piece. Without a consolidated view, a company can be short in one account and long in another at the same time, paying overdraft interest on one side while cash earns almost nothing on the other. A clean cash position fixes that in a few minutes every morning.
The core idea: opening, receipts, payments, closing
For each bank account the arithmetic is the same: Closing = Opening + Receipts − Payments. The opening balance is what the bank reports at the start of the day (usually from the previous day's statement, often delivered as an MT940 or camt.053 file). Receipts are the known incoming amounts for today: customer transfers, card settlements, intercompany funding. Payments are the known outflows: the supplier payment run, payroll, tax, loan instalments, card fees.
Treasurers distinguish between ledger balance (everything booked) and available or value-dated balance (cash you can actually use today). A cheque deposited this morning may be on the ledger but not available until it clears. For decisions you work with available cash and expected flows with today's value date. The lab simplifies this by giving you one receipts and one payments figure per account, which is exactly how many real cash position sheets look at the summary level.
Once each account has a closing figure, you add them up to get the group cash position. That single number is what the treasurer compares with the company's safety level, the minimum cash buffer.
What a minimum cash buffer is and how to size it
A minimum cash buffer is the amount of cash the company keeps on hand so it can keep paying staff and suppliers even if customers pay late or a bank transfer is delayed. Hold too little and a single late receipt forces an expensive overdraft or an embarrassing call to a supplier. Hold too much and money sits idle that could reduce debt or earn interest.
A widely used, easy-to-explain rule is to hold N days of average operating payments. For example, if the company pays out on average $410,000 per working day and the board wants five days of cover, the buffer is 410,000 × 5 = $2,050,000. The number of days is a policy decision: companies with very predictable flows may hold fewer days, companies with seasonal sales, concentrated customers or limited credit lines usually hold more. Some treasuries also add specific items on top, such as the next payroll or a large tax payment due this week.
Surplus or shortfall: the decision
Subtract the buffer from the group closing cash and you get the surplus or the shortfall. A surplus can be invested short-term, for example in a money-market fund, an overnight deposit or a treasury bill, or used to repay a revolving credit facility. A shortfall means the company must draw on its credit line, delay a discretionary payment, or move cash in from another entity.
Two practical rules shape the final number. First, treasurers move money in round amounts, because deals are booked in round lots and because small residuals are not worth the transaction cost. Second, they round down: investing $620,000 when the surplus is $616,820 would push the company below its own buffer. In Excel, ROUNDDOWN(x/10000,0)*10000 rounds down to whole $10,000. Wrapping it in MAX(0, …) makes sure a shortfall never produces a negative investment.
Worked example: Harbor Lane Instruments on 14 January 2027
Here is the full cash position from the lab, with the results you should get. Each closing balance in column E is the opening plus receipts minus payments for that account, and the total row adds them.
| Bank account | Opening ($) | Receipts ($) | Payments ($) | Closing ($) | Formula in E |
|---|---|---|---|---|---|
| Operating · First Harbor Bank | 1,842,300 | 612,450 | 905,780 | 1,548,970 | =B4+C4-D4 |
| Lockbox · Summit Bank | 438,900 | 287,600 | 0 | 726,500 | =B5+C5-D5 |
| Payroll · First Harbor Bank | 15,000 | 0 | 12,400 | 2,600 | =B6+C6-D6 |
| EUR account · Rhein Bank (in $) | 356,200 | 94,300 | 61,750 | 388,750 | =B7+C7-D7 |
| Total | 2,652,400 | 994,350 | 979,930 | 2,666,820 | =SUM(E4:E7) |
The group starts the day with $2,652,400. It expects $994,350 in and $979,930 out, so it ends the day with $2,666,820. Notice how uneven the accounts are. The operating account carries most of the cash, the lockbox has received a large batch of customer payments and has no outflows, and the payroll account is down to $2,600 after today's payroll-related payments. A treasurer would immediately ask whether the payroll account needs topping up from the lockbox before the next pay date. That is the kind of insight a cash position gives you that a single bank portal never will.
Now the buffer and the decision. With average daily operating payments of $410,000 and five days of cover, the buffer is $2,050,000. Closing cash of $2,666,820 minus the buffer leaves a surplus of $616,820. Rounded down to whole $10,000, Harbor Lane can invest $610,000 and keeps $6,820 above the buffer as a small cushion.
| Line | Cell | Formula | Result |
|---|---|---|---|
| Average daily operating payments | B10 | input | $410,000 |
| Days of payments held as buffer | B11 | input | 5 |
| Minimum cash buffer | B12 | =B10*B11 | $2,050,000 |
| Surplus / (shortfall) vs buffer | B13 | =E8-B12 | $616,820 |
| Amount to invest (whole $10,000) | B14 | =MAX(0,ROUNDDOWN(B13/10000,0)*10000) | $610,000 |
If tomorrow a large customer pays late and receipts are $700,000 lower, the same sheet would show closing cash of $1,966,820, a shortfall of $83,180 against the buffer and an investment of zero, because MAX(0, …) catches the negative number. That is why the formula matters: the sheet stays correct on bad days, not only on good ones.
How to build it in Excel, step by step
- Open a new workbook and type the title in A1, for example Cash position, 14 Jan 2027. Put the headers Bank account, Opening, Receipts, Payments, Closing in A3:E3 and make them bold with Ctrl + B.
- Enter one row per bank account in A4:A7 and the opening balances, receipts and payments in B4:D7. In practice you paste these from the bank statement export or the treasury management system.
- Click E4 and type
=B4+C4-D4. Press Enter. Select E4:E7 and press Ctrl + D to fill the formula down. - Click E8 and press Alt + = (AutoSum) or type
=SUM(E4:E7). Do the same for B8:D8 to total each column. A quick check:=B8+C8-D8must equal E8. - Format the money cells: select B4:E8, press Ctrl + 1, choose Number, zero decimals and Use 1000 separator.
- In A10:A14 type the labels for average daily payments, days of cover, minimum buffer, surplus or shortfall, and amount to invest. Enter 410000 in B10 and 5 in B11 as inputs, ideally with a light fill colour so everyone knows they can be changed.
- In B12 type
=B10*B11. In B13 type=E8-B12. - In B14 type
=MAX(0,ROUNDDOWN(B13/10000,0)*10000). Check that it returns 610,000. - Optional: add conditional formatting so a shortfall turns red. Select B13, go to Home → Conditional Formatting → Highlight Cells Rules → Less Than, enter 0 and pick a red fill.
- Press Ctrl + ` to show all formulas and scan them before you share the sheet. Press it again to return to values.

Making the sheet robust for daily use
A sheet you use once is a calculation. A sheet you use every morning is a tool, and tools need a few extra safeguards. First, add a control check below the table, for example =ROUND(B8+C8-D8-E8,2), which must show zero. If someone overwrites a closing formula with a typed number, the check flags it immediately.
Second, show the exchange rate used for the EUR account in its own cell, with the date and source, and convert with a formula such as =B20*B21 (euro balance times the EUR/USD rate) instead of typing the dollar amount. That keeps the foreign account auditable and prepares the ground for the FX lessons later in this course.
Third, think about cut-off times. Banks and money-market funds accept same-day instructions only until a certain time. If the payments run is released after the cut-off for the investment, the treasurer needs to decide with expected rather than confirmed figures, and a slightly larger residual is a sensible safety margin. Finally, keep a simple history: copy the closing position into a log sheet each day with Paste Special → Values (Ctrl + Alt + V, then V). After a few weeks you can see how accurate your daily expectations were and whether the buffer is too generous or too tight.
Common mistakes and how to spot them
- Adding payments instead of subtracting them. The closing total comes out far larger than the opening plus receipts. Spot it with the control check
=B8+C8-D8-E8, which must be zero. - Comparing the opening balance with the buffer. The decision must be based on today's closing (available) cash, after the payments run. Using the opening balance makes the company look richer than it will be tonight.
- Rounding to the nearest instead of rounding down.
ROUNDwould turn 616,820 into 620,000 and push the company below its own buffer. UseROUNDDOWN,FLOOR.MATHorINTon the divided amount. - Forgetting the MAX(0, …) guard. On a shortfall day the sheet would suggest investing a negative amount, which some people misread as a deposit to withdraw. The guard makes the output unambiguous.
- Mixing currencies. The EUR account must be converted into dollars before it is added, and the rate used should be stated on the sheet. Adding euros and dollars as raw numbers is a surprisingly frequent error.
- Treating trapped cash as available. Cash in a subsidiary or a foreign account may not be movable today because of cut-off times, local rules or intercompany agreements. Flag such balances rather than counting them blindly.
- Hard-coding the buffer. Typing 2050000 in B12 works until the average payments change. Always reference the inputs so the buffer updates automatically.
Quick reference: functions and shortcuts used
| Function / shortcut | What it does here | Example |
|---|---|---|
SUM | Adds a column of balances | =SUM(E4:E7) |
ROUNDDOWN | Cuts the surplus to whole steps, never upwards | =ROUNDDOWN(B13/10000,0)*10000 |
MAX | Stops a shortfall from turning into a negative investment | =MAX(0,…) |
FLOOR.MATH | Alternative way to round down to a multiple | =FLOOR.MATH(B13,10000) |
MIN | Caps a draw or an investment at a limit | =MIN(B13,B16) |
IF | Writes an action label | =IF(B13<0,"Draw RCF","Invest") |
| Alt + = (Windows) / Cmd + Shift + T (Mac) | AutoSum the selected range | Select E8, press the shortcut |
| Ctrl + D | Fill a formula down from the cell above | Select E4:E7, press Ctrl + D |
| F4 | Toggle absolute references like $B$12 | Press while the cursor is on B12 |
| Ctrl + ` | Show formulas instead of results | Audit the sheet before sending it |
Real-world uses of a cash position sheet
- Mid-sized manufacturer: the treasury analyst updates the sheet at 9:00 from bank files, then decides before the 11:00 money-market cut-off how much to place overnight.
- Retail chain: store takings arrive in several collection accounts. The sheet shows how much to sweep into the main account to fund the weekly supplier run without using the overdraft.
- Start-up after a funding round: the founders keep a buffer of several months of burn in instant-access accounts and ladder the rest into short deposits. The same buffer-and-surplus logic applies, just with months instead of days.
- Group with foreign subsidiaries: a euro account is converted at the morning rate and included in the group view, which becomes the starting point for the FX exposure work later in this course.
- Covenant monitoring: where a loan agreement requires a minimum liquidity level, the same sheet can show headroom against that covenant every day.
What you will build in the rest of this course
Lesson 1 is free. The remaining 19 lessons are part of the full course, a one-time purchase of $9.90, and each one adds a new lab with the same company and real Excel formulas checked automatically.
Short-Term Cash Forecast: Collection and Payment Timing. You move from today to the next weeks. You spread expected collections and payments by their timing and see on which day the buffer would be breached, so treasury can act before it happens rather than on the morning itself.
Working-Capital Levers: DSO, DIO, DPO and Cash Released. You calculate days sales outstanding, days inventory outstanding and days payables outstanding, then measure how much cash a few days of improvement would release. This is the language CFOs use when they ask treasury where cash is stuck.
Cash Pooling: Gross vs Net Interest. You compare what a group earns and pays when each account is treated separately with what it would pay if balances were pooled, and see why companies with accounts in credit and in overdraft at the same time set up pooling.
FX Transaction Exposure by Currency. You collect foreign-currency receivables and payables, net them by currency and show how much a move in exchange rates would change the dollar value of the open position.
FX Forwards: Interest-Rate Parity and Hedged vs Unhedged. You derive a forward rate from spot and the two interest rates, then compare the hedged result with unhedged outcomes under different spot rates at maturity.
Hedging with Options vs Forwards. You price the trade-off between a forward that locks the rate and an option that protects against a bad move while keeping the upside, including the premium paid.
Interest-Rate Risk on Debt: Floating, Fixed and Swaps. You model floating-rate debt, convert it with an interest-rate swap and compare the interest cost under rising and falling rate scenarios.
Summary
The daily cash position is the foundation of treasury. Per account, closing equals opening plus receipts minus payments, and the group total is compared with a minimum cash buffer that is typically sized as a number of days of operating payments. The difference is a surplus to invest or a shortfall to fund. Round the surplus down to whole dealing amounts and guard against negative results with MAX(0, …). With four formulas you have a sheet that a treasurer could use tomorrow morning.
Now scroll up and try the lab: build the closing balances for Harbor Lane Instruments, set the buffer and find the amount to invest. The checker tells you instantly whether each formula is right and explains the most common mistakes.
Frequently asked questions
How do you calculate a daily cash position?
For each bank account, take the opening available balance, add today's expected receipts and subtract today's expected payments. Add the closing balances of all accounts, converting foreign-currency accounts into the reporting currency, to get the group cash position.
What is a minimum cash buffer?
It is the amount of cash a company keeps on hand to pay staff and suppliers even if receipts are delayed. A simple, common approach is to hold a set number of days of average operating payments, with the number of days set in the treasury policy.
How many days of cash should a company hold?
There is no universal number. It depends on how predictable the cash flows are, how concentrated the customers are and whether committed credit lines are available. Companies with volatile or seasonal flows usually hold more days than companies with stable, recurring income.
How do I round down to the nearest 10,000 in Excel?
Use =ROUNDDOWN(A1/10000,0)*10000 or =FLOOR.MATH(A1,10000). Wrap it in MAX(0, ...) if negative values should become zero.
What is the difference between ledger and available balance?
The ledger balance includes everything booked to the account, while the available balance is what you can actually use today. Uncleared deposits or future-dated items can make the two differ, so treasury decisions are based on available, value-dated cash.
What can a company do with surplus cash?
Typical short-term uses are repaying a revolving credit facility, placing an overnight or term deposit, or investing in a money-market fund or short-dated government bills. The treasury policy usually sets which instruments, counterparties and maturities are allowed.
Keep going: Treasury, Cash & FX Risk Management
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- Short-Term Cash Forecast: Collection and Payment Timing
- Working-Capital Levers: DSO, DIO, DPO and Cash Released
- Cash Pooling: Gross vs Net Interest
- FX Transaction Exposure by Currency
- FX Forwards: Interest-Rate Parity and Hedged vs Unhedged
- Hedging with Options vs Forwards
- Interest-Rate Risk on Debt: Floating, Fixed and Swaps
- Bank FX Quotes: Bid/Ask Spreads, Cross Rates and the Cost of a Deal
- Layered Hedging of Forecast EUR Receipts: Hedge Ratios, Top-Ups and the Blended Rate
- FX Sensitivity of the Budget: Operating Profit at ±5 % and ±10 %
- Cash Forecast Accuracy: Variances, MAPE and Forecast Bias
- Investing Surplus Cash: Maturity Ladder, WAM and Policy Checks
- Bank Counterparty Limits: Exposure per Bank, Rating Limits and Breaches
- Bank Fee Analysis: Service Volumes, Earnings Credits and a Tender Offer
- Receivables Financing: Advance Rate, Fees and the True Annual Cost
- Revolving Credit Facility: Commitment Fees, Drawn Interest and the All-In Cost
- Debt Maturity Profile: Repayments by Year, Refinancing Risk and Weighted Average Life
- Debt Covenants: LTM EBITDA, Net Leverage and Headroom by Quarter
- Final Project: A Monthly Treasury Dashboard for the Board