# Q3 Budget Variance Model: Which Cost Centres Drove It, and Is It Timing or Permanent?

*Excel (Microsoft 365) · no macros · refreshable · for the CFO · fictional data*

## Summary

The workbook combines **Actuals**, **Budget** and **Map** into one variance table. It flags material variances (over 5% **and** over 10,000) and tests whether each one is **timing** (it reverses within the quarter or against year-to-date) or **permanent**. Everything uses Excel tables and dynamic-array formulas, so pasting a new month refreshes the results. Figures shown here are layout examples only — [validate] after loading real data.

## Definitions

| Term | Definition |
| --- | --- |
| Variance | Actual − Budget (per month, cost centre, account) |
| Favourable (costs) | Variance < 0 |
| Material | ABS(variance) > 10,000 **and** ABS(variance / budget) > 5% |
| Timing (test) | Q3 month variances change sign **or** the YTD variance is under 25% of the Q3 variance [validate threshold with finance policy] |
| Permanent | Material and not timing |
| Grain | Cost centre × account × month |

## Step 1 — Turn each sheet into a table

Click inside each range → **Ctrl+T** → name the tables in Table Design: `tActuals`, `tBudget`, `tMap`. New months pasted directly below a table are absorbed automatically.

## Step 2 — Data quality checks (sheet *Checks*)

| Check | Formula | Expected |
| --- | --- | --- |
| Accounts missing from Map | `=ROWS(FILTER(UNIQUE(tActuals[Account]), ISNA(XMATCH(UNIQUE(tActuals[Account]), tMap[Account])), "none"))` | "none" or 0 rows |
| Actuals total matches the ledger | `=SUM(tActuals[Amount])` vs the trial balance total | Difference = 0 [validate] |
| Budget months present | `=COUNTA(UNIQUE(tBudget[Month]))` | 12 |
| Text amounts | `=SUMPRODUCT(--ISTEXT(tActuals[Amount]))` | 0 |

## Step 3 — Variance table (sheet *Variance*)

**A2 — the list of keys (spills automatically):**

```excel
=UNIQUE(VSTACK(
   tActuals[[CostCentre]:[Account]],
   tBudget[[CostCentre]:[Account]]))
```

**C1 — choose the quarter's months** (a three-cell list, for example Jul, Aug, Sep). Name it `QMonths`.

**C2 — Q3 actual for each key:**

```excel
=MAP(INDEX(A2#,,1), INDEX(A2#,,2), LAMBDA(c, a,
   SUM(SUMIFS(tActuals[Amount], tActuals[CostCentre], c,
              tActuals[Account], a, tActuals[Month], QMonths))))
```

**D2 — Q3 budget:** the same formula against `tBudget`.

**E2 — variance and F2 — variance %:**

```excel
=C2# - D2#
=IF(D2#=0, NA(), E2# / D2#)
```

**G2 — material flag:**

```excel
=IF(IFERROR((ABS(E2#) > 10000) * (ABS(F2#) > 0.05), ABS(E2#) > 10000), "Material", "")
```

## Step 4 — Timing vs permanent (columns H–J)

**H2 — month-by-month sign change within Q3** (1 if variances in the quarter's months do not all share a sign):

```excel
=MAP(INDEX(A2#,,1), INDEX(A2#,,2), LAMBDA(c, a, LET(
   v, MAP(QMonths, LAMBDA(m,
        SUMIFS(tActuals[Amount], tActuals[CostCentre], c, tActuals[Account], a, tActuals[Month], m)
      - SUMIFS(tBudget[Amount],  tBudget[CostCentre],  c, tBudget[Account],  a, tBudget[Month],  m))),
   --(MAX(v) > 0) * (MIN(v) < 0))))
```

**I2 — YTD variance** (same structure as C2/D2 with a `YTDMonths` named range).

**J2 — classification:**

```excel
=IF(G2#<>"Material", "",
   IF((H2# = 1) + (ABS(I2#) < 0.25 * ABS(E2#)), "Timing", "Permanent"))
```

## Step 5 — CFO summary (sheet *Summary*)

**Top material variances by cost centre:**

```excel
=LET(t, FILTER(HSTACK(INDEX(Variance!A2#,,1), Variance!E2#, Variance!J2#), Variance!G2#="Material"),
     SORTBY(t, ABS(INDEX(t,,2)), -1))
```

| Element | Spec |
| --- | --- |
| Table | Cost centre · Q3 variance · % · Timing/Permanent · Owner comment |
| Chart | Horizontal bar of the top 10 variances, coloured favourable/unfavourable; timing items hatched |
| Headline | "Q3 costs were [x] [over/under] budget; [y] of that is permanent, driven by [cost centre]" — fill from validated results |

*Example layout (not real figures):*

| Cost centre | Q3 variance | % | Type | Comment |
| --- | --- | --- | --- | --- |
| [validate] | [validate] | [validate] | [validate] | [owner to add] |

## Validation

- `=SUM(Variance!C2#)` must equal Q3 total in `tActuals` (`=SUMIFS(tActuals[Amount], tActuals[Month], QMonths)` summed).
- Same for budget. Any difference means keys are missing from one table.
- Spot-check two rows by hand with a filtered view of the raw sheets.

## Interpretation template

- **Total:** Q3 costs were [x] ([y]%) [over/under] budget.
- **Drivers:** [n] material variances; the largest permanent one is [cost centre / account] at [x].
- **Timing:** [x] of the variance is expected to reverse by year end (timing test above).
- **Caveats:** the timing test is a heuristic; confirm with cost-centre owners before the forecast is changed.

## Risks and next steps

- Month labels must match exactly between sheets (use real dates formatted as months, not text) [validate].
- Next: a full-year forecast column assuming timing variances reverse in Q4; owner comment collection via a shared sheet.

**Next steps I can help with:** I can draft CFO commentary once you paste the summary table. Can you share the Q3 total from the ledger so we can confirm the model reconciles?
