Calculate period and cumulative change in Excel

Author: AILesson7 min setupTested with:ChatGPTReviewed: 2026-08-28

Quick answer

Compare complete periods with explicit baselines, denominators, and missing-period rules. Provide: Metric and aggregation, Dates and comparison periods, Workbook layout and sample totals. Expected result: Verified change formulas, comparison table, and boundary checks.

1

Add your context

Your text stays in this browser. AILesson Prompts does not send it to a model or server.

2

Your prompt

Unfilled fields remain visible as placeholders, so you can still copy and edit the prompt

Design an Excel analysis for period-over-period and cumulative change.

Metric definition and aggregation:
[metric]

Comparison periods and completeness rules:
[periods]

Workbook layout and representative totals:
[layout]

Define the current and baseline period before calculating absolute change, percentage change, and cumulative change. Do not compare a partial period with a complete period. Explain zero and missing baselines, fiscal calendars, revised data, and rates whose denominators change. Return formulas or PivotTable steps, a comparison table, and tests for first period, zero baseline, missing period, year boundary, and partial current period.
Try in Playground
Private by defaultPrompt assembly happens locally in your browser. Avoid placing confidential information into any AI service unless your organization allows it.

From input to outcome

A worked example

See how concrete context turns this recipe into a usable result

Actual input

Metric and aggregation
Monthly net revenue in GBP, summed from completed orders. Also calculate year-to-date revenue.
Dates and comparison periods
Calendar months. Compare month over month and the same month one year earlier. August 2026 is partial and must not be compared until closed. Prior months may be revised after returns.
Workbook layout and sample totals
Summary table: A MonthStart, B Revenue. Jan–Jul 2025 and Jan–Aug 2026. Jun 2026 £124,000; Jul 2026 £130,200; Jul 2025 £118,000. Jan–Jul 2026 total £844,000; Jan–Jul 2025 total £790,000.

Example output

For each closed month, calculate absolute change as Current−Baseline and percentage change as =IF(OR(Baseline="",Baseline=0),NA(),Current/Baseline-1). Use XLOOKUP on EDATE(A2,−1) for month-over-month and EDATE(A2,−12) for year-over-year rather than relying on adjacent rows.

July 2026 MoM: £130,200−£124,000 = £6,200; £130,200/£124,000−1 = 5.0%. July YoY: £12,200 and 10.34%. Jan–Jul YTD change: £844,000−£790,000 = £54,000, or 6.84%.

Build YTD with =SUMIFS(RevenueRange,MonthRange,">="&DATE(YEAR(A2),1,1),MonthRange,"<="&A2) only when every included month is closed. Flag August as Partial and suppress its changes. Keep a revision timestamp and recompute prior comparisons when returns revise a month. Tests: first available month and a missing prior month return N/A; zero baseline returns N/A with a note; January correctly looks back to December; monthly totals sum exactly to YTD.

Why this works

  1. 1

    Explicit baselines prevent a plausible percentage from comparing the wrong periods.

  2. 2

    Completeness and denominator checks distinguish real change from reporting artifacts.

Check the result

  • Are the current and baseline periods equally complete?

  • Is a zero or missing baseline shown as undefined rather than infinite growth?

  • Can cumulative totals be reconciled to source-period totals?

Use it with confidence

Frequently asked questions

Practical answers about when to use this recipe, what to provide, and where human review still matters

What should I prepare before using “Calculate period and cumulative change in Excel”?

For “Calculate period and cumulative change in Excel,” prepare Metric and aggregation, Dates and comparison periods, and Workbook layout and sample totals. Replace placeholders only with information you can verify. If a detail is unknown, preserve that uncertainty explicitly instead of asking the model to infer it.

When is the “Calculate period and cumulative change in Excel” result not ready to use?

The result is not ready if it does not yet deliver the stated outcome—Verified change formulas, comparison table, and boundary checks—from the supplied evidence, or if it relies on unresolved assumptions, missing approvals, or invented details. Use the checks as release gates: revise the source inputs or assign a named, authorized reviewer instead of polishing an unsupported output.

Which AI tools have recorded tests for “Calculate period and cumulative change in Excel”?

The published test record for “Calculate period and cumulative change in Excel” lists ChatGPT as of 2026-08-28. This confirms recorded runs, not guaranteed compatibility or identical results in later product versions. For another tool or version, keep every constraint visible and repeat the result checks before use.

More ways to explore

Where this recipe fits

Keep the work moving