Confident CellsExcel practice Start free

Budget vs actual in Excel: spend to date and variance

Updated 26 November 2026 · 4 min read

Variance is actual minus budget: =C2-B2, so an overspend comes out positive and an underspend negative. As a percentage of the budget it's =(C2-B2)/B2, and spend to date is a running total, =SUM($C$2:C2). These work in every version of Excel, on Windows and Mac and in Excel for the web.

The formulas at a glance

You wantFormulaWhat it tells you
Spend to date=SUM($C$2:C2)A running total that grows a month at a time as you copy it down
Variance in £=C2-B2How much over (plus) or under (minus) the budget
Variance as a %=(C2-B2)/B2How far over or under, as a share of that line's budget
An over-budget flag=IF(C2>B2,"Over budget","")Which months or lines went over
A flag for big swings either way=IF(ABS(E2)>0.1,"Check","")Lines more than 10% over or under
% of the year's budget spent=SUM(C2:C13)/SUM(B2:B13)How far through the money you are
A projection for the year=AVERAGE(C2:C13)*12Where the year ends if spending carries on the same

Each one is worked through below on a small team budget.

Spend to date and variance by month

Each month adds one more to the total. April's spend to date is just April's £420. May's is April plus May: £420 + £530 = £950. Variance is the month's spend take away its budget. May: £530 − £500 = £30 over. July: £380 − £500 = −£120, which is £120 under.

=SUM($C$2:C2)
ABCDEF
1MonthBudgetSpentSpent to dateVarianceFlag
2Apr£500.00£420.00£420.00-£80.00
3May£500.00£530.00£950.00£30.00Over budget
4Jun£500.00£610.00£1,560.00£110.00Over budget
5Jul£500.00£380.00£1,940.00-£120.00
D2 holds =SUM($C$2:C2), E2 holds =C2-B2, and F2 holds =IF(C2>B2,"Over budget",""), all copied down.

The start of the range is locked with $ and the end isn't. Copied down to row 5, it becomes =SUM($C$2:C5): four months. Press F4 to add the $ signs (on a Mac, Cmd+T, or Fn+F4); there's more in $ and F4. The flag uses IF and leaves the months that stayed in budget blank.

Some teams work variance out the other way round, budget minus actual, so an underspend is positive. Either is fine, as long as the sheet says which. Accountants often flex the budget to the units actually made before comparing, and call each variance favourable or adverse: that's in Excel for AAT.

Variance as a percentage

£300 over on a £1,500 travel budget matters more than £600 over on £12,000 of staff costs. The percentage shows it. Travel: £1,800 − £1,500 = £300, and £300 ÷ £1,500 = 20% over. Staff: £600 ÷ £12,000 = 5% over.

=(C2-B2)/B2
ABCDEF
1LineBudgetActualVariance% varianceFlag
2Staff£12,000.00£12,600.00£600.005%
3Supplies£3,000.00£2,700.00-£300.00-10%
4Travel£1,500.00£1,800.00£300.0020%Check
5Training£2,000.00£1,200.00-£800.00-40%Check
6Total£18,500.00£18,300.00-£200.00-1.1%
D2 holds =C2-B2, E2 holds =(C2-B2)/B2 and F2 holds =IF(ABS(E2)>0.1,"Check",""), all copied down. Row 6 adds up the lines.

The brackets matter: without them, Excel divides first. Format the column as a percentage with the % button (Ctrl+Shift+5, or Control+Shift+5 on a Mac). There's more on this in percentages in Excel.

The flag looks at the size of the swing either way: ABS drops the minus sign, so Training's −40% counts as 40% and gets "Check" too. Supplies is exactly 10% under, which isn't more than 10%, so it isn't flagged. Use >= if it should be.

The total hides a lot: the whole budget is £200 under, about 1%, but Travel is 20% over and Training 40% under. Read the lines as well as the total.

The year so far, and a projection

Four months into the year, £1,940 of the £6,000 budget has gone: £1,940 ÷ £6,000 = 32.3%, about right for a third of the year. If spending carries on at the same rate, the year comes to the average month × 12. The four months average £485, so the projection is £485 × 12 = £5,820, £180 under.

ABCDEFG
1MonthBudgetSpentVariance
2Apr£500.00£420.00-£80.00Year budget£6,000.00
3May£500.00£530.00£30.00Spent so far£1,940.00
4Jun£500.00£610.00£110.00% spent32.3%
5Jul£500.00£380.00-£120.00Projected year£5,820.00
6Aug£500.00Projected variance-£180.00
7Sep£500.00
8Oct£500.00
9Nov£500.00
10Dec£500.00
11Jan£500.00
12Feb£500.00
13Mar£500.00
G4 holds =G3/G2, the share of the year's budget spent. G5 holds =AVERAGE(C2:C13)*12. D2 holds =IF(C2="","",C2-B2), so the months still to come stay blank.

AVERAGE skips the empty months, so the projection works part-way through the year. The variance column uses IF to stay blank until a month has a figure: a plain =C9-B9 would show every future month as £500 under.

A projection assumes every month is like the ones so far. A big bill due later in the year, or a quiet August, changes it, so treat it as a rough guide.

Colouring the months that went over

To colour the over-budget figures as well as, or instead of, the flag, select the variance column and go to Home › Conditional Formatting › Highlight Cells Rules › Greater Than. Type 0 and pick a colour. The menus are the same in Excel for Mac. To colour the whole row, use a formula rule such as =$C2>$B2: conditional formatting with a formula shows how, step by step.

Common mistakes

The running total doesn't grow

Both ends were locked ($C$2:$C$2), or neither was. Lock only the start.

The % variance divided by the actual

=(C2-B2)/C2 divides by what was spent, so Travel's £300 comes out as 16.7% instead of 20%. Variance is measured against the budget: divide by B2.

Blank months count as 0

An empty month in a formula like =C9-B9 shows the whole budget as an underspend. Use =IF(C9="","",C9-B9) to leave it blank until there's a figure.

A year's bill makes one month look over

Insurance or a licence paid once a year lands in the month it's paid. Spread it over the months it covers instead, as in accruals and prepayments, so each month carries its share.

Try it now

Your turn

In D2, work out the spend to date: a running total of column C. Your formula will be copied down to D7.

ABCD
1MonthBudgetSpentSpent to date
2Apr£800.00£640.00
3May£800.00£910.00
4Jun£800.00£775.00
5Jul£800.00£820.00
6Aug£800.00£560.00
7Sep£800.00£905.00

Open this in Try a formula: the same sheet with the answer filled in, to change or share by link.

Part of SUMIF, budgets and VAT practice: every lesson on the topic, with a project in Excel.

Questions

How do I calculate the variance between budget and actual in Excel?

Take the budget away from the actual figure: =C2-B2, with the actual in C2 and the budget in B2, then copy it down. A positive answer means more was spent than planned, and a negative one means less. A month with £530 spent against £500 budgeted shows £30. Format the column as currency so the minus signs are easy to spot.

How do I work out the percentage variance in Excel?

Divide the variance by the budget: =(C2-B2)/B2, then click the % button. The brackets make Excel subtract before it divides. £1,800 spent against a £1,500 budget is £300 over, and £300 ÷ £1,500 is 20%. Divide by the budget: dividing by the actual makes the same overspend 16.7%. If a budget line can be 0, wrap it in IFERROR.

Should variance be actual minus budget or budget minus actual?

Either, as long as everyone reading the sheet knows which. Actual minus budget makes an overspend positive, which suits a sheet about keeping costs down. Budget minus actual makes money left over positive, which some finance teams prefer. Put a note beside the heading, such as "Variance (+ = over budget)", and use the same way round on every sheet.

How do I highlight over-budget figures in Excel?

Select the variance column, then go to Home › Conditional Formatting › Highlight Cells Rules › Greater Than, type 0 and pick a colour. The menus are the same in Excel for Mac. To colour whole rows, use New Rule with a formula such as =$C2>$B2, where C is the actual and B the budget. The colour updates as soon as a figure changes.