Preparing your learning space...
19% through AI + Excel Projects tutorials
A budget planner compares what you planned to spend against what you actually spent, and shows the difference. You build it in Excel and use Copilot and ChatGPT to write the variance and alert formulas.
budget-planner.xlsx │ ├── Sheet: Budget (Category, Planned, Actual, Variance, %) ├── Sheet: Chart (planned vs actual chart) └── Module: BudMacros (optional VBA)
A table with Category, Planned, and Actual columns.
You cannot compare spend until both numbers exist side by side.
Type the headers and enter your numbers. Turn the range into a table named Bud.
=[@Planned]-[@Actual]
[@Planned]-[@Actual] uses structured references for the same row.Ask ChatGPT:
"Write an Excel formula for variance as planned minus actual using a table named Bud."
A % Diff column showing variance as a percentage of planned.
A raw number hides whether 20 over is small or large.
=IFERROR(([@Planned]-[@Actual])/[@Planned], 0)
Ask Copilot:
"Add a percent difference column for planned minus actual divided by planned, with error handling."
Cells that turn red when actual is greater than planned.
Red draws the eye to problem categories.
0.No formula; set through the ribbon rule "Variance < 0".
Ask ChatGPT:
"In Excel, how do I highlight a cell red when its value is less than zero using conditional formatting?"
A clustered column chart of planned vs actual and an AI note.
Bars show the gap at a glance.
Select Planned and Actual columns, then Insert > Clustered Column.
Paste the Budget table into ChatGPT:
"Which categories are most over budget and how should I rebalance? Two sentences."
=[@Planned]-[@Actual] =IFERROR(([@Planned]-[@Actual])/[@Planned], 0)
Apply to Variance column: format cells Less Than 0 with red fill.
ChatGPT: "Variance formula planned minus actual for table Bud." Copilot: "Percent difference with error handling." ChatGPT: "Conditional formatting red when less than zero." ChatGPT: "Which categories are most over budget?"
budget-planner.xlsx.Input: Planned 100, Actual 80. Expected Output: Variance 20, % Diff 20%. Explanation: Spent less than planned, so variance is positive.
Input: Planned 100, Actual 120. Expected Output: Variance -20 (red), % Diff -20%. Explanation: Overspend shows negative and triggers the red rule.
Input: Planned 0, Actual 50. Expected Output: Variance -50, % Diff 0 (not an error). Explanation: IFERROR catches the divide-by-zero.
Problem: Error when planned is zero. Reason: Dividing by zero. Solution: Wrap in IFERROR as shown in Step 2.
Problem: Overspend not highlighted. Reason: The rule compared the wrong column. Solution: Re-apply the rule to the Variance column with "Less Than 0".
Problem: Planned and actual not side by side. Reason: Only one column was selected. Solution: Select both Planned and Actual before inserting the chart.
Save your progress and earn XP for completing tutorials.
4 questions · Pass with 70%+
1How is variance calculated?
2Why wrap percent-diff in IFERROR?
3Which rule flags overspend?
4How can ChatGPT help?
Technology
Excel with AI
Lesson group
AI + Excel Projects
Progress
19% complete