Calculate period and cumulative change in Excel

Autor: AILesson7 min de preparaciónProbado con:ChatGPTRevisado el: 2026-08-28

Respuesta rápida

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

1

Añade tu contexto

Tu texto permanece en este navegador. AILesson Prompts no lo envía a un modelo ni a un servidor.

2

Tu prompt

Los campos sin rellenar permanecen visibles como marcadores de posición, para que puedas copiar y editar el 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.
Probar en Playground
Privado de forma predeterminadaLa preparación del prompt se realiza localmente en tu navegador. Evita introducir información confidencial en cualquier servicio de IA, a menos que tu organización lo permita.

De la entrada al resultado

Un ejemplo completo

Mira cómo un contexto concreto convierte esta receta en un resultado que puedes usar

Entrada real

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.

Ejemplo de salida

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.

Por qué funciona

  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.

Comprueba el resultado

  • 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?

Úsalo con confianza

Preguntas frecuentes

Respuestas prácticas sobre cuándo usar esta receta, qué debes proporcionar y en qué casos la revisión humana sigue siendo importante

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.

Más formas de explorar

Dónde encaja esta receta

Mantén el trabajo en marcha