In this guide
Define what a positive variance means
A variance report needs a sign convention before it needs a narrative. In this fictional November exercise, revenue and expenses are stored as positive SAR amounts. Raw variance means Actual minus Budget. A positive revenue variance improves the result. A positive expense variance reduces it. Operating result means revenue minus the three expense categories shown here.
Use a native Google Sheet on a computer. Gemini access depends on your plan and settings. Google documentation checked on 25 November 2026 supports pivot creation. The steps below also work manually if Gemini is unavailable. This is a worked example, not a live product test.
Enter all eight source rows
Name the source tab Data and enter this table in A1:D9. Each row is one scenario/category amount for November. There are no subtotals in the source.
| Period | Scenario | Category | Amount |
|---|---|---|---|
| Nov | Budget | Revenue | 100000 |
| Nov | Actual | Revenue | 95000 |
| Nov | Budget | Payroll | 30000 |
| Nov | Actual | Payroll | 32000 |
| Nov | Budget | Rent | 10000 |
| Nov | Actual | Rent | 10000 |
| Nov | Budget | Marketing | 5000 |
| Nov | Actual | Marketing | 3500 |
Check eight numeric amounts and eight unique period/scenario/category combinations. Budget source amounts sum to 145,000. Actual amounts sum to 140,500. These are control totals containing both revenue and expenses, not profits.
Build the pivot and inspect its fields
Ask Gemini:
Using Data!A1:D9, create a pivot on a new sheet. Filter Period to Nov, use Category as rows, Scenario as columns, and SUM of Amount as values. Preserve source rows. Show the proposed configuration for review.
Review the action preview before Apply. Then inspect the source range, November filter, scenario labels, and SUM aggregation. A COUNT result often signals that amounts were imported as text. For the manual route, select A1:D9, choose Insert → Pivot table, and assign the same fields in the editor. Do not assume Budget appears before Actual alphabetically. Read the column labels.
Calculate both raw and favorable variance
Create a Report tab with Category, Budget, Actual, RawVariance, FavorableVariance, and FavorablePercent in A1:F1. Use the category order Revenue, Payroll, Rent, Marketing in rows 2–5. Transfer the verified pivot amounts into the matching Budget and Actual columns.
In D2 enter =C2-B2. In E2 enter =IF(A2="Revenue",D2,-D2). In F2 enter =IF(B2=0,"N/A",E2/B2). Fill through row 5 and format F as percentages. These formulas use English names and comma separators.
Expected raw variances are −5,000, 2,000, 0, −1,500. Favorable variances are −5,000, −2,000, 0, 1,500, with percentages −5%, −6.67%, 0%, 30%. A negative favorable variance means an adverse effect.
Reconcile the operating result
Budget operating result is 100,000−30,000−10,000−5,000=55,000. Actual is 95,000−32,000−10,000−3,500=49,500. The shortfall is 5,500, or 10% of budget operating result.
SUM(E2:E5) must equal −5,500, the change in operating result. The raw variances sum to −4,500 because adding positive revenue and expense amounts does not measure profit. Check pivot totals against the source controls separately. Double-click a pivot value when you need to inspect its contributing source rows.
Ask for a narrative the data can support
Use this prompt after reconciling:
Explain the 5,500 adverse operating-result variance using the reviewed category amounts. Separate observed differences from unverified causes. Name evidence needed to test each possible cause. Do not infer volume, prices, hiring, or timing from category totals.
The supported bridge is revenue −5,000, payroll −2,000, and marketing +1,500. “Lower sales volume caused the shortfall” needs quantities and prices. “Marketing savings” may instead be delayed invoices. Inspect commitments and cutoff evidence. Assign those follow-ups to owners before approving the commentary. A useful narrative tells the reader both what changed and what still needs investigation.
Sources
- Google: collaborate with Gemini in Sheets (new tab)
- Google: create and inspect pivot tables (new tab)
- Google Workspace: Gemini pivot and editing actions (new tab)
- Google: spreadsheet locale and calculation settings (new tab)
Sources checked ·
