ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Projects
  3. Petty Cash Log in Excel With a Running Balance

Petty Cash Log in Excel With a Running Balance

By ExcelReady Team·Updated November 2, 2026·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+
  1. What a petty cash log needs
  2. How to set up the petty cash log in Excel
  3. Add a running balance formula
  4. Total spending by category with SUMIF
  5. Reconcile the cash box
  6. Tips to keep the log reliable
  7. Practise it

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:

ColumnWhat goes in itExample
A: DateThe day the cash moved3 Nov 2026
B: DescriptionWhat it was forStamps
C: CategoryA short, consistent group namePostage
D: Cash inMoney added to the box100.00
E: Cash outMoney paid out18.50
F: BalanceWhat should be in the box after this row181.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#

  1. Type the headers in row 1 and make them bold.
  2. In row 2, enter the opening float as the first transaction: description "Opening float", category "Float", and the amount in Cash in.
  3. Format columns D, E and F as numbers with two decimal places (Home > Number Format > Number, or Accounting).
  4. 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:

ABCDEF
1DateDescriptionCategoryCash inCash outBalance
22 Nov 2026Opening floatFloat200.00200.00
33 Nov 2026StampsPostage18.50181.50
44 Nov 2026Milk and coffeeRefreshments12.40169.10
56 Nov 2026Taxi to bankTravel24.00145.10
69 Nov 2026Top-up from bankFloat100.00245.10
710 Nov 2026CourierPostage15.75229.35
812 Nov 2026Printer paperSupplies9.99219.36

Add a running balance formula#

The balance column shows how much cash should be in the box after each row. In F2, type:

Excel formula
=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:

Excel formula
=SUMIF($C$2:$C$8,H2,$E$2:$E$8)

Fill it down to I5:

HI
Postage34.25
Refreshments12.40
Travel24.00
Supplies9.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:

Excel formula
=I8-F8

If 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.

fx
ABCDEF
1
Description
Category
Cash in
Cash out
Balance
2
Opening float
Float
200
200
3
Stamps
Postage
18.5
181.5
4
Milk and coffee
Refreshments
12.4
169.1
5
Taxi to bank
Travel
24
145.1
6
Top-up from bank
Float
100
245.1
7
Courier
Postage
15.75
229.35
8
Printer paper
Supplies
9.99
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

LessonSUM and AutoSumAdd up a column of numbers with SUM, then let AutoSum write the formula for you.LessonRelative vs absolute references ($)Lock a cell with $ so it doesn't move when you copy a formula, one of the most-tested Excel skills.LessonSUMIFAdd up only the numbers that meet a condition, with and without a separate sum range.Function guideSUMAdd up columns, rows and separate ranges with Excel's SUM function. Clear examples, common mistakes and a live practice exercise.Function guideSUMIFAdd up values that meet one condition with SUMIF. Totals by category, person or amount, the argument-order trap, and a live exercise.

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.

Sources

  • SUM function - Microsoft Support
  • SUMIF function - Microsoft Support
  • Freeze panes to lock rows and columns - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What a petty cash log needs
  2. How to set up the petty cash log in Excel
  3. Add a running balance formula
  4. Total spending by category with SUMIF
  5. Reconcile the cash box
  6. Tips to keep the log reliable
  7. Practise it

Keep reading

Math· 6 min read

How to Make a Running Total in Excel

To make a running total in Excel, type =SUM($B$2:B2) in the first row next to your numbers and fill it down. The dollar signs lock the start of the range at B2, while the end moves down one row at a time, so each row adds everything from the top to itself. The last row equals the grand total.

Projects· 5 min read

Track Expenses by Category in Excel

To make an expense tracker in Excel, log one expense per row with its date, description, category and amount. Then total each category with SUMIF, for example =SUMIF(C:C,"Travel",E:E), and add a month condition with SUMIFS. A pivot table gives the same category and month totals in a few clicks, and both update when you add expenses.

Projects· 6 min read

Build a Simple Cash Flow Forecast in Excel

A cash flow forecast in Excel puts months across the top and cash in and cash out down the side. Total each group with SUM; net cash flow is cash in minus cash out. The closing balance is the opening balance plus net cash flow, and each month opens with the previous month's closing balance. Lock assumptions with $.

More on projects

  • Price List With Discounts and Tax in Excel
  • Build a Profit and Loss Statement in Excel
  • Build a Project Budget in Excel
  • Make a Simple Project Timeline in Excel
  • Build a Quotation Template in Excel
  • Build a Recipe Cost Calculator in Excel
All projects articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free