Petty Cash Log in Excel With a Running Balance
By ExcelReady TeamUpdated 6 min read
The short answer
A petty cash log in Excel needs columns for date, description, category, cash in, cash out and balance. Start with the opening float as cash in, then use =SUM($D$2:D2)-SUM($E$2:E2) in the balance column and fill it down. Total spending per category with SUMIF, and compare the last balance with the cash you count in the box.
Key takeaways
- Use one row per transaction, with separate Cash in and Cash out columns, and the opening float as the first cash in.
- The running balance =SUM($D$2:D2)-SUM($E$2:E2) uses a locked start and a moving end, so it stays right when rows are deleted.
- SUMIF totals the spending for each category, which is what most expense reports need.
- Count the cash in the box and subtract the log balance: anything other than 0 needs checking.
On this page+
A petty cash log in Excel is a simple table that records every coin and note that goes in or out of the office cash box, with a running balance that always tells you how much should be left. You need three formulas: SUM for the balance, SUMIF for category totals and a subtraction to check the cash count. This guide builds the whole log step by step, using numbers you can type in and check.
What a petty cash log needs#
Petty cash is a small amount of cash kept for minor costs such as stamps, taxis and milk. The fixed starting amount is called the float. A good log answers three questions at any time: how much should be in the box, where the money went, and whether the box matches the log.
Use one row per transaction and these columns:
| Column | What goes in it | Example |
|---|---|---|
| A: Date | The day the cash moved | 3 Nov 2026 |
| B: Description | What it was for | Stamps |
| C: Category | A short, consistent group name | Postage |
| D: Cash in | Money added to the box | 100.00 |
| E: Cash out | Money paid out | 18.50 |
| F: Balance | What should be in the box after this row | 181.50 |
Keep cash in and cash out in separate columns, and leave the unused one empty. That makes the totals easy and stops anyone typing a minus sign in the wrong place. Many offices add a receipt number column too, so each payment can be matched to its paper receipt.
How to set up the petty cash log in Excel#
- Type the headers in row 1 and make them bold.
- In row 2, enter the opening float as the first transaction: description "Opening float", category "Float", and the amount in Cash in.
- Format columns D, E and F as numbers with two decimal places (Home > Number Format > Number, or Accounting).
- Freeze the header row with View > Freeze Panes > Freeze Top Row, so it stays visible as the log grows.
Here is a log for the first two weeks of November, after the formulas in the next section are added:
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Date | Description | Category | Cash in | Cash out | Balance |
| 2 | 2 Nov 2026 | Opening float | Float | 200.00 | 200.00 | |
| 3 | 3 Nov 2026 | Stamps | Postage | 18.50 | 181.50 | |
| 4 | 4 Nov 2026 | Milk and coffee | Refreshments | 12.40 | 169.10 | |
| 5 | 6 Nov 2026 | Taxi to bank | Travel | 24.00 | 145.10 | |
| 6 | 9 Nov 2026 | Top-up from bank | Float | 100.00 | 245.10 | |
| 7 | 10 Nov 2026 | Courier | Postage | 15.75 | 229.35 | |
| 8 | 12 Nov 2026 | Printer paper | Supplies | 9.99 | 219.36 |
Add a running balance formula#
The balance column shows how much cash should be in the box after each row. In F2, type:
=SUM($D$2:D2)-SUM($E$2:E2)Then fill it down to the last row (select F2:F8 and press Ctrl+D; Mac: ⌘D). Each row adds all the cash in so far and subtracts all the cash out so far. In row 8 the formula has become =SUM($D$2:D8)-SUM($E$2:E8): 300.00 in minus 80.64 out gives 219.36.
The $ signs make $D$2 an absolute reference: it stays on row 2 however far you fill. The second half, D2, is relative, so it moves down one row at a time. This "locked start, moving end" range is the core of every running total. The SUM function guide covers the basics, and running totals in Excel compares this with the shorter =F2+D3-E3 style.
Why not use the shorter style? If someone deletes a row, a formula like =F2+D3-E3 in the row below breaks with #REF!. The SUM version just recalculates. Empty cells count as 0 in SUM, so rows with only cash out work fine.
Total spending by category with SUMIF#
SUMIF adds the numbers in one column when another column matches a condition. Put the category names in a small summary table, for example in H2:H5, and in I2 type:
=SUMIF($C$2:$C$8,H2,$E$2:$E$8)Fill it down to I5:
| H | I |
|---|---|
| Postage | 34.25 |
| Refreshments | 12.40 |
| Travel | 24.00 |
| Supplies | 9.99 |
The totals add up to 80.64, the same as =SUM(E2:E8). Checking that the category total equals the overall total is a quick way to catch a missing or misspelt category: "postage " with a trailing space would drop out of the SUMIF. Use the SUMIF function guide for the argument order, and summing by category for a version that lists the categories automatically.
Reconcile the cash box#
To reconcile means to check that two records agree. Count the cash in the box, type the amount in a cell, say I8, and in I9 type:
=I8-F8If you count 219.36, the difference is 0, and the log is right. If you count 215.36, the result is -4.00: the box is four short, so look for a missing receipt or a mistyped amount.
Many offices use a fixed float, called the imprest system: the box is always topped back up to the same amount. Here the float is 300 (200 at the start plus the 100 top-up). To restore it, top up 300 - 219.36 = 80.64, which is exactly the total spent. Record the top-up as cash in, and the balance returns to 300.
Tips to keep the log reliable#
- Use the same category names every time. A drop-down list (Data > Data Validation > List) stops "Postage", "postage" and "Post" from becoming three categories.
- Never type over a formula. If the balance looks wrong, fix the amounts, not the Balance cell.
- One log per period. Start a new sheet each month, with the last balance as the new opening float.
- Turn it into a Table (Ctrl+T) so new rows pick up the formulas automatically.
If you need a bigger picture than petty cash, the same layout grows into an expense tracker or a monthly budget, and the running-balance idea is the base of a cash flow forecast.
Practise it#
A petty cash log uses three skills that office and admin job tests check again and again. Practise the SUM function in a live spreadsheet: you type the formula and it checks it instantly. Then lock ranges in the absolute references lesson and build category totals in the SUMIF lesson, or try the exercise on this page first.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
This is a simplified petty cash log. The balances in E2:E7 already use a running SUM. In E8, type the running balance for the last row: add C2:C8 and subtract D2:D8, with the start of each range locked.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Balance | |||||
| 2 | ||||||
| 3 | Postage | |||||
| 4 | Refreshments | |||||
| 5 | Travel | |||||
| 6 | ||||||
| 7 | Postage | |||||
| 8 | Supplies | |||||
| 9 | ||||||
| 10 | ||||||
| 11 |
Tip: Same pattern as the cell above, one row further: =SUM($C$2:C8)-SUM($D$2:D8).
Practise this in a lesson
Frequently asked questions
How do I make a petty cash log in Excel?
Create columns for Date, Description, Category, Cash in, Cash out and Balance. Enter the opening float as the first cash in, record every payment as a cash out, and use a running balance formula such as =SUM($D$2:D2)-SUM($E$2:E2) in the Balance column.
What is the formula for a petty cash running balance?
Use =SUM($D$2:D2)-SUM($E$2:E2) in the first row and fill it down. It adds all cash in and subtracts all cash out from the first row to the current one. The $ signs lock the start of each range.
How do I total petty cash spending by category?
Use SUMIF: =SUMIF($C$2:$C$100,"Postage",$E$2:$E$100) adds the Cash out amounts for rows where the category is Postage. Put the category names in a list and point the formula at those cells.
How much should I top up petty cash?
With a fixed float, the top-up is the float minus the cash left, which equals the total spent since the last top-up. For a 300 float with 219.36 left, top up 80.64.