Home>Blogs>Excel Tips and Tricks>Budget vs Actual Variance Report in Excel (Free Template)
Excel Tips and Tricks

Budget vs Actual Variance Report in Excel (Free Template)

A budget vs actual variance report in Excel answers one question fast: which department overspent this month, and by how much? In this tutorial you build one from raw data, with a month drop-down, status flags, a monthly trend and a dashboard. The example is Summit Ridge Supply Co., a distributor in Denver with 7 departments. In October 2026 the budget is $222,400 and the actual spend is $231,056, so the company is $8,656 (3.9%) over, and Marketing is 20.4% over budget.

Budget vs actual variance report in Excel with an over budget alert and status colors
The finished report: one department is over budget in October.

⬇️  Download the Free Practice File
Practice file + solution workbook · .zip · Excel 365 or 2021

Watch the Video Tutorial

Video Overview

The video starts with the finished report and dashboard, then switches the month to July so you can see everything move. After that you build it from the practice file in seven steps: the budget lookup, the actual spend, variance and status, colors, an alert label, the monthly trend and the dashboard. At the end you check the invoices behind Marketing and find one that was entered twice.

Budget vs actual dashboard in Excel with KPI cards and two charts
The dashboard: month cards, year to date cards and two charts.

The Practice File

The workbook has an approved budget by department and month on the Budget sheet, about 250 invoices in the tblActuals table on the Actuals sheet, and an empty report and dashboard. Pick the report month in C8 and keep the tolerance in F8 at 5%.

Actuals invoice table with date, department, vendor and amount
The invoice log is an Excel table, so new rows are picked up.
Empty budget vs actual report layout in the practice file
The empty report layout you will fill.

The catch: the budget is per month, but the invoices are per day. So the actual spend needs a date range, not an exact date match.

Step 1: Budget With a Two-Way XLOOKUP

In C11 type this and fill it down to C17:

=XLOOKUP($B11,Budget!$B$6:$B$12,XLOOKUP($C$8,Budget!$C$5:$N$5,Budget!$C$6:$N$12))

The inner XLOOKUP returns the October column and the outer one picks the department. Lock the ranges and the month cell with F4 and keep only the column locked in $B11. Sales shows $47,400.

Two-way XLOOKUP formula for the department budget in Excel
Two XLOOKUPs return the budget for the department and month.

Step 2: Actual Spend With SUMIFS

In D11:

=SUMIFS(tblActuals[Amount],tblActuals[Department],$B11,tblActuals[Date],">="&$C$8,tblActuals[Date],"<="&EOMONTH($C$8,0))

The operator sits inside quotes and is joined to the cell with &. Writing the operator and the cell together inside the quotes is the most common mistake. EOMONTH returns the last day of the month. Sales spent $48,869 in October.

SUMIFS formula with a date range for actual spend by department
SUMIFS adds up one department between two dates.

Step 3: Variance, Variance % and Status

Variance in E11 and variance percent in F11:

=D11-C11

=IF(C11=0,0,E11/C11)

Status in G11:

=IF(F11>$F$8,"OVER",IF(F11<-$F$8,"UNDER","ON TRACK"))

Variance percent column in the budget vs actual report
Marketing is +20.4% and HR is -7.2%.

Fill the total row with =SUM(C11:C17) for the budget and =SUM(D11:D17) for the actual, then copy the variance and status formulas into row 18.

Total row with budget, actual, variance and variance percent
October total: $222,400 budget, $231,056 actual.

Step 4: Status Colors

Select G11:G18, open Conditional Formatting, New Rule, Use a formula, and add three rules with white bold text: red for OVER, green for ON TRACK and blue for UNDER.

=$G11="OVER"

Conditional formatting rule for the status column in Excel
One formula rule for each status color.

Step 5: The Alert Label

In the merged cell I8:

=IF(COUNTIF(G11:G17,"OVER")=0,"ALL DEPARTMENTS WITHIN BUDGET",COUNTIF(G11:G17,"OVER")&" DEPARTMENT(S) OVER BUDGET")

COUNTIF stops at row 17 so the Total row is not counted as a department. Color the label red when it ends with OVER BUDGET and green when it starts with ALL.

Over budget alert label formula with COUNTIF
The alert counts the departments marked OVER.

Step 6: Monthly Trend and Year to Date

For each month in I11:I22 use these formulas in J11, K11, L11 and M11:

=SUM(XLOOKUP(I11,Budget!$C$5:$N$5,Budget!$C$6:$N$12))

=IF(I11>$C$8,"",SUMIFS(tblActuals[Amount],tblActuals[Date],">="&I11,tblActuals[Date],"<="&EOMONTH(I11,0)))

=IF(K11="","",K11-J11)

=IF(K11="","",L11/J11)

Year to date in J23, K23, L23 and M23:

=SUMIFS(J11:J22,I11:I22,"<="&C8)

=SUM(K11:K22)

=K23-J23

=IF(J23=0,0,L23/J23)

Months after the report month stay blank. Through October the company is $25,973 (1.2%) over budget for the year.

Monthly budget vs actual trend with year to date totals
The trend shows whether October is a one-off or a pattern.

Step 7: Build the Dashboard

The dashboard only links to the report, so there is nothing new to calculate. Link the month, the alert label, the four month cards from row 18 and the four year to date cards from row 23. Color a variance red above zero and green otherwise.

Dashboard KPI cards linked to the variance report
Month and year to date cards linked to the report.

Then insert two clustered column charts: budget vs actual by department, and monthly budget vs actual for 2026.

Inserting a budget vs actual clustered column chart
Insert the monthly chart from the report columns.
Budget vs actual dashboard with two column charts
The finished dashboard with both charts.

Check the Invoices Before You Blame a Department

Filter the Actuals table to Marketing in October. Invoice INV-10245 from Brightwave Media, $6,400, is in the log twice on 10/21/2026. Delete one row and Marketing drops from 20.4% over to 1.8% under, which is ON TRACK. The month variance falls from $8,656 to $2,256 and the alert turns green.

Duplicate invoice found in the actuals table
The same invoice number entered twice.
Variance report showing all departments within budget after removing the duplicate
After the fix: all departments are within budget.

Manual Totals or a Variance Report?

NeedManual totalsThis variance report
Change the monthFilter and add againPick it in C8
Spot overspendingRead every numberStatus colors and alert
See the trendBuild another sheetMonthly table and charts
New invoicesExtend ranges by handThe table grows and SUMIFS picks them up

Want a Ready-Made Version?

This free file teaches the formulas. For a ready-to-use tool, see the Budget vs Actual Dashboard in Excel. To go further with reports and dashboards, join the Excel Pivot Tables & Dashboards: Basic to Advanced course on Next Gen Templates Academy. Microsoft’s XLOOKUP documentation explains every argument.

Related Tutorials

Frequently Asked Questions

What is a budget vs actual variance report?

It puts the approved budget next to the money actually spent for each department or account, and shows the difference in dollars and as a percentage, so you can see who is over or under budget.

How do I calculate budget variance in Excel?

Subtract the budget from the actual with =D11-C11, then divide that variance by the budget with =IF(C11=0,0,E11/C11). For expenses, a positive number means overspending.

How do I add up actual spend for one month?

Use SUMIFS with two date conditions: on or after the first day of the month and on or before EOMONTH of that month, plus a condition for the department.

Why use XLOOKUP twice for the budget?

The inner XLOOKUP returns the whole column for the report month and the outer XLOOKUP picks the row for the department. Together they make a two-way lookup.

Which Excel version do I need?

XLOOKUP needs Microsoft 365 or Excel 2021 or later. SUMIFS, COUNTIF, EOMONTH and conditional formatting also work in older versions.

What does the tolerance cell do?

It sets how far a department can move before it is flagged. With 5 percent, anything above plus 5 percent is OVER, below minus 5 percent is UNDER and everything between is ON TRACK.

Is the practice file free?

Yes. The zip has the Practice and Solution workbooks for a fictional distributor, Summit Ridge Supply Co. in Denver, Colorado. All names and numbers are example data.

Download the Free Practice File

⬇️  Download the Free Practice File
Practice file + solution workbook · .zip · Excel 365 or 2021

By PK, An Excel Expert. Summit Ridge Supply Co. and all names and numbers are fictional example data for learning.

Conclusion

You built a variance report that follows one month drop-down, flags every department, shows the year to date trend and feeds a one-page dashboard. Download the free file, build along with the video and compare with the Solution workbook if you get stuck.

PK
Meet PK, the founder of PK-AnExcelExpert.com! With over 15 years of experience in Data Visualization, Excel Automation, and dashboard creation. PK is a Microsoft Certified Professional who has a passion for all things in Excel. PK loves to explore new and innovative ways to use Excel and is always eager to share his knowledge with others. With an eye for detail and a commitment to excellence, PK has become a go-to expert in the world of Excel. Whether you're looking to create stunning visualizations or streamline your workflow with automation, PK has the skills and expertise to help you succeed. Join the many satisfied clients who have benefited from PK's services and see how he can take your Excel skills to the next level!
https://www.pk-anexcelexpert.com