Free Excel templates · Personal finance
Expense tracker template
Log every purchase with a date, category and payment method, and get a month-by-month summary for the year with budget warnings and charts.
.xlsx, 38 KB · no macros · works in Excel 2016 and later (Windows and Mac), Microsoft 365 and Excel for the web. Built and checked in Excel: 7 calculations verified.
Preview of the Summary sheet
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Expense summary | |||||||
| 2 | Yellow cells are yours to change. Everything else calculates. | |||||||
| 3 | ||||||||
| 4 | Year | 2026 | ||||||
| 5 | ||||||||
| 6 | Category | Budget / month | Jan | Feb | Mar | Apr | May | Jun |
| 7 | Rent | 1,100 | 1,100 | 1,100 | 1,100 | 1,100 | 1,100 | 1,100 |
| 8 | Utilities | 140 | 96 | 118 | 123 | 111 | 107 | 111 |
| 9 | Groceries | 450 | 424 | 482 | 397 | 317 | 510 | 449 |
| 10 | Transport | 160 | 157 | 165 | 152 | 162 | 156 | 163 |
| 11 | Eating out | 120 | 137 | 113 | 105 | 98 | 120 | 139 |
| 12 | Health | 60 | 34 | 27 | 34 | 31 | 26 | 27 |
The sample data in the file. Replace it with your own.
What is inside
| Sheet | What it does |
|---|---|
| How to use | Steps and a link back to this page. |
| Summary | Spending by category and month for the chosen year, totals, monthly average, payment methods and two charts. |
| Expenses | The log: one row per purchase in an Excel table. |
| Lists | Your categories with a monthly budget, and your payment methods. |
How to use it
- On the Lists sheet, write your categories and a monthly budget for each one. Add your payment methods (card, cash, bank transfer and so on).
- On the Expenses sheet, add one row per purchase: date, a short description, category, payment method and amount. Category and payment method are drop-downs.
- Type the year you want to see in
B4of the Summary sheet. - Read the grid: each cell is what you spent in that category in that month. A red cell means the category went over its monthly budget.
- Look at the payment-method block at the bottom to see how much went by card, cash or transfer.
- Keep adding rows to the log all year. The Month column, the summary and the charts follow automatically.
How it works
The category names in the summary are not typed there. They are read from the Lists table one by one, so a new category on the Lists sheet appears in the summary without any editing. ROWS counts 1, 2, 3 as the formula is filled down, and INDEX returns that item from the list; IFERROR leaves a blank once the list runs out.
=IFERROR(INDEX(tblCategories[Category],ROWS($A$7:A7)),"")Each month cell adds up the amounts for one category between the first day of the month (row 6) and the first day of the next month. EDATE gives that next month, so the formula works for 28, 30 or 31-day months alike.
=IF($A7="","",SUMIFS(tblExpenses[Amount],tblExpenses[Category],$A7,tblExpenses[Date],">="&C$6,tblExpenses[Date],"<"&EDATE(C$6,1)))| A | B | C | D | E | |
|---|---|---|---|---|---|
| 6 | Category | Budget / month | Jan | Feb | Mar |
| 7 | Rent | 1,100 | 1,100 | 1,100 | 1,100 |
| 8 | Utilities | 140 | 96 | 118 | 123 |
| 9 | Groceries | 450 | 424 | 482 | 397 |
| 10 | Transport | 160 | 157 | 165 | 152 |
Groceries in February 2026: 482, above the 450 budget, so the cell turns red in the workbook.
Result: 482
The Month column in the log, =DATE(YEAR([@Date]),MONTH([@Date]),1), turns every date into the first of its month. The summary does not need it, but it is handy if you build a PivotTables: summarise thousands of rows in seconds report from the log.
The monthly average divides the year's total by the number of months that have any spending, counted with COUNTIF on the total row. In the sample, the log runs from January to November 2026, so December does not drag the average down.
In the sample year, 22,747 was spent in total; 8,100 of it (35.6%) went on card.
Customise it
- Add up to 15 categories on the Lists sheet; the summary has room for all of them.
- Change the budget amounts any time. The red warning compares each month with the budget currently on the Lists sheet.
- Add a column to the log, for example Shop or Who paid. Type the heading next to the last column and the table extends.
- For a different view, see How to sum values by month in Excel and How to sum by category in Excel for the formulas used here.
Common questions
Can I keep several years in one file?
Yes. Keep adding rows to the same log and change the year in B4. The formulas only count dates inside the chosen year.
Why is an expense missing from the summary?
Check that its category is spelled exactly as on the Lists sheet (the drop-down prevents typos) and that the date is a real date, not text. A date typed as text is left-aligned and is ignored by SUMIFS.
Should refunds be negative?
Yes. Enter a refund as a negative amount in the same category and it reduces that month's total.