Skip to content

Lesson 38 of 92 · Free Excel Course

Excel

Budget Format in Excel: Build a Monthly Budget Template (Free Download)

Build a monthly budget in Excel step by step: categories, budget vs actual, SUMIF from transactions, overspending in red and a chart. Free template.

A budget only has to answer two questions: how much came in, and where it went. In this project you'll build a monthly budget in Excel that answers both automatically. You list your categories and planned amounts once, log each purchase in a transaction list, and Excel adds up the actual spending, shows what's left in every category, turns overspent rows red and draws a budget vs actual chart. The download has the finished template, a blank copy for your own money, and a practice sheet to build it yourself.

The budget format we'll build

Here's the finished budget for October, with the planned amounts in Budget and the real spending in Actual:

D9=SUMIF($J$2:$J$60,A9,$K$2:$K$60)
ABCDEF
1CategoryGroupBudgetActualRemaining% of income
2Take-home payIncome$3,800.00$3,800.00
3Side jobIncome$400.00$350.00
4Total income$4,200.00$4,150.00
5ExpensesBudgetActualRemaining% of income
6RentFixed$1,300.00$1,300.00$0.0031.3%
7Phone & internetFixed$120.00$120.00$0.002.9%
8InsuranceFixed$180.00$180.00$0.004.3%
9GroceriesVariable$500.00$519.20-$19.2012.5%
10Gas & transportVariable$200.00$145.50$54.503.5%
11UtilitiesVariable$150.00$138.60$11.403.3%
12Eating outVariable$150.00$166.20-$16.204.0%
13Fun & shoppingVariable$200.00$143.99$56.013.5%
14Emergency fundSavings$400.00$400.00$0.009.6%
15RetirementSavings$200.00$200.00$0.004.8%
16Credit cardDebt$300.00$300.00$0.007.2%
17Student loanDebt$250.00$250.00$0.006.0%
18Total expenses$3,950.00$3,863.49$86.5193.1%
19Left over (income minus expenses)$250.00$286.51
The finished budget (A1:F19). Groceries and Eating out went over, so their rows turn red.

It has five kinds of category, the same split Microsoft suggests for a household budget, plus savings and debt:

  • Income: take-home pay (after tax) and any side income. Not sure of your take-home pay? The paycheck calculator works it out.
  • Fixed expenses: the same every month, like rent, phone and insurance.
  • Variable expenses: they change, like groceries, gas, utilities, eating out and fun.
  • Savings: money you move to an emergency fund or retirement account. Treat it as a bill you pay yourself.
  • Debt: credit card and loan payments.

Step 1: set up the categories and budget

  1. Open a blank workbook (Ctrl+N) and type the headings in row 1: Category, Group, Budget, Actual, Remaining, % of income.
  2. Type your income sources in A2:A3, "Income" in B2:B3, and your planned amounts in column C.
  3. Type the actual income you received in D2:D3. Income usually arrives as one or two payments, so typing it is quicker than logging it.
  4. In A4 type Total income, then in C4 type =SUM(C2:C3) and copy it to D4 ($4,200.00 and $4,150.00). Add and SUM covers SUM in detail.
  5. Put an "Expenses" heading row in row 5, then list your categories in A6:A17 with their group in column B and the monthly budget in column C.
  6. Format C2:E19 as currency: select them and press Ctrl+Shift+$.

Plan irregular bills too. If car repairs cost about $600 a year, budget $50 a month. To choose the amounts themselves, the Budgeting course walks through the 50/30/20 and zero-based methods.

Step 2: log transactions with a category drop-down

Instead of typing a total for each category, log every purchase in a list beside the budget, in columns H to L. Excel does the adding up.

J3Groceries
HIJKL
1DateDescriptionCategoryAmountLeft to spend
210/1/2026RentRent$1,300.00$2,850.00
310/2/2026Grocery storeGroceries$132.40$2,717.60
410/3/2026Gas stationGas & transport$48.00$2,669.60
510/5/2026Phone & internet billPhone & internet$120.00$2,549.60
610/5/2026Transfer to savingsEmergency fund$400.00$2,149.60
710/6/2026Pizza nightEating out$42.30$2,107.30
The first six of October's 20 transactions (H1:L21). The Category cells have a drop-down list of the budget categories.

The Category spelling must match the budget exactly, or the purchase won't be counted. A drop-down list makes that automatic:

  1. Select J2:J60 (room for 59 transactions).
  2. Go to Data > Data Validation.
  3. Under Allow, choose List. In Source, type =$A$6:$A$17.
  4. Click OK. Each Category cell now has an arrow listing your 12 categories.

On a Mac the steps are the same. In Excel for the web, it's also Data > Data Validation. Drop-down lists explains the options.

Step 3: add up actual spending with SUMIF

Now fill in the Actual column. In D6 type:

=SUMIF($J$2:$J$60,A6,$K$2:$K$60)

Read it as: look down the categories in J2:J60, find the ones that match A6 (Rent), and add up their amounts from K2:K60. Fill it down to D17. Groceries shows $519.20, the four grocery trips added together (132.40 + 118.75 + 141.20 + 126.85).

The $ signs matter. They lock the transaction ranges so they don't slide down as you fill, while A6 changes to A7, A8 and so on. See absolute and relative references.

Want a whole year in one list? Add a Month column and use SUMIFS, which takes more than one condition: =SUMIFS($K$2:$K$400,$J$2:$J$400,A6,$M$2:$M$400,"Oct"). In SUMIFS the range to add comes first. COUNTIF, SUMIF and AVERAGEIF has more examples.

Step 4: Remaining, percent of income and totals

  1. Remaining: in E6 type =C6-D6 and fill down to E17. That's Budget minus Actual, so a positive number is money still available and a negative one is overspending. Groceries shows -$19.20.
  2. Percent of income: in F6 type =IFERROR(D6/$D$4,0) and fill down. D4 is total actual income, locked with $ so every row divides by it. Click Percent Style on the Home tab (or press Ctrl+Shift+%). Rent is 31.3% of income. IFERROR shows 0 instead of #DIV/0! while income is still blank. More in percentages.
  3. Totals: in row 18 type =SUM(C6:C17) and =SUM(D6:D17), plus =C18-D18 and =IFERROR(D18/$D$4,0). You spent $3,863.49, which is 93.1% of income.
  4. Left over: in C19 type =C4-C18 and in D19 =D4-D18. You planned to have $250.00 left and actually had $286.51.

The practice file also has a Summary by group in rows 21 to 25. Each row uses SUMIF on the Group column, such as =SUMIF($B$6:$B$17,A22,$C$6:$C$17):

D23=SUMIF($B$6:$B$17,A23,$D$6:$D$17)
ABCDEF
21Summary by groupBudgetActualRemaining% of income
22Fixed$1,600.00$1,600.00$0.0038.6%
23Variable$1,200.00$1,113.49$86.5126.8%
24Savings$600.00$600.00$0.0014.5%
25Debt$550.00$550.00$0.0013.3%
Group totals. Savings and debt together are 27.7% of income, a quick check against a 50/30/20 plan.

Step 5: a running "left to spend" balance

The Left to spend column in L shows how much income is left after each purchase:

  1. In L2 type =$D$4-K2. That's total income minus the first purchase: $4,150.00 − $1,300.00 = $2,850.00.
  2. In L3 type =L2-K3, the balance above minus this purchase.
  3. Fill L3 down to the last transaction (L21).

The last balance, $286.51, must equal Left over in D19. If the two don't match, a transaction has a misspelled or missing category, so SUMIF skipped it. It's a free error check.

Step 6: turn overspent rows red

Use conditional formatting with a formula so the whole row lights up:

  1. Select A6:F17 (the expense rows), starting from A6.
  2. Go to Home > Conditional Formatting > New Rule.
  3. Choose Use a formula to determine which cells to format.
  4. Type =$D6>$C6. This means "Actual is more than Budget". The $ before D and C keeps every cell in the row looking at columns D and C.
  5. Click Format, open the Fill tab, choose a light red, and click OK twice.

Groceries and Eating out turn red. Log a $60 lunch under Fun & shopping and that row turns red too.

On a Mac, in the New Rule box, change Style to Classic first, then pick the formula option. In Excel for the web, New Rule opens a pane on the right: set the range, choose Formula as the rule type, type the formula and click Done.

Step 7: chart budget vs actual

  1. Select A5:A17, then hold Ctrl (Cmd on a Mac) and select C5:D17.
  2. Go to Insert > Insert Column or Bar Chart > Clustered Column.
  3. Click the chart title and type "Budget vs actual, October".

Here are the variable categories, where spending actually changes:

Budget vs actual, October$0$200$400$600GroceriesGas & transportUtilitiesEating outFun & shoppingAmount ($)CategoryBudgetActual
Budget vs actual, October
CategoryBudgetActual
Groceries$500$519.2
Gas & transport$200$145.5
Utilities$150$138.6
Eating out$150$166.2
Fun & shopping$200$143.99
Where the orange Actual bar is taller than the blue Budget bar, you overspent: Groceries and Eating out.

To chart where your money went, select A6:A17 and D6:D17 and choose a pie or bar chart instead. Charts and graphs covers chart types and labels.

Use the template for your own budget

The download's Blank template sheet has every formula above but no amounts, so every total shows $0.00 until you start typing. Type your categories and budget in A:C, your income in D2:D3, and your purchases in H:K. Next month, right-click the sheet tab, choose Move or Copy, tick Create a copy, then clear the transactions. If you'd rather start from one of Microsoft's designs, go to File > New and search for "budget".

Try it yourself

Download the practice workbook. The Your task sheet lists the steps, and the Practice sheet has the categories, budget amounts and October's 20 transactions, with yellow cells for your formulas.

  1. Total income in C4 and D4 ($4,200.00 and $4,150.00).
  2. Actual spending with SUMIF in D6:D17 (Groceries $519.20).
  3. Remaining and % of income in E6:F17 (Rent 31.3%).
  4. Totals in rows 18 and 19 (Left over $286.51) and the group summary in rows 22 to 25.
  5. The running balance in L2:L21, ending at $286.51.
  6. The red overspending rule, the category drop-down, and a clustered column chart.

Check every number against the Answers sheet, which is the finished, working budget.

Common mistakes

  • Missing $ signs in SUMIF. The transaction ranges slide down as you fill, and lower categories come out too small.
  • Category spelling. "Grocery" isn't "Groceries", so SUMIF skips it. Use the drop-down.
  • Mixing up the sign. Decide what Remaining means (here, budget minus actual) and write it in the heading.
  • Typing totals by hand. A typed $3,950 won't change when a budget amount does. Always use =SUM.
  • Using gross pay as income. Budget with take-home pay, the amount that actually reaches your account.
  • Forgetting irregular bills. Divide yearly costs by 12 and budget for them monthly.

You've built a working budget with SUM, SUMIF, percentages, a running balance, conditional formatting, a drop-down and a chart, the skills from most of this course in one sheet. Before this, you checked your skills with an Excel test and certification guide. Next, use the same tools to plan shifts in Project: work schedule.

Frequently asked questions

Does Excel have a budget template?

Yes. In Excel, go to File > New and type budget in the search box to see Microsoft's free budget templates, then click one and choose Create. Our free budget template goes further: actual spending fills itself in from a transaction list, overspent rows turn red, and every formula is explained in this lesson.

What formulas do I need for a budget in Excel?

Four do almost everything: `=SUM(C6:C17)` for totals, `=SUMIF($J$2:$J$60,A6,$K$2:$K$60)` to add up actual spending for one category from your transaction list, `=C6-D6` for what's left (budget minus actual), and `=D6/$D$4` for each category as a percent of income. Add `=C4-C18` for money left over after all expenses.

How do I track expenses by category in Excel?

Keep one list of transactions with a Date, Description, Category and Amount column, and give the Category column a drop-down so the names always match your budget. Then use SUMIF (or SUMIFS for more than one condition, such as category and month) to total each category. See COUNTIF, SUMIF and AVERAGEIF.

Should the difference be budget minus actual or actual minus budget?

Either works if you stay consistent and label it. This lesson uses Remaining = Budget minus Actual for expenses, so a positive number is money you still have and a negative number means you overspent. The overspending rule then checks whether Actual is greater than Budget, which works whichever way round you subtract.

How do I highlight when I'm over budget in Excel?

Select the category rows, go to Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format, type `=$D6>$C6` (Actual greater than Budget), click Format, choose a light red fill and click OK twice. The `$` before the column letters makes the whole row turn red. More in conditional formatting.

What is the 50/30/20 budget and can I do it in Excel?

It's a common rule of thumb: about 50% of take-home pay for needs, 30% for wants and 20% for savings and extra debt payments. In this template, the % of income column in the group summary shows how close you are. Our free Budgeting course explains 50/30/20 and other methods, such as zero-based budgeting.