Cash book template for Excel: track petty cash with a running balance
A cash book records every bit of cash that goes into or out of a cash box and shows, after each entry, how much should be in it. In Excel that takes one table, one balance formula and a monthly summary.
In short: one row per entry with date, reference number, description, receipt and payment. The balance is =E2+C3-D3, the balance above plus money in minus money out. SUMIFS with EOMONTH gives the totals per month. The template is meant for petty cash, club funds and practice; for official business records, see the note below.
Before you start: SUMIFS, conditional formatting with a formula and absolute references. EOMONTH is explained in the exercise.
Try it now
The core of every cash book is the running balance. It starts with the opening balance and changes with every entry.
Task In E3, calculate the cash balance after this entry: the balance in the row above plus the receipt minus the payment. The formula is filled down to E8.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Description | Receipt | Payment | Balance |
| 2 | Opening balance | 250 | |||
| 3 | 4 Jan 2027 | Cash sale | 420 | ||
| 4 | 5 Jan 2027 | Stamps | 17 | ||
| 5 | 5 Jan 2027 | Printer paper | 24.9 | ||
| 6 | 7 Jan 2027 | Cash sale | 385.5 | ||
| 7 | 8 Jan 2027 | Bank deposit | 600 | ||
| 8 | 11 Jan 2027 | Cash sale | 512 |
What goes into a cash book
Each row is one event where cash comes in or goes out. These are the columns you need:
- Date of the transaction, as a real date, so Excel can filter and add up by month.
- Reference number, running like C-001, C-002. It links the row to the receipt or voucher in the cash box.
- Description, short and clear, such as "Stamps" or "Deposit to bank account".
- Account or category, such as Sales, Postage, Office supplies, Bank deposit or Owner drawings.
- Receipt and Payment in two separate columns, both always entered as positive numbers.
- Balance after the entry, calculated.
Enter each transaction on the day it happens rather than collecting slips until the end of the month. The fresher the entry, the easier it is to find a missing receipt.
Petty cash book or business cash book?
In everyday use, a cash book in Excel is mostly a petty cash log: the small float in the office for stamps, coffee and parking, the treasurer's cash box of a club, the class fund or the money box at a market stall. For that, a spreadsheet is ideal.
Many offices run petty cash as an imprest system: the box starts with a fixed float, and when it runs low you top it up by exactly the amount that was spent. The cash book shows that amount at a glance, because total payments since the last top-up are what goes back in. In the template a top-up is simply a receipt from the bank.
A normal Excel file can be changed at any time without leaving a trace. If your business has to keep cash records for tax purposes, the rules on what counts as a proper record differ between the US, the UK and other countries. Check with your accountant whether a spreadsheet is enough for you or whether you need accounting software. This page is not tax advice.
How the template is laid out
The key figures sit at the top, and from row 7 the entries form an Excel table with filter buttons. Yellow cells are inputs.
| Cell or column | Contents | Input or formula |
|---|---|---|
| C2 | Opening balance | Input, such as 250.00 |
| C3 and C4 | Total receipts and total payments | =SUM(CashBook[Receipt]) |
| C5 | Cash on hand | =C2+C3-C4 |
| A to F from row 8 | Date, ref no., description, account, receipt, payment | Inputs, account from a drop-down |
| G from row 8 | Balance | =IF(AND(E8="",F8=""),"",$C$2+SUM(E$8:E8)-SUM(F$8:F8)) |
Dates are shown as d mmm yyyy, such as 4 Jan 2027, which reads the same in the US and the UK. Amounts have no currency symbol, so the file works for dollars, pounds or any other currency. A second sheet sums up each month, a third holds the list of accounts, and an instructions sheet explains it all again.
The running balance: two ways
The obvious way is the one from the exercise: the balance above plus the receipt minus the payment. It is easy to follow but has a weak spot. Delete a row, and the row below points to a cell that no longer exists, so every balance from there on shows #REF!.
The template calculates it differently: opening balance plus all receipts up to this row minus all payments up to this row. In SUM(E$8:E8) the start of the range is locked with $ and the end moves as you fill down, so row 20 reads SUM(E$8:E20). This version survives deleted rows and sorting. The IF in front keeps the balance blank in empty rows. The lesson on absolute references shows how the dollar signs work.
A warning when the cash goes negative
A real cash box can never hold less than nothing. A negative balance almost always means a missing receipt, an amount in the wrong column or a typo. A conditional formatting rule makes those rows stand out at once.
Task A cash balance can never be negative. Use conditional formatting to highlight the whole rows A2:C8 where the balance is below 0. Write the formula as it applies to A2.
| A | B | C | |
|---|---|---|---|
| 1 | Date | Description | Balance |
| 2 | 4 Jan 2027 | Cash sale | 180 |
| 3 | 5 Jan 2027 | Postage | 95.5 |
| 4 | 6 Jan 2027 | Office supplies | -14.5 |
| 5 | 7 Jan 2027 | Cash sale | 40 |
| 6 | 8 Jan 2027 | Cleaning | -3.2 |
| 7 | 11 Jan 2027 | Cash sale | 120 |
| 8 | 12 Jan 2027 | Drinks | 60 |
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.
In the template the rule =AND(ISNUMBER(G8),G8<0) turns the balance cell red. ISNUMBER(G8) is only TRUE when G8 holds a number, so empty rows are not checked.
Monthly totals with SUMIFS
For the monthly summary you add up every receipt whose date falls in the month. That is two conditions on the same column: from the first and up to the last day. SUMIFS handles that, and EOMONTH(G1,0) returns the last day of the month of the date in G1. A comparison in SUMIFS goes in quotes, and you join the cell with &: ">="&G1 means "on or after the date in G1".
Task In G2, calculate the receipts for the month in G1 (the first day of the month). The formula should still be right when someone changes G1 to another month.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Date | Description | Receipt | Month | 1 Feb 2027 | ||
| 2 | 4 Jan 2027 | Cash sale | 420 | Receipts in month | |||
| 3 | 7 Jan 2027 | Cash sale | 385.5 | ||||
| 4 | 31 Jan 2027 | Cash sale | 260 | ||||
| 5 | 1 Feb 2027 | Cash sale | 298 | ||||
| 6 | 7 Feb 2027 | Cash sale | 410 | ||||
| 7 | 15 Feb 2027 | Cash sale | 355 | ||||
| 8 | 26 Feb 2027 | Cash sale | 512 | ||||
| 9 | 1 Mar 2027 | Cash sale | 330 | ||||
| 10 | 4 Mar 2027 | Cash sale | 275 |
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.
On the Months sheet, A5 holds the first of the month, built from the year in B2 with =DATE($B$2,1,1), and =EDATE(A5,1) below it for the following months. Next to it SUMIFS reads the table by column name: =SUMIFS(CashBook[Receipt],CashBook[Date],">="&$A5,CashBook[Date],"<="&EOMONTH($A5,0)). Because the references point to the table, new entries count automatically. The month-end balance is the opening balance plus all receipts up to the last day of the month minus all payments up to then.
Accounts from a drop-down list
For the totals to be right, every account has to be spelled the same way every time. A drop-down list in column D with the source =Lists!$A$2:$A$20 takes care of that. Add new accounts on the Lists sheet and the drop-down shows them straight away. Two accounts need a word of explanation: Bank deposit is for cash taken to the bank (or a top-up from the bank, entered as a receipt), and Owner drawings is for cash the owner takes out for private use.
Download the cash book template
The finished Excel file has room for 300 entries, the running balance, the red warning, the account drop-down, a monthly summary with the month-end balance, ten sample entries and an instructions sheet.
Enlarge previewDownload the finished template
The finished Excel file cash-book-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.
Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.
Create a free account and download the template Already have an account? Log in
If you want to record all income and spending, not just cash, the expense tracker fits better. For a bigger picture of bookkeeping in a spreadsheet, see Excel for accounting. All files are on the Excel templates page.
Common mistakes
Payments with a minus sign
If a payment goes into the payment column as -17, the formula turns it into a receipt. Always enter positive amounts in both columns; the column decides the direction.
Dates typed as text
"Jan 5th" or "5.1." may stay text, and the row then drops out of every monthly total. A real date sits right-aligned in the cell.
The balance does not match the cash box
Count the cash regularly and compare it with C5. Sort out any difference straight away, while you can still match the receipts.
Cash book formulas in German Excel
| English | German |
|---|---|
| SUMIFS | SUMMEWENNS |
| EOMONTH, EDATE, DATE | MONATSENDE, EDATUM, DATUM |
| IF, AND, ISNUMBER | WENN, UND, ISTZAHL |
Which Excel versions support this?
SUM, SUMIFS, EOMONTH, EDATE, conditional formatting, drop-down lists and Excel tables work in all current versions of Excel, including Excel for Mac and Excel for the web.
FAQ
Is the cash book template free?
Yes. Create a free account and download it. No subscription and no payment details.
What is the difference between a cash book and an expense tracker?
A cash book records only cash and shows what should be in the box. An expense tracker records every payment, including card and bank transfers, and shows what is left over.
Can I use it as a petty cash log for my office?
Yes, that is what it is built for. Keep the receipts in the box with their reference numbers, and enter the top-up from the bank as a receipt.
Does it work in Google Sheets?
The .xlsx file opens in Google Sheets, and SUMIFS and EOMONTH exist there too. The template is built and tested for Excel, so check the drop-down and the colors after the import.