A budget planner in Google Sheets needs three tabs and about six formulas. Everything beyond that is decoration. Below is the exact structure, the formulas written out so you can paste them, and a worked monthly example whose numbers actually balance.

This is general information, not financial or tax advice. Rules differ by country and change; check the current guidance for your jurisdiction or speak to a qualified adviser.

The three-tab structure

Almost every failed spreadsheet budget fails the same way: someone types amounts directly into a summary grid, then cannot remember what any figure was made of. Separate raw entries from the summary and the problem disappears.

  • Setup holds your category list and nothing else. It feeds the dropdowns and the summary rows, so it is the only place a category name is ever typed.
  • Transactions is a flat log. One row per transaction, forever, no blank spacer rows, no subtotals, no merged cells.
  • Summary is entirely formulas. You never type a number into it. If you find yourself wanting to, that is a sign a transaction is missing.

Setup tab

Column A: category name. Column B: group (Fixed, Variable, Savings, Income). Column C: monthly plan amount. Start with fewer categories than you think you need. Twelve to eighteen is workable; forty is a spreadsheet you will abandon by March.

Transactions tab

Six columns, in this order, with row 1 as headers and data starting at row 2.

ColumnHeaderContents
ADateA real date value, not text
BDescriptionFree text, whatever the bank shows
CCategoryDropdown fed from Setup column A
DAmountPositive for money in, negative for money out
EAccountWhich card or account it hit
FMonthFormula, see below. Do not type this.
Column layout for the Transactions tab. Every formula in this guide assumes these letters.

The six formulas that do all the work

Paste each of these into the cell named. The spreadsheet functions used here are all documented in the Google Docs Editors Help function reference, which is the place to check argument order if a formula ever throws an error.

1. Month stamp, in Transactions F2

=ARRAYFORMULA(IF(LEN(A2:A), TEXT(A2:A, "yyyy-mm"), ""))

One formula in one cell fills the whole column and keeps filling it as you add rows. The LEN test stops it printing a stamp on every empty row down to row 1000. Every transaction now carries a text month like 2026-01 that you can match on exactly.

2. Spent per category, in Summary C2

=SUMIFS(Transactions!$D:$D, Transactions!$C:$C, $A2, Transactions!$F:$F, $B$1)

Put the category name in Summary column A and the month you are viewing, as text like 2026-01, in Summary B1. SUMIFS takes the sum range first and then pairs of range and criterion, which is the opposite order to SUMIF and the single most common mistake people make. Because B1 is locked with dollar signs, you can drag this formula down the whole category list and change the month in one place to re-run the entire report.

3. Plan amount pulled through, in Summary B2

=IFERROR(VLOOKUP($A2, Setup!$A:$C, 3, FALSE), 0)

FALSE forces an exact match. Without it VLOOKUP will happily return the wrong row from an unsorted list. The IFERROR wrapper means a category you have not planned yet shows 0 rather than a red error that breaks every total below it.

4. Date-range total, for anything that is not a calendar month

=SUMIFS(Transactions!$D:$D, Transactions!$A:$A, ">="&$B$2, Transactions!$A:$A, "<="&EOMONTH($B$2, 0))

Use this when you are paid on a cycle that does not line up with the first of the month. B2 holds a real start date. EOMONTH with a second argument of 0 returns the last day of that month; change the 0 to 1 and you get the end of next month instead. Note the ampersand joining the comparison operator to the cell reference: the operator has to be a text string, and the date is appended to it.

5. The whole report in one cell, with QUERY

=QUERY(Transactions!$A$2:$F, "select C, sum(D) where F = '"&$B$1&"' group by C order by sum(D) desc label sum(D) 'Spent'", 0)

This replaces the whole SUMIFS block if you would rather not maintain a category list in the Summary tab. It groups the log by category for the month in B1 and sorts by size, so your biggest spend lands at the top every time. The final 0 tells QUERY there are no header rows in the range you handed it, which is true because the range starts at row 2.

6. Running balance, in a spare Transactions column

=ARRAYFORMULA(IF(LEN(A2:A), SUMIF(ROW(A2:A), "<="&ROW(A2:A), $D$2:$D), ""))

A cumulative total without dragging anything down. It compares each row number to all row numbers at or below it and sums the amounts that qualify. On very long logs this is slower than a plain running total, but for a household budget of a few thousand rows it is instant and it never breaks when you insert a row in the middle.

A worked month that balances to zero

Here is a full month at a take-home total of 3,200 a month, assigned down to the last unit. Every subtotal below was calculated rather than estimated, and the four group figures add back to the income exactly.

GroupLines includedAmountShare of income
IncomeMain pay 2,650 + freelance 420 + other 1303,200100%
Fixed costsRent 950, property tax 160, energy 115, water 35, broadband and mobile 55, insurance 70, car loan 185, subscriptions 301,60050%
Variable costsGroceries 420, transport 145, eating out 110, household 68, personal 78, gifts 7589628%
SavingsEmergency fund 200, sinking funds 180, pension top-up 10048015%
Buffer carried forwardUnassigned, rolls into next month2247%
Total assigned3,200100%
A zero-based month: 1,600 + 896 + 480 + 224 = 3,200, leaving nothing unassigned.

The check cell that keeps you honest is a single subtraction. Put this somewhere obvious at the top of the Summary tab:

=$C$1 - SUM($B$2:$B$40)

C1 is total income, B2:B40 is the plan column. When that cell reads 0 every unit of income has a job. When it reads a positive number you have money doing nothing, and when it reads a negative number your plan already exceeds what you earn. The reasoning behind assigning every unit is covered in our beginner’s guide to zero-based budgeting, and if you want the structure already built with dropdowns and dashboard charts wired up, the zero-based budget tracker for Excel and Google Sheets is the same model as a finished file.

Three settings that make it usable on a phone

  1. Data validation on the Category column. Select Transactions C2:C, choose Data then Data validation, set the criteria to a range and point it at Setup!$A$2:$A. Set it to reject invalid input. Typos in category names are the number one cause of SUMIFS returning zero.
  2. Freeze row 1 and protect the Summary tab. View, Freeze, 1 row. Then right-click the Summary tab and protect it so a stray tap on the phone app cannot overwrite a formula.
  3. Conditional formatting on overspend. Select the Summary rows, choose Format then Conditional formatting, pick “Custom formula is” and enter =AND($A2<>"", $C2>$B2). Rows where spending has passed the plan turn colour on their own.

A fourth optional touch: add a twelve-column strip on the Summary tab holding each month’s total for a category, then put =SPARKLINE(D2:O2, {"charttype","column"}) beside it. That gives you a year of trend in one cell without building a chart.

What to do once it is running

Enter transactions twice a week rather than daily or monthly. Daily is a chore you will drop; monthly means a two-hour session you will keep postponing. Twice a week is roughly ten minutes each time and keeps the numbers recent enough to change a decision.

Review the variable group only. Fixed costs do not respond to willpower, they respond to renegotiation or cancellation, which is a separate job done once or twice a year. The savings group is a decision you already made. So the monthly review is really a look at six numbers, and the useful question is which one moved and why, not whether you were good.

Give the buffer a name as soon as it accumulates. Money labelled “leftover” gets spent; money labelled “car service, March” does not. If you do not have three to six months of essential costs set aside yet, that buffer has an obvious first job, and our notes on building an emergency fund on a tight budget cover how to size it. For debt, a separate payoff schedule works better than a budget line, which is what the debt payoff and snowball tracker is built for. If you are paid weekly or fortnightly rather than monthly, the annual budget and paycheck planner maps categories onto pay dates instead of calendar months. Everything else sits in the budgeting and finance category.

For plain-language explanations of budgeting concepts and free worksheets from a public body rather than a vendor, the Consumer Financial Protection Bureau publishes consumer tools that are worth reading alongside any template.

Frequently asked questions

Does Google Sheets have a built-in budget template?

Google ships an annual budget and a monthly budget template in the template gallery, reachable from the Sheets home screen. They are genuinely free and fine as a starting point, but they are built around typing figures into a grid rather than logging transactions and summing them. That works until the first month you want to know why groceries were high. Building the three-tab structure above takes about twenty minutes and gives you a log you can query later, which the gallery templates do not. You can also open a gallery template and add a Transactions tab to it.

Why does my SUMIFS formula return zero?

Four causes account for nearly all of it. First, argument order: SUMIFS takes the sum range first, SUMIF takes it last. Second, a category name that does not match exactly, usually a trailing space or a different capitalisation, which is why the dropdown matters. Third, dates stored as text rather than date values, which makes every date comparison silently fail. Fourth, a month criterion of 2026-1 compared against a stamp of 2026-01. Check the match first by putting the criterion cell next to a sample transaction cell and testing them with a simple equals comparison.

Should I enter expenses as positive or negative numbers?

Pick one and never change it. Negative for money out is the more flexible choice, because a running balance then works with a plain SUM and imported bank CSV files usually arrive in that form already. The trade-off is that spending totals come out negative, so wrap the display in ABS if you prefer to read them as positive. The alternative, all positive with a separate type column, is easier to read but forces every formula to filter on type. The failure mode to avoid is a sheet with both conventions in it, because no formula can fix that.

Can Google Sheets import my bank transactions automatically?

Not natively, and treat any add-on that asks for full banking credentials with real caution. The practical route is to export a CSV from your bank each week, open it, and paste the rows into the bottom of your Transactions tab. Because the Month column and the running balance are ARRAYFORMULA-driven, they extend over the pasted rows on their own. Set up one extra formula that guesses a category from the description text using a lookup table of keywords, and the weekly job comes down to correcting a handful of guesses.

How many budget categories should I use?

Enough that a category tells you what to change, and no more. If groceries and eating out sit in one line you cannot act on it, so split them. If you have separate lines for shampoo and washing powder, you have created data entry work that will never change a decision, so merge them into household. Twelve to eighteen categories covers most households. A good test: if you cannot remember a category exists without looking at the list, it should not exist. Add a new one only when you have twice been unsure where a transaction belongs.

Build the three tabs, paste the six formulas, and enter a fortnight of real transactions before you judge whether the categories are right. The structure is what makes a budget last past January; the formatting can wait.

Templates that go with this guide