Ravindra BagaleCourses & study guides मराठी Track your progress

27. 20 Industry Projects

Excel

27.4 Finance and Accounting: Budget vs Actual Variance

Example first. Shahrukh prepares the monthly expense review for a fictional chain of dark stores and needs to show where spending went over budget.

Finance and Accounting project — in 30 seconds

What: A Finance and Accounting tracker: one Table tblBudget, the calculated column Variance, KPI cells, a PivotTable by City, a chart and a one-page dashboard.

Why: This is the shape of a real Finance and Accounting report: Total Budget, Total Actual, Variance %, Heads over Budget are the numbers a manager reads first.

Tiny example: From 6 rows: Total Budget = ₹8,15,000, Total Actual = ₹8,46,400, Variance % = 3.9%, Heads over Budget = 3.

First look at the data (before → after):

Finance and Accounting project: before and after tables, fictional FreshGo Maharashtra data

Expected result — Calculated column

Head Variance
Rent ₹0
Salaries ₹18,000
Marketing ₹15,500
Utilities -₹2,600
Packaging ₹6,200
Delivery -₹5,700

About this data: Teaching sample for a fictional shop “BrightLedger Finance”. Figures and names (e.g. Neha Shah) are made up for this lesson on finance and accounting budget vs actual variance.

Expected result — KPI cells (expected results)

KPI Formula Result
Total Budget =SUM(tblBudget[Budget]) ₹8,15,000
Total Actual =SUM(tblBudget[Actual]) ₹8,46,400
Variance % =(SUM(tblBudget[Actual])-SUM(tblBudget[Budget]))/SUM(tblBudget[Budget]) 3.9%
Heads over Budget =COUNTIF(tblBudget[Variance],">0") 3

About this data: Demo table only — not real customer or company data. Built to practise finance and accounting budget vs actual variance.

Before table and formula as text

Before — Table tblBudget (fictional sample rows)

Head City Budget Actual
Rent Pune 1,20,000 1,20,000
Salaries Pune 4,50,000 4,68,000
Marketing Nashik 80,000 95,500
Utilities Nashik 30,000 27,400
Packaging Nagpur 45,000 51,200
Delivery Solapur 90,000 84,300

About this data: Made-up rows so you can copy the pattern for finance and accounting budget vs actual variance. Currencies may use ₹, £, € or $.

Formula / click path

Variance: =[@Actual]-[@Budget]
Total Budget: =SUM(tblBudget[Budget])
Total Actual: =SUM(tblBudget[Actual])
Variance %: =(SUM(tblBudget[Actual])-SUM(tblBudget[Budget]))/SUM(tblBudget[Budget])
Heads over Budget: =COUNTIF(tblBudget[Variance],">0")

Do it step by step:

  1. Type the data and press Ctrl+T; name the Table tblBudget in Table Design › Properties › Table Name.
  2. Add the column Variance with =[@Actual]-[@Budget]; the Table fills it down.
  3. On a KPI sheet type =SUM(tblBudget[Budget]) and the other KPI formulas from the table below.
  4. Click Insert › PivotTable › From Table/Range, put City in Rows and Actual in Values (Sum).
  5. Click PivotTable Analyze › PivotChart › Clustered Column, then PivotTable Analyze › Insert Slicer › Head.
  6. Move the KPI cells, the chart and the slicer onto a sheet named Dashboard.

The brief. Build a budget-versus-actual report: variance per expense head, total budget and actual, variance % for the whole month, the number of heads over budget, actual spend by city, a chart and a Head slicer.

Calculated column formulas:

Column Formula
Variance =[@Actual]-[@Budget]

About this data: Fictional worksheet used in class. Safe to edit; nothing here is live production data.

KPI cells (check your numbers):

KPI Formula Result
Total Budget =SUM(tblBudget[Budget]) ₹8,15,000
Total Actual =SUM(tblBudget[Actual]) ₹8,46,400
Variance % =(SUM(tblBudget[Actual])-SUM(tblBudget[Budget]))/SUM(tblBudget[Budget]) 3.9%
Heads over Budget =COUNTIF(tblBudget[Variance],">0") 3

About this data: Teaching sample for a fictional shop “BrightLedger Finance”. Figures and names (e.g. Neha Shah) are made up for this lesson on finance and accounting budget vs actual variance.

PivotTable (expected):

City Sum of Actual
Nagpur ₹51,200
Nashik ₹1,22,900
Pune ₹5,88,000
Solapur ₹84,300
Grand Total ₹8,46,400

About this data: Demo table only — not real customer or company data. Built to practise finance and accounting budget vs actual variance.

Chart and dashboard (one under the other):

  1. Click inside the PivotTable, then PivotTable Analyze › PivotChart › Clustered Column › OK.
  2. Add a chart title and data labels with Chart Design › Add Chart Element.
  3. Click PivotTable Analyze › Insert Slicer, tick Head and click OK.
  4. Insert a new sheet named Dashboard. In it, link a card cell to each KPI (for example =KPI!B2) and format it large and bold.
  5. Cut and paste the chart and slicer onto the Dashboard sheet.
  6. On the View tab, untick Gridlines in the Show group. Select the dashboard area and click Page Layout › Print Area › Set Print Area.

Template and guide: download the practice template Finance_Accounting_Template.xlsx and read the step-by-step template guide. The template's sample rows may differ from the rows above; the method is the same.

Practice task (try it before you open the answer):

  1. Which city has the highest sum of Actual?
  2. Filter the Table on City = Pune (Data › Filter): what is Total Budget for Pune alone?
  3. Add the Clustered Column PivotChart and the Head slicer to your Dashboard sheet.
Answer

Pune (₹5,88,000). For Pune only (2 rows): Total Budget = ₹5,70,000. The chart shows 4 bars, one per city.

Ravindra Bagale's Tip

Write the definition of Total Budget under its KPI card in small text. Two people reading the same dashboard should agree on what the number means.

Loading practice tasks...

  1. Total budget (Easy): Add up Budget (₹) in C2:C11. (sheet "Data")
  2. Total actual (Easy): Add up Actual (₹) in D2:D11. (sheet "Data")
  3. Over rows (Easy): How many rows have Status "Over"? (sheet "Data")
  4. Max actual (Easy): Largest Actual (₹) in D2:D11. (sheet "Data")
  5. Total variance (Easy): Add up Variance (₹) in E2:E11. (sheet "Data")
  6. Pune budget (Medium): Total of Budget (₹) where City is "Pune". (sheet "Data")
  7. Sales actual (Medium): Total of Actual (₹) where Dept is "Sales". (sheet "Data")
  8. Actual over 300000 (Medium): How many rows have Actual (₹) > 300000? (sheet "Data")
  9. Actual of HR (Medium): Actual (₹) for Dept "HR". (sheet "Data")
  10. Actual / Budget (Hard): Total actual / total budget, 3 decimals. (sheet "Data")
  11. Under count (Hard): How many rows have Status "Under"? (sheet "Data")
  12. Over budget? (Hard): "Over" if D2 > C2 else "Under". (sheet "Data")