Managing your personal finances doesn't require expensive software. With just 12 Excel formulas, you can build a complete budget tracker that rivals any paid app. Whether you're tracking household expenses, saving for a goal, or paying off debt — these formulas are the foundation of every smart budget.
This guide walks you through each formula with real numbers and shows exactly how to use them in your own budget spreadsheet.
Setting up your budget spreadsheet
Before using formulas, structure your data correctly. Create a simple sheet with these columns:
- Column A: Date
- Column B: Category (Groceries, Rent, Transport, etc.)
- Column C: Description
- Column D: Type (Income or Expense)
- Column E: Amount
Now let's add the formulas that turn this raw data into useful insights.
1. SUM — Total monthly spending
The foundation of any budget. SUM adds up all your expenses or income.
=SUM(E2:E100)
This adds all amounts from cell E2 to E100. Use this for your total income, total expenses, or total savings.
2. SUMIF — Spending by category
Want to know how much you spent on groceries this month? SUMIF gives you category-level totals.
=SUMIF(B2:B100, "Groceries", E2:E100)
This adds up amounts in column E where column B equals "Groceries". Repeat with different categories to see where your money goes.
3. SUMIFS — Multi-condition budgeting
SUMIFS handles multiple conditions. Get the total groceries spending only for expenses (not refunds):
=SUMIFS(E2:E100, B2:B100, "Groceries", D2:D100, "Expense")
This is perfect when you need to filter by both category AND transaction type.
4. AVERAGE — Your typical spending
What's your average grocery bill? AVERAGE shows your typical spending pattern.
=AVERAGEIF(B2:B100, "Groceries", E2:E100)
Knowing your average helps you spot unusual expenses and set realistic budget limits.
5. MAX — Your largest expense
Find the biggest hit to your wallet this month:
=MAXIFS(E2:E100, B2:B100, "Groceries")
This shows the maximum value in column E where the category is Groceries. Useful for catching one-time large purchases that skew your average.
6. COUNTIF — Number of transactions
How often are you eating out? Count the transactions by category:
=COUNTIF(B2:B100, "Restaurant")
If you ate out 25 times this month, that's a habit worth examining. Counting transactions reveals patterns that totals alone hide.
7. IF — Are you over budget?
Set a budget threshold and let Excel tell you when you've crossed it:
=IF(SUMIF(B:B,"Groceries",E:E)>500,"Over budget","On track")
This checks if your total grocery spending exceeds $500 and shows a clear status message. Apply this to every category to create a budget dashboard.
8. Percentage of total income
The 50/30/20 rule says: 50% needs, 30% wants, 20% savings. Calculate what percentage each category takes:
=SUMIF(B:B,"Rent",E:E)/SUMIF(D:D,"Income",E:E)
Format the cell as percentage (Ctrl+Shift+%) to see "23%" instead of "0.23". If rent is 40% of your income, it's time to consider moving or finding a roommate.
9. Running balance — TODAY's bank balance
Track your cash flow in real-time with a running balance formula in column F:
=F1 + IF(D2="Income", E2, -E2)
This adds income or subtracts expense from the previous row's balance. Now you can see exactly how much money you had on any given day.
10. DATEDIF — Days until your savings goal
Saving for a vacation, laptop, or down payment? Calculate days remaining:
=DATEDIF(TODAY(),"2026-12-31","D")
Combined with your current savings, you can divide your goal by remaining days to see how much you need to save daily.
11. MONTH — Group by month
See spending trends across months:
=SUMIFS(E:E,D:D,"Expense",A:A,">="&DATE(2026,1,1),A:A,"<="&DATE(2026,1,31))
This sums January 2026 expenses only. Build a yearly comparison table to spot seasonal spending patterns.
12. CONDITIONAL FORMATTING — Visual budget alerts
Not a formula but essential. Highlight cells red when spending exceeds 90% of your budget:
- Select your category totals
- Home → Conditional Formatting → Highlight Cell Rules → Greater Than
- Enter your budget threshold
- Choose red fill
Visual warnings prevent overspending before it happens.
Putting it all together
Here's a sample budget summary using these formulas:
- Total Income:
=SUMIF(D:D,"Income",E:E)
- Total Expenses:
=SUMIF(D:D,"Expense",E:E)
- Net Savings:
=SUMIF(D:D,"Income",E:E)-SUMIF(D:D,"Expense",E:E)
- Savings Rate:
=(Net Savings)/(Total Income) formatted as %
- Biggest Category: Use MAXIFS to find your highest spending category
- Status: IF formula showing "On track" or "Over budget"
Pro tips for budget tracking
- Update daily, not monthly. Recording expenses as they happen takes 30 seconds. Catching up after a month takes hours and you'll miss things.
- Use absolute references. When copying budget formulas across rows, use
$E$1 instead of E1 so the reference doesn't shift.
- Add categories sparingly. 8-10 categories is the sweet spot. More than 15 becomes hard to maintain.
- Review weekly. Spend 10 minutes every Sunday looking at your totals. Adjust your behavior, not your budget.
Want a ready-made template?
Building your own from scratch teaches you the formulas, but if you want a head start, our Formula Library has every formula above with examples you can copy directly.
Need a specific budget formula but can't quite write it? Use our AI Formula Generator — type "Sum all rent expenses in 2026" and get the exact formula instantly.
Summary — Your budget tracking toolkit
- SUM — totals
- SUMIF / SUMIFS — totals by category
- AVERAGEIF — typical spending
- MAXIFS — biggest expenses
- COUNTIF — transaction frequency
- IF — over-budget alerts
- DATEDIF — savings goal countdown
- Percentage formulas — 50/30/20 ratios
- Running balance — daily cash flow
Master these 12 formulas and you have a budget system that beats most expensive apps. Start today — even tracking one week reveals patterns you didn't know existed.