One of the less obvious problems in automated reporting is that a report can change even when its reporting period does not. Imagine that we prepare a January management report during the first week of February. We refresh the transaction data, validate the totals, generate the report and distribute it to management. Two weeks later, somebody discovers that a January transaction was recorded with the wrong value. Another transaction, also belonging to January, was entered late. The source system is corrected, and our Power Query connection retrieves the updated information. If we now reopen the January report and recalculate it, the figures change.
That is exactly what a dynamic reporting system is designed to do: reflect changes in its underlying data - but it creates a problem. The January report we produced originally is no longer the same as the January report we can generate today. Which one is correct?
Potentially, both. The original report may accurately represent the information available when management reviewed January's performance. The revised report may accurately represent the latest corrected position. The problem is not that one calculation is necessarily wrong; it is that the two reports answer different questions. One tells us what was reported at the time, while the other tells us what we currently know about that period.
In the previous post, we designed a shared reporting data model so that different management reports could use consistent transaction records, reference information and business rules. Now we need to address what happens when those records and rules change over time. We will build a practical approach to preserving month-end reporting history in Excel, including source snapshots, report versions, correction analysis and the information needed to reproduce historical results.
Let's begin with a small example. Our source system contains posted transactions, each identified by a unique TransactionID, and every transaction has a TransactionDate, a Status and a Value. For simplicity, we will assume that the following transactions all belong to the same reporting population, and that negative values represent valid adjustments. On 3 February 2026, we prepare the January management report using the information available at that point.
| TransactionID |
January value |
|---|---|
| T101 |
€1,000 |
| T102 |
€400 |
| T103 |
−€100 |
| Total |
€1,300 |
The report is validated and issued to management with a January total of €1,300. On 12 February, we discover two changes: the value of transaction T102 should have been €450 rather than €400, and a further transaction, T104, worth €200, was entered late but has a January transaction date. Our refreshed January transaction data now looks like this:
| TransactionID |
January value |
|---|---|
| T101 |
€1,000 |
| T102 |
€450 |
| T103 |
−€100 |
| T104 |
€200 |
| Total |
€1,550 |
The difference is €250. Of that amount, €50 comes from correcting an existing transaction and €200 from recognising a late transaction. Both amounts belong to January according to their transaction dates, however neither was reflected in the report originally issued on 3 February.
This distinction is fundamental to historical reporting. The transaction date determines the business period to which a record belongs, while the reporting snapshot date determines which version of the available information we are examining. Those dates describe different things, and we should not attempt to use one as a substitute for the other. A filter such as TransactionDate between 1 January and 31 January cannot tell us what the source system contained on 3 February. It only identifies transactions currently recorded as belonging to January. Once the source records have been corrected, the old values may no longer be present. If we want to reproduce the original report, we must preserve the information that was used to create it.
Saving the finished report as a PDF is useful, but it does not solve the entire problem, because a PDF preserves the displayed figures, but it does not necessarily preserve the transaction records, reference information or calculation rules that produced them. If management asks why January originally showed €1,300 instead of €1,550, the PDF confirms the reported figure but cannot independently explain the difference.
For a reproducible reporting process, I would preserve three things together. First, the source-data snapshot: the complete prepared dataset used by the report, including transaction identifiers, dates, statuses and values. If the report depends on customer or department reference tables, we should preserve the relevant versions of those tables as well. Second, the report snapshot: a static copy of the calculated output, with values rather than live formulas. This establishes exactly what was presented for review. Third, the reporting metadata: information such as the reporting period, snapshot identifier, capture timestamp, source extract identifier, calculation version and approval status.
These components serve different purposes: the frozen report tells us what was reported, the archived data tells us what information was available to the calculation and the metadata tells us which reporting context and calculation version applied. Preserving the data alone is not always enough. If the calculation rules or reference mappings change, reproducing the report from an old extract using today's workbook may produce a different result. Equally, preserving the formula without the historical data is not sufficient. We need both if genuine reproducibility is the objective.
There is also a practical distinction between a snapshot and an audit trail. A snapshot records the state of information at a particular capture point but it does not necessarily tell us every change that occurred between two captures. If a transaction was changed three times between 3 February and 12 February, comparing the two snapshots tells us its initial and final states, but not the intermediate changes. If the business requires a complete history of every amendment, we need source-system change logs, versioned transaction records or another suitable audit mechanism. Our Excel solution will provide reproducible reporting snapshots, however it should not be mistaken for a substitute for a transactional audit system.
For a workbook producing monthly management reports, a practical starting point is to create a separate archive workbook for each approved reporting snapshot. Each file should have a unique identifier and a filename that identifies both the reporting period and the capture. For example, our initial January snapshot might be stored as Snapshot_202601_20260203_091200.xlsx. A later corrected version could be stored as Snapshot_202601_20260212_103000.xlsx. The precise timestamp is not particularly important to the reporting calculation - its purpose is to distinguish one capture from another. What matters is that we do not overwrite the earlier snapshot when a correction is made.
Within each archive workbook, we could store the original prepared transaction data, the customer and department reference tables, the frozen report and a small metadata worksheet. For our example, those worksheets will be named Transactions, Customers, Departments, Report and Metadata. This is a deliberately simple structure. It can be inspected with ordinary Excel tools, and it can be read by Power Query later. The archive should be stored separately from the live reporting workbook, preferably somewhere with appropriate access controls, retention rules and backup arrangements.
A timestamped filename and a VBA check that prevents replacing an existing file are useful safeguards, but they do not make a normal Excel file truly immutable. If a user has permission to edit or delete archived files, the files remain vulnerable to accidental or deliberate modification. For controlled financial reporting, repository permissions and version history are important parts of the solution.
It is also worth distinguishing a file's capture timestamp from its business status. A snapshot captured on 3 February might be a draft, a reviewed report or a formally approved report - all of those are different states. For our example, we will capture the reviewed reporting position and preserve a separate approval reference where one exists. The archive operation itself must not be interpreted as approval.
In the previous post about automated reporting pipelines, we created a VBA procedure that copied a dynamic-array report into a temporary workbook and exported it as a draft PDF. We can use a similar technique to create historical snapshots - this time, however, the objective is not simply to generate a presentation file. We want to capture the report and the data that produced it within the same archive package.
Assume that the live workbook contains tblFactTransactions on a Data worksheet, tblCustomers on a Customers worksheet and tblDepartments on a Departments worksheet. We will also assume that the reporting output is anchored at Report!J10, the reporting controls occupy Report!H2:H6, and Checks!B2:B3 contain the established data-quality and reconciliation results. Checks!B4 contains a maintained calculation-version identifier.
The following procedure creates a new .xlsx workbook, copies the relevant tables and calculated report as static values, records the reporting metadata and saves it in an Archive folder alongside the reporting workbook.
The helper procedure copies values and formatting, not the live formulas or Power Query connections. That distinction is deliberate, because the archived workbook is intended to represent a fixed data and report state. Opening it months later should not refresh the source or silently recalculate the report using changed business rules. The archive file is saved as .xlsx, so it does not contain the VBA procedure used to create it. This way, the original reporting workbook remains the place where the live calculation and automation are maintained.
There is one coding detail to address before using this example in a production workbook: the metadata heading assignment should fill the first column rather than a two-column range. The line assigning Array(...) to A1:B9 should be replaced with a vertical heading assignment, or the headings can be written individually. The intended metadata fields are shown in the subsequent cell assignments.
More generally, the procedure is an illustrative starting point rather than a complete records-management system. The checks must already be reliable, the refresh must have completed, and the archive location needs appropriate controls. A stronger version would also record the source extract identifier, row counts, refresh completion time and approval reference. These should be obtained from the actual source and approval process rather than inferred from the current clock as the archive timestamp tells us when the copy was created but it does not prove when the original data was extracted or whether the data was complete. That difference remains important.
Once the archive contains several snapshots, we can use Power Query to read them back into Excel. This is another reason to preserve the snapshots in a consistent structure. Power Query supports importing and combining files from a folder, provided the relevant files have compatible structures. For our archive, we would connect to the Archive folder and select the snapshot workbooks then, from each workbook, we retrieve the Transactions worksheet.
We also need to preserve the snapshot identifier for each imported record. The simplest approach is to derive it from the source filename or retrieve it from the workbook's Metadata worksheet. The resulting combined table might be called tblSnapshotTransactions. It could contain SnapshotID, TransactionID, TransactionDate, DepartmentID, Status and Value, along with any other fields required by the comparison.
There is one important warning. If we simply combine every archived snapshot into one table and calculate the total transaction value, we will count the same underlying transactions repeatedly. Transaction T101 may appear in the 3 February snapshot, the 12 February snapshot and several later snapshots. Those rows are not three separate transactions, they are three recorded versions of the same transaction. The combined archive is therefore not an ordinary transaction table. Its reporting grain is one transaction per snapshot.
Before calculating a historical report, we must select the appropriate snapshot - otherwise, the archive will produce duplicated totals by design. This is a case where understanding grain is essential: the current reporting model has one row per transaction, while the snapshot archive has one row per transaction per snapshot identifier. Both structures are useful, but they answer different questions.
Suppose we want to reproduce the January report as it stood on 3 February. We select the corresponding snapshot identifier, retrieve its archived transaction records and apply the reporting rules and reference information associated with that snapshot. The result should reproduce the original €1,300 total. If we select the 12 February snapshot, the result should be €1,550.
Notice that we are not changing the transaction-date filter as both calculations concern January. We are changing the version of the source data. This gives us two independent selections: the reporting period and the snapshot. The reporting period answers, “Which transactions belong to January?” while the snapshot answers, “Which version of those transactions are we using?” In a simple model, we could expose a snapshot selector in the reporting worksheet and have Power Query or a dynamic-array formula retrieve the records associated with that identifier. In a larger model, it may be better to select the snapshot before loading the reporting population, particularly if each archived extract contains a substantial number of rows. Either approach is valid provided we do not mix records from different snapshots accidentally.
A useful refinement is to identify snapshots by business meaning rather than by timestamp alone. For example, we could distinguish the originally issued January report, the first corrected January report and a later approved restatement. Those are reporting versions. The timestamp remains useful for traceability, but it does not by itself explain why a new version exists. That explanation should be recorded in the reporting metadata.
Once we can select historical snapshots, we can do something more useful than merely reproduce their totals. We can identify the individual transactions responsible for the difference between two reported positions. Returning to our January example, we already know that the original total was €1,300 and the revised total was €1,550. The net movement is €250. But management will usually want to know what caused that movement.
Our archive contains the transaction identifiers, statuses, dates and values from both snapshots, so we can compare the records by TransactionID. This is similar to the dataset-comparison techniques we explored earlier in the series. The critical difference is that we are comparing two historical versions of the same underlying dataset.
Assume Power Query has combined the archived transactions into tblSnapshotTransactions, containing SnapshotID, TransactionID, TransactionDate, DepartmentID, Status and Value, in that order. On a separate Comparison worksheet, H2 contains the older snapshot identifier, H3 contains the newer identifier, and H4 contains any date in the reporting month being investigated. We can construct the comparison as follows:
The formula assumes that both selected snapshots exist, each has unique transaction identifiers, and the imported value and date fields have valid types. Those conditions should be checked when loading the archive rather than allowing XLOOKUP to silently select one of several duplicate records.
It begins by selecting all archived transactions belonging to each snapshot. We then extract the transaction identifiers from both versions, combine them with VSTACK and use UNIQUE to establish the complete set of transaction IDs represented in either snapshot. This is important because a transaction may exist in only one version. If we used only the identifiers from the older snapshot, we would miss newly recorded transactions. If we used only those from the newer version, we could miss records that had subsequently been removed. By constructing the union of identifiers, we ensure that both situations can be represented. XLOOKUP retrieves each transaction's date, status and value from both snapshots, and missing values are handled explicitly.
We then calculate the transaction's contribution to the selected reporting month in each version. A transaction contributes its value only when its status is Posted and its date belongs to the selected month. That means the comparison can detect not only changes to a transaction's amount, but also monetary changes caused by its status or transaction date. For example, if a transaction was originally dated January but later corrected to February, it would cease to contribute to January in the revised snapshot.
The final FILTER returns only records whose contribution to the selected month's total has changed. For our January example, the result would be:
| TransactionID |
Originally |
Revised |
Difference |
|---|---|---|---|
| T102 |
€400 |
€450 |
+€50 |
| T104 |
€0 |
€200 |
+€200 |
| Total movement |
+€250 |
This gives us an exact reconciliation between the two reporting positions. The older total was €1,300 and the individual changes sum to €250 - the revised total is therefore €1,550. The formula identifies monetary movements, not every possible alteration to the archived records. A change to a department assignment, for example, could affect departmental reporting without changing the overall transaction total. That would require a comparison of the relevant dimension attributes as well.
Similarly, two changes could offset one another and produce no net overall movement. A reconciliation of grand totals would not identify that situation, but a transaction-level comparison would still show the individual non-zero movements. This is why it is useful to maintain both aggregate reconciliations and record-level comparison capabilities.
There is one small correction needed in the VBA example above before using it. The metadata headings must populate the first column vertically, rather than assigning a one-dimensional array to the two-column range A1:B9. Replace that assignment with:
Also move Application.CalculateFull so it executes immediately after the wsReport and wsChecks references have been established, before the procedure examines the PASS results. That way, the checks being evaluated reflect the latest recalculation. The later occurrence of Application.CalculateFull can be removed.
For a production archive, the procedure should also verify that Checks!B4 contains an assigned model version, and that the source-data snapshot corresponds to the refresh that was reviewed. A user confirmation is a useful procedural control, but it is not technical proof of refresh completion.
Our technical solution now allows us to preserve both January reporting positions but it does not tell us which one management should use, as that is a business decision. Some reporting processes treat previously issued figures as final. Any corrections discovered later are reflected in the next reporting period, perhaps through adjustment transactions. Other processes restate the historical period so that the report always reflects the latest corrected understanding of what occurred. Some require both. For example, management might retain the original January report as the formally issued position while also maintaining a revised January report for analytical purposes.
The two versions should not be confused. I would therefore distinguish between as-reported and restated results. The as-reported result is the version that was actually issued at the original reporting date, and the restated result reflects subsequently accepted corrections. Our January example would therefore have an as-reported total of €1,300 and a revised total of €1,550. The €250 difference should be explainable through the underlying transaction changes.
A particularly useful feature of this design is that producing a restatement does not require altering the original report. We preserve the earlier snapshot and create a new one. If management approves the revised figures, we can record that approval against the new reporting version while the old version remains available for reference. This approach is more transparent than silently replacing January's figures and leaving users to discover that previously issued reports no longer reconcile. It also supports a useful distinction between the latest available snapshot and the latest approved snapshot, which are not necessarily the same thing. A data correction may have been loaded into the source system without yet being accepted for management reporting. In that case, the newest data is not automatically the approved reporting position. Our archive should record that distinction explicitly.
So far, we have focused on changes to transactions, but historical reports can change for other reasons. Suppose a customer belonged to the East region when January's report was issued, but the customer master now identifies that customer as belonging to West. If our January regional report uses XLOOKUP against the current customer table, the customer's historical transactions may move from East to West even though none of the transactions themselves has changed. The overall total remains correct but the regional distribution changes.
This is another reason to archive the reference tables alongside the transaction data. If the original report used the East assignment, the original snapshot should preserve it. A revised report using the West assignment may be appropriate, but that is a different reporting interpretation. We discussed this in the previous article when examining historical attributes and slowly changing dimensions, and the same principle applies here. A report's historical reproducibility depends on every piece of information that contributed to its calculation, not just the central fact table. This includes calendar mappings, organisational hierarchies, category definitions and other reference data. If the reporting model uses a financial calendar whose periods are maintained separately, that calendar definition should also be versioned or archived where changes could affect historical results.
For our initial example, we have included customer and department tables in the snapshot. If we introduce additional reference tables later, the archive procedure should be updated accordingly. The archive needs to reflect the actual dependencies of the report.
There is another potential source of differences between historical reports: the source data may remain unchanged, but the reporting rules may evolve. Suppose our January report originally included every Posted transaction. In March, management decides that a particular class of internal adjustment should be excluded from management revenue. If we change the reporting formula and recalculate January using its original source data, the result may differ from the original report. That does not necessarily mean the source changed - the business definition changed. For this reason, recording a model version in the snapshot metadata is useful.
But a version number alone is not enough to reproduce the calculation. We should also preserve the corresponding version of the reporting workbook, its Power Query transformations and any relevant named LAMBDA functions or VBA procedures. For a relatively small reporting system, an archived copy of the .xlsm workbook associated with each significant model release may be sufficient. For a more formal development process, version control provides a better way to track changes to the underlying code and calculation definitions.
The important point is that we should be able to identify which model version produced a historical report. There is a distinction between reconstructing a number using today's rules and reproducing the number that was originally calculated. Both can be useful, but they should not be treated as interchangeable. Our frozen report snapshot is the authoritative record of what was actually captured at the time. Recalculation from archived data is a verification or restatement exercise, and it requires the appropriate historical model if we want identical results.
The combination of snapshots and comparison formulas provides a useful foundation, but a dependable historical reporting process needs some additional discipline. We should establish when a reporting snapshot is captured. For example, the January snapshot might be captured only after the source refresh has completed, data-quality checks have passed, the management figures have reconciled and the report has been reviewed. We should record the source extract or processing batch used. If the source system provides a reliable extraction identifier, that is preferable to relying entirely on the date and time the Excel archive was created.
We should preserve the original snapshot even when a correction is subsequently approved. A corrected report should receive a new version and, ideally, a reason explaining why it differs from the original. And we should be careful about allowing users to modify archived files directly. If historical snapshots can be edited without leaving a trace, the archive loses much of its value. For a small internal reporting process, restricting write access to the archive and retaining backups may be an adequate starting point. For more sensitive reporting, stronger controls may be appropriate, including approval workflows, version history, controlled retention and checksums that help detect unexpected file modifications. The level of control should reflect the importance of the information.
We are not trying to turn an ordinary spreadsheet into a regulated financial records-management platform, but we should recognise where the limits of an Excel-based solution lie. An archive workbook is only as trustworthy as the process that creates, protects and maintains it.
There is a broader lesson in this example. Throughout the series, we have treated reporting as a process of transforming data into information. We start with transaction records, apply business rules, group them into reporting dimensions and calculate measures. The result is a report representing the underlying data. But historical reporting introduces another dimension: time. Not simply the date of the transaction, but the date on which the information was known, calculated, reviewed and issued.
Those events do not necessarily occur at the same time: a January transaction may be recorded in February, corrected in March and included in a restated January report in April; a report that uses the latest source data can reflect all those changes. A report intended to reproduce the original January position must use the historical information and calculation definitions that were available at the time. Both are legitimate analytical requirements; the important thing is to make the distinction explicit.
Once we begin preserving snapshots, the reporting process becomes much more transparent. We can identify what management originally received, we can identify what has changed since then, we can reconcile the differences at transaction level and we can distinguish corrections to the underlying data from changes to the reporting rules or reference information. That is far more useful than simply keeping a collection of monthly PDF files and hoping that somebody can explain the discrepancies later.
It is worth considering how far we should take this approach. For a reporting workbook processing a few thousand transactions each month, creating an archive workbook containing the source and output snapshots may be entirely reasonable. The files remain relatively easy to inspect, and Power Query can retrieve historical versions when required. But suppose the organisation processes millions of transactions every month. Capturing complete copies of the entire dataset repeatedly could become expensive in storage and processing time. In that situation, a database with appropriate history-tracking or temporal capabilities may be a more suitable foundation. The reporting workbook could then retrieve the required historical version directly from the data platform rather than maintaining its own collection of complete extracts.
Similarly, if the organisation needs a detailed audit trail recording every modification, the source system should ideally provide that information. Excel can analyse such an audit trail, but it should not be expected to reconstruct changes that the source system never preserved.
This is the same architectural principle we have applied throughout the series. Use Excel where its flexibility and accessibility provide value; use Power Query for repeatable data preparation; use dynamic arrays for suitable calculations and comparisons; use VBA for procedural tasks such as capturing snapshots and producing output files; and when the requirements exceed what a workbook can reliably manage, move the relevant responsibility to a more appropriate system.
The objective is a reliable reporting process, not demonstrating that Excel can perform every possible task.
We began this part of the series by constructing reports from raw transaction data. We then expanded those techniques into a reusable reporting engine, introduced validation and reconciliation, combined several Excel technologies into an automated pipeline and established a shared data model. Now we have added a historical dimension. Our reports can represent not only the latest data, but also the information available when a particular reporting version was produced. That is an important step towards a more mature reporting solution. It allows us to reproduce historical results, investigate corrections and explain why figures have changed. But there is another reporting challenge that builds naturally on this foundation.
Once we can compare two reporting versions, or two business periods, we can do more than identify that their totals differ. We can begin explaining what contributed to the movement. For example, a department's expenditure may have increased because of higher transaction volumes, changes in average transaction value, new activities or corrections to previous data. A management report that merely shows a €25,000 increase is useful; a report that can separate that increase into its principal contributing factors is considerably more valuable.
In the next post, we will build on our snapshot and comparison techniques to create a dynamic variance-analysis report, using Excel to identify the transactions, groups and measures responsible for changes between reporting periods or reporting versions.
Cat On A Spreadsheet