Launch offer: every template is free while we open our shop. It ends when checkout opens, and we email you 7 days before.Launch offer: free while we open our shop. We email you 7 days before it ends.
Budget Spreadsheets

How to Create an Expense Tracker in Excel (Step by Step)

Build a monthly expense tracker in Excel with a category drop-down, SUMIFS totals, a budget column and red over-budget lines. Every formula explained.

Guide title Expense Tracker in Excel next to the formulas used to total each category

An expense tracker in Excel takes about 25 minutes to build and then does the adding up for you. You type each purchase once, pick a category from a drop-down, and Excel shows what you spent in each category, what is left of your budget and which categories went over.

This guide builds one from a blank sheet with a handful of formulas. The example is the same one we use in our guide on how to track expenses: a household that spent $3,090.31 in October against a $3,165 budget.

What the finished tracker looks like

You need two blocks on one sheet. On the left is the log, with one row per purchase:

Column What goes in it
A: Date The day of the purchase, for example 10/2/2026
B: What A short description, like Grocery store
C: Category Picked from a drop-down
D: Amount The amount, for example 64.18

On the right is the summary: one row per category with its budget, what you spent this month, what is left and the percent used.

The Excel formulas for category total, left, percent used and monthly total in an expense tracker
The formulas that make the summary work.

Step 1: Set up the log

In row 1, type the headings Date, What, Category and Amount. Format column A as a short date and column D as Currency. Then type your purchases from row 2 down.

Example: Row 2 holds Oct 1, Rent, Housing, $1,450. Row 3 holds Oct 2, Grocery store, Groceries, $64.18. Row 4 holds Oct 3, Gas, Transport, $41.60. By the end of October the log has a few dozen rows.

Step 2: Add a category drop-down

A drop-down keeps category names identical, which the formulas need.

  1. Type your category names in a column, for example F4:F14: Housing, Groceries, Transport, Dining out, Utilities, Fun, Health, Shopping, Personal care, Kids and pets, Other.
  2. Select C2:C500, the Category cells.
  3. Go to Data > Data Validation (Microsoft's guide: apply data validation to cells).
  4. Under Allow, choose List. In Source, select F4:F14. Select OK.

Each cell in column C now shows an arrow with your categories.

Step 3: Choose the month

In cell G1, type the first day of the month you want to see, for example 10/1/2026, and put the label "Month starts" in F1. All the formulas below look at this date, so changing it shows another month.

Step 4: Total each category with SUMIFS

Next to each category, type the monthly budget in column G (for example Housing 1450, Groceries 450). Then, in H4 for the first category, type:

=SUMIFS($D$2:$D$500,$C$2:$C$500,F4,$A$2:$A$500,">="&$G$1,$A$2:$A$500,"<="&EOMONTH($G$1,0))

Read it in three parts. Add up the amounts in D2:D500 where the category in column C equals the one in F4, where the date is on or after the first of the month, and where the date is on or before the last day of the month. Microsoft's help page on the SUMIFS function explains the pieces. Copy the formula down to H14.

Step 5: Add left, percent used and the total

  • Left in I4: =G4-H4
  • Percent used in J4: =IF(G4>0,H4/G4,0) (format it as a percent)
  • Totals in row 15: =SUM(G4:G14) for the budget, =SUM(H4:H14) for spent and =G15-H15 for what is left of the budget.

Copy the first two formulas down to row 14.

Example: After entering October, the Total row shows a budget of $3,165.00, spent of $3,090.31 and $74.69 left. Transport shows -$26.40 left and 109% used, dining out -$37.25 and 125%, and shopping -$22.80 and 119%.

Step 6: Turn over-budget categories red

  1. Select I4:J14.
  2. Go to Home > Conditional Formatting > New Rule.
  3. Choose Use a formula to determine which cells to format and type =$I4<0.
  4. Select Format, choose red text or a light red fill, and select OK.

Microsoft's conditional formatting overview shows other built-in rules, such as data bars for the percent used.

Step 7: Use it every month

At the start of a new month, change the date in G1. The log keeps every month, so the summary shows whichever month you pick. When the year ends, copy the file and clear column A to D for a fresh year.

Ideas to make it better

  • A Paid with column to match purchases against your card or bank statement.
  • A chart of the category totals: select F4:F14 and H4:H14, then insert a bar or doughnut chart.
  • Income and savings: type your income and add one line for what is left.
  • A yearly view with one column per month, using the same SUMIFS formula with the month number.

For the bills part of your spending, see our guide to building a bill tracker in Excel.

If something does not work

  • A category shows zero but you have entries. Check that the category name in the log matches the name on the budget sheet exactly. The drop-down prevents this.
  • The month picker shows nothing. Check that the dates in the log are real dates, not text. Real dates line up to the right in the cell.
  • Left and percent used show an error. A budget of zero causes a divide-by-zero error. Wrap the formula in IF to show a blank when the budget is empty.
  • The totals do not include new rows. If you added rows below the range, widen the range or use whole-column references.

Habits that keep the tracker useful

Add each purchase the day it happens. Check the total against your bank statement once a month. Save a copy of the file before you clear old data. After three months, look at which categories are over most often, and decide whether to change the budget or the habit.

Want it ready-made?

Building your own is a good way to learn Excel. If you would rather start tracking today, print the free Monthly Expense Log for the paper side and take a look at the Mivru Expense Tracker: a log of up to 1,000 purchases with category drop-downs and colored tags, a dashboard for any month, 12 month tabs and a yearly overview, in five color themes. It works in Excel and Google Sheets. See everything in the Expense Tracker Spreadsheet.

Frequently asked questions

Does Excel have an expense tracker template?

Excel includes some budget and expense templates, but you can build a simple tracker yourself in about 25 minutes with the steps in this guide, or start from a ready-made template that already has the formulas, charts and categories set up.

Which Excel formula adds up expenses by category?

SUMIFS. It adds the amounts in one column where another column matches a category, and it can add more conditions, such as only dates inside one month. The formula in step 4 shows exactly how.

How do I make a category drop-down in Excel?

Select the Category cells, go to Data > Data Validation, choose List and point the Source at your category names. Each cell then shows an arrow with your categories, so names are always spelled the same way.

How do I show only one month of expenses?

Put the first day of the month in a cell, for example 10/1/2026, and add two date conditions to SUMIFS: on or after that date and on or before EOMONTH of that date. Change the date to see another month.

Will this tracker work in Google Sheets?

Yes. The same SUMIFS formula and the drop-down work in Google Sheets. Our Google Sheets guide shows the few small differences.

Keep reading

Guide title Expense Tracker in Google Sheets next to the SUMIFS formula that totals each category

How to Make an Expense Tracker in Google Sheets

Make a free expense tracker in Google Sheets with a category drop-down, automatic monthly totals by category and a budget column. Every formula explained.

October 25, 2026 · 4 min read

More Mivru trackers

Bill tracker spreadsheet dashboard showing paid, left to pay and overdue bills for OctoberLaunch price
Excel · Google Sheets · Printable

Bill Tracker Spreadsheet & Printable

17 tabs + 20-page printable planner. Excel & Google Sheets.

$9.90Regular price $16.90See details →
Debt payoff tracker dashboard comparing snowball, avalanche and minimum payments with a chart of total debt over timeLaunch price
Excel · Google Sheets · Printable

Debt Payoff Tracker Spreadsheet & Printable

8 sheets in 5 colors: snowball + avalanche plans + 12-page printable. Excel & Google Sheets.

$13.90Regular price $22.90See details →