# How to Build an Expense Sheet That Totals Itself

> Build an expense sheet step by step, with the columns, category list and formulas that total your spending by month and category without manual math.

- Canonical: https://www.moneyos.cc/blog/how-to-build-an-expense-sheet
- Author: MoneyOS (https://www.moneyos.cc/about)
- Category: Expense tracking (https://www.moneyos.cc/blog/category/expense-tracking)
- Published: 2026-07-12T01:10:21.000Z
- Updated: 2026-07-12T01:10:21.000Z

An expense sheet that totals itself needs two tabs and one formula. The first tab holds one row per transaction with a date, a description, an amount, a category and a month. The second tab lists categories down the side and months across the top, and a SUMIFS formula fills every cell from the first tab.

This post builds that sheet from a blank file, step by step, with the exact headers and formulas. It then covers getting bank transactions in, the reasons totals drift away from the bank, and the upkeep a sheet needs once it holds a few months of data.

## Expense sheet columns you need and the ones you can skip

An expense sheet needs five columns to do its job. They are Date, Description, Amount, Category and Month. Add a sixth, Account, if you pay from more than one card or bank account. Everything else is optional, and every extra column is one more cell to fill on every row.

Each column has one purpose. Date tells you when the money left. Description holds the merchant name as your bank wrote it, which helps when you need to find a charge again. Amount is the number that gets added up. Category is the bucket the formulas group by. Month is a helper column, filled by a formula, that lets the summary total by month without date ranges in every cell.

Account earns its place as soon as you have two sources of transactions. It lets you check the sheet against each statement separately, and it is the only way to spot that one card's export is missing a week.

Here are columns that are easy to add and hard to keep filled.

- **Notes.** Useful for the odd purchase you need to explain later, but leave it blank by default. A column you feel obliged to fill slows every entry.
- **Payment method.** Usually the same as Account. Keep one, not both.
- **Subcategory.** Doubles the decisions per row. Add it only for one category you are actively trying to cut, and only for as long as you are cutting it.
- **Running balance.** A balance column breaks the moment you sort or filter, and your bank already shows the balance.
- **Tax flag.** Worth it if you work for yourself and pay some business costs from personal accounts. Otherwise skip it.

The rule of thumb is that every column must either feed a formula or answer a question you actually ask. If neither is true, the column is decoration.

## Building the expense sheet category list as a dropdown

A category dropdown keeps an expense sheet consistent by letting each row pick from a fixed list instead of free text. Free text drifts. "Groceries", "grocery" and "Food shop" become three categories, and the summary formula, which matches text exactly, splits one total into three.

To build the dropdown, make a tab called Categories and type one category per cell in column A, starting at A2 with a header in A1. Then select the Category column on the transactions tab and add a data validation rule that allows only values from the range `Categories!$A$2:$A$20`. Set the rule to reject anything not on the list rather than only warn, so a typo cannot slip in.

Leave a few empty cells at the bottom of the range. When you add a category later, you type it into the next empty cell and every dropdown picks it up without changing the rule.

Choosing the names themselves is a separate job. A good list has around a dozen categories that match how you actually spend, with a clear home for awkward purchases like big-box store runs, gifts and refunds. The guide to [personal expense tracker categories](/blog/personal-expense-tracker-categories) gives a starter list of twelve and a rule for each edge case.

## Expense sheet formulas for totals by month and category

An expense sheet totals itself with one SUMIFS formula copied across a grid. SUMIFS adds the amounts whose category matches the row label and whose month matches the column label. A helper Month column on the transactions tab makes the formula short and fast.

The numbered steps below build the whole sheet from a blank file. The example assumes spending is entered as positive numbers, which keeps every total positive and easy to read.

1. Create a tab named `Transactions`. In row 1, type these headers in columns A to F: `Date`, `Description`, `Amount`, `Category`, `Account`, `Month`.
2. Format column A as a date and column C as currency.
3. In F2, enter `=TEXT(A2,"yyyy-mm")`. This turns a date like 14 March 2026 into the text `2026-03`. Copy it down as far as you expect rows to go, or wrap it as `=IF(A2="","",TEXT(A2,"yyyy-mm"))` so empty rows stay blank.
4. Create a tab named `Categories` and type your category names in column A from A2 down.
5. Back on `Transactions`, add the dropdown to column D using the range from step 4.
6. Create a tab named `Summary`. In A1 type `Category`. From A2 down, list the same categories, or enter `=Categories!A2` and copy it down so the two lists never disagree.
7. In row 1 from B1 across, type the months as text in the same format as the helper column: `2026-01`, `2026-02`, `2026-03` and so on. Format these cells as plain text so the sheet does not convert them to dates.
8. In B2, enter `=SUMIFS(Transactions!$C:$C, Transactions!$D:$D, $A2, Transactions!$F:$F, B$1)`.
9. Copy B2 across the months and down the categories. The dollar signs keep the ranges fixed, the category locked to column A and the month locked to row 1.
10. Add a total row under the last category with `=SUM(B2:B13)` and copy it across. Add a total column to the right of the last month with `=SUM(B2:M2)` and copy it down.

Here is what the summary looks like with example figures for the first quarter of a made-up household.

| Category | 2026-01 | 2026-02 | 2026-03 |
| --- | --- | --- | --- |
| Groceries | $588.40 | $541.12 | $612.07 |
| Dining out | $212.50 | $187.00 | $264.35 |
| Utilities | $301.18 | $296.44 | $274.90 |
| Transport | $160.00 | $148.75 | $171.20 |
| Total | $1,262.08 | $1,173.31 | $1,322.52 |

A pivot table gives the same grid without formulas. Select the transactions, insert a pivot table, put Category in rows, Month in columns and Amount in values as a sum. The pivot is faster to build and handles new categories on its own, but it needs a refresh after you add rows. The SUMIFS grid updates the moment a row changes, so it works well as the main view, with a pivot kept for one-off questions.

Two checks catch most formula mistakes. The grand total of the grid should equal `=SUM(Transactions!C:C)`. If it is lower, some rows have a blank or misspelled category or a missing date. A quick `=COUNTIF(Transactions!D:D,"")` against the number of filled rows shows how many rows lack a category.

## How do you get bank transactions into an expense sheet?

You get bank transactions into an expense sheet by downloading a CSV export from each bank and card website, opening it, and pasting its date, description and amount columns into your Transactions tab. Typing transactions by hand works for cash, but for cards a pasted export is faster and has no typos.

Every export looks a little different, so the paste needs a short clean-up.

- **Column order.** Rearrange the export to match your Date, Description, Amount order before pasting. Paste values only, so the bank's formatting does not come with it.
- **Signs.** Some banks show purchases as negative numbers, others as positive with a separate debit and credit column. Pick one convention for your sheet and convert. If purchases arrive negative, a helper column with `=-C2` flips them.
- **Dates as text.** If the dates paste as text, the Month formula returns an error. Re-enter them as dates, or use your spreadsheet's split text tool on the date column with a date format chosen.
- **Pending rows.** Leave out pending transactions. They can change amount or disappear, and they will appear again in the next export as posted.
- **Payments and transfers.** Delete the line where you paid your card bill and any line moving money between your own accounts. Those are not spending, and keeping them counts the same money twice.

After the paste, fill the Account column for the new rows in one go, then work down the Category column with the dropdown. Sorting by Description first groups repeat merchants, so you can categorize a dozen grocery runs in one fill.

How many accounts you bring in and how you avoid double counting across them is its own subject. The walkthrough on [setting up a money tracker for every account](/blog/money-tracker-setup-for-every-account) shows a worked month across three accounts with the transfer and card payment removed.

## Why do expense sheet totals stop matching the bank?

Expense sheet totals stop matching the bank for a few common reasons. A refund gets the wrong sign, overlapping exports leave duplicate rows, or a transfer or card payment is counted as spending. Each one leaves a pattern you can find in a few minutes.

Sign errors show up as a total that is too high by twice the refund. If a $45.00 return is pasted as a positive $45.00 in a sheet where positive means spending, the total rises by $45.00 when it should fall by $45.00, a $90.00 gap. Filter the Description column for words like "refund", "return" or "credit" and check that each one is negative.

Duplicates come from exports whose date ranges overlap. If you download 1 March to 31 March and then 25 March to 25 April, the last week of March appears twice. Sort by Date, then Amount, then Description, and look for identical neighbours. A formula like `=COUNTIFS(A:A,A2,B:B,B2,C:C,C2)` in a spare column returns 2 or more on any row that has a twin. Two genuine identical charges on the same day do happen, such as two coffees, so check before deleting.

Transfers and card payments count the same money twice, because the card's purchases are already in the sheet when the checking export adds the bill payment. Give these rows a category called Transfer and exclude it from the summary, and see the [worked month of card payments and transfers](/blog/money-tracker-setup-for-every-account#card-payments-in-a-money-tracker-and-the-double-count-trap) for the full arithmetic.

To reconcile a month, compare the sheet's total for one account against that account's statement total for spending, not its closing balance. Work one account at a time. A gap that matches a single row's amount points straight at the row.

## Expense sheet upkeep after the first three months

An expense sheet needs a little upkeep after about three months, because it grows by a few hundred rows a quarter and the summary needs new month columns. The work is a ten-minute routine at each month end. You paste the new rows, categorize them, extend the summary and reconcile.

Extending the summary means typing the next month label in row 1 and copying the formula column across. If you set the formulas to whole columns like `Transactions!$C:$C`, new rows are included without any change.

Speed becomes a problem around a few thousand rows on a slower computer, especially with whole-column references and a formula in every Month cell. Two fixes help. Replace whole-column references with fixed ranges a little larger than your data, such as `$C$2:$C$5000`. And once a year is over, copy that year's transactions to an archive tab or file, paste them as values, and keep only the yearly summary row in the main sheet.

Keep one change log row at the top of the Categories tab whenever you rename or merge a category. When you look back at last year and a total jumps, the note tells you whether you spent more or simply moved purchases into that category.

New tabs are worth adding only for questions you ask often. A Budget tab with a target per category next to the actual figures from Summary is a useful first one. If you want every dollar of income assigned a job before the month starts, the guide to a [zero-based budgeting app](/blog/zero-based-budgeting-app) explains that method and what a sheet needs to support it.

## When an expense sheet stops being enough

An expense sheet stops being enough when keeping it costs more time than the answers are worth to you. The usual signs are skipped month ends, a growing pile of uncategorized rows, and questions the grid cannot answer without a new formula each time.

Skipped months are the clearest sign. A sheet only works while you feed it. If two months in a row go by without a paste, the sheet has become a record of the past rather than a tool, and catching up feels worse each week.

The second sign is the question you cannot ask. A summary grid answers "how much did we spend on groceries in March". It does not easily answer "which recurring charges went up this year", "is this charge a duplicate" or "where will this month land". Each of those needs a new tab, new formulas and more upkeep.

The third sign is more accounts. Every new card adds another export to download, clean and paste, and another place for a transfer to slip in twice.

A tool that reads the same CSV exports can take over the paste and categorize steps. [MoneyOS](/#how-it-works) sorts each line of a CSV from any bank or card into a category and remembers your corrections. It also groups recurring charges by merchant and estimates where the month will end, two questions a sheet handles poorly.
