Telemetry2U Technical Bulletin

Protect and Verify Multi-Sensor Audit Data in Excel

Create a controlled multi-sensor Excel Audit Report, protect the workbook against normal worksheet changes, and independently verify the original file with a stored SHA-512 hash. Optional Excel tools can then be used on a working copy for consolidation and temperature statistics.

Platform area: Audit Reports Configuration role: Audit Admin Optional tools: Microsoft Excel desktop + VBA

Protect and Verify a Controlled Multi-Sensor Excel Record

Telemetry2U Audit Reports can export raw records from several selected sensor inputs into one Excel workbook, with each input retained on its own worksheet. Two independent controls can then be used to protect the record against ordinary changes and to verify that a file remains identical to the version originally generated by Telemetry2U.

Protect the Excel workbook

Protect Excel sheet restricts normal worksheet editing and workbook-structure changes. It is intended for workbooks that should remain as controlled records rather than working spreadsheets.

Verify the original file

Include document verification assigns each generated PDF, CSV and Excel file a Document ID and stores its original SHA-512 hash for later integrity checking.

These controls can support controlled record-management workflows in accredited laboratories, including NATA-accredited environments, where traceability and evidence of file integrity are important. They do not by themselves establish NATA compliance; each organisation remains responsible for its own validation, access controls, review procedures and record-retention requirements.

The optional Excel macros later in this bulletin are separate analysis tools. They are intended for users who need to consolidate temperature readings or create a statistical summary, and should be used on a working copy rather than on the original file retained for verification.

Audit Report access

An Audit Admin configures the report, protection options and selected nodes. Authorised users can then download available Audit Reports.

Microsoft Excel desktop for optional analysis

The supplied BAS modules use VBA and require a desktop Excel installation that permits macros. Excel for the web does not run this workflow.

Keep the original file unchanged when verification matters. Telemetry2U document verification checks whether a supplied file is byte-for-byte identical to the originally generated document. Editing, re-saving, digitally signing or running either macro changes the file and can produce a different SHA-512 hash.

1. Configure the Audit Report and Sensor Inputs

Open the required report under Audit Report Maintenance. This is where the two core controls in this workflow are enabled: Protect Excel sheet for workbook protection and Include document verification for independent SHA-512 integrity checking. The entries under Nodes to include determine which sensor inputs are exported.

  1. Add each required node and select the sensor input to include.
  2. Enable Protect Excel sheet when the downloaded Excel workbook should be protected against normal worksheet editing and workbook-structure changes.
  3. Enable Include document verification when generated PDF, CSV and Excel files should include a Document ID and verification link.
  4. Select Save after completing the report configuration.

The two controls can be used independently or together. If the workbook is intended to remain as a protected controlled record, enable both protection and document verification. If the optional macros will be used, leave Protect Excel sheet cleared, keep document verification enabled, retain the original download unchanged, and run the macros on a copy.

Using the optional macros? Leave Protect Excel sheet cleared. Both supplied macros need to create or replace worksheets, which workbook-structure protection prevents. Document verification can still be enabled for the original download.

Scheduled-report extracts: Include CSV extract and Include Excel extract control whether those raw-data files are attached when a scheduled Audit Report PDF is emailed. They are not required when a user manually selects CSV or Excel as the output format on the Download Audit Report page.

For the complete Audit Report configuration and scheduling workflow, see How to Create and Schedule an Audit Report and the Audit Reports help documentation.

Edit Audit Report page showing Protect Excel sheet, Include document verification and two temperature sensor inputs under Nodes to include
The selected node inputs determine which sensor worksheets are included in the generated Excel workbook.

2. Download the Audit Report in Excel Format

Open Download Audit Report from the platform menu, then select the saved report definition and the period to export.

  1. Select the required Report name.
  2. Set the Start date and End date.
  3. Select Excel as the Output Format.
  4. Select Load to generate and download the workbook to the local computer.
Download Audit Report page with report name, date range and Excel output format controls
Select Excel for an on-demand workbook containing the configured sensor data.

3. Review the Multi-Sensor Workbook

The downloaded Excel file contains one worksheet for each selected sensor input. Each sheet retains that sensor's own timestamped records inside the same workbook. When Protect Excel sheet is enabled, the workbook is protected against normal worksheet editing and workbook-structure changes.

When Include document verification is enabled, the generated file also contains a unique Document ID and verification link. Protection and verification are deliberately separate controls: protection restricts ordinary changes, while SHA-512 verification determines whether the complete file remains identical to the original generated file.

Excel Audit Report showing temperature records and separate worksheet tabs for two selected sensors
Each selected sensor input is exported to its own worksheet within the Excel workbook.

4. Verify the Original File with SHA-512

Document verification is the integrity check for the original generated file. Follow the verification link embedded in a verification-enabled PDF, CSV or Excel file to open Telemetry2U Document Verification with the Document ID supplied automatically. A Document ID can also be entered manually and located with Find document.

Telemetry2U displays the Document ID, the UTC generation time and the original SHA-512 hash stored when the file was created. To check a copy of the file:

  1. Select Choose file and upload the PDF, CSV or complete Excel workbook.
  2. Select Calculate and compare SHA-512.
  3. Telemetry2U calculates the uploaded file's hash and compares it with the stored original.

A matching SHA-512 result is the key integrity check. It confirms that the supplied file is byte-for-byte identical to the original document generated by Telemetry2U. Editing, re-saving or digitally signing the file can change the hash and cause the comparison to fail.

For the broader platform reference, see Audit Reports Help - Document Verification .

Telemetry2U Document Verification page showing the stored and calculated SHA-512 hashes matching successfully
A successful comparison confirms that the uploaded file is identical to the original generated document.

Recommended Controlled Record-Keeping Workflow

Choose the file-handling approach according to whether the workbook must remain protected or whether it needs to be modified for analysis. In both cases, document verification can preserve an independently checkable original record.

Protected and verifiable original

Enable Protect Excel sheet and Include document verification, then retain the downloaded workbook unchanged. Use the Document ID and stored SHA-512 hash whenever the original file needs to be checked. Do not run the optional macros on this file.

Verifiable original plus analysis copy

If the optional macros are required, leave Protect Excel sheet cleared and enable Include document verification. Keep the original download unchanged, create a separate working copy, and run the analysis tools on that copy.

This separation can be useful in laboratory quality systems, including NATA-accredited environments, because it preserves an unchanged source record while allowing derived analysis to continue separately. It does not replace the laboratory's own validation, approval, access-control or retention procedures.

5. Optional: Install the Excel Analysis Tools

Sections 5 to 7 are optional and apply only when a separate working copy is required for analysis. Telemetry2U provides two VBA modules for desktop Excel. Installing them in PERSONAL.XLSB makes the tools available whenever Excel is running without embedding the macros inside each Audit Report workbook.

Combine Temperature Sensors

Creates a new Combined Data worksheet containing exact timestamps that occur on every detected temperature sensor sheet.

Download CombineTemperatureSensors.bas

Generate Temperature Statistics

Creates a new Statistics worksheet with minimum, maximum, average, median and population standard deviation for each temperature sensor sheet.

Download CreateTemperatureStatistics.bas

Only enable and run VBA macros from a source approved by your organisation. Organisational Excel security policies may prevent VBA macros from running.

Create the Personal Macro Workbook if Required

If PERSONAL.XLSB does not already exist, create it once:

  1. Open Excel and select View > Macros > Record Macro.
  2. Enter MyPersonalMacros as the temporary macro name.
  3. Under Store macro in, select Personal Macro Workbook.
  4. Enter Create Personal Macro Workbook as the description.
  5. Select OK, then immediately select Stop Recording.

The recorded placeholder macro is not used by this bulletin; its purpose is simply to make Excel create PERSONAL.XLSB.

Excel Record Macro window with Personal Macro Workbook selected under Store macro in
Recording and immediately stopping a macro creates PERSONAL.XLSB when it does not already exist.

Import the BAS Files

  1. Press Alt + F11 to open the Visual Basic Editor.
  2. In the Project panel, select VBAProject (PERSONAL.XLSB).
  3. Select File > Import File....
  4. Import CombineTemperatureSensors.bas and repeat the process for CreateTemperatureStatistics.bas.
  5. Close Excel and select Save when prompted to save changes to the Personal Macro Workbook.
Microsoft Visual Basic for Applications editor with PERSONAL.XLSB selected and File Import File highlighted
Import both supplied BAS modules into VBAProject (PERSONAL.XLSB).

Add the Macros to the Quick Access Toolbar

  1. Open File > Options > Quick Access Toolbar.
  2. Change Choose commands from to Macros.
  3. Add PERSONAL.XLSB!BuildCombinedTemperatureSheet.
  4. Add PERSONAL.XLSB!BuildTemperatureStatisticsSheet.
  5. Use Modify to select an icon and assign short labels such as Combine Sensor Data and Generate Sensor Statistics.
Excel Options Quick Access Toolbar page showing the Combine Sensor Data and Generate Sensor Statistics macros added to the toolbar
Once added, the commands remain available from Excel's Quick Access Toolbar for future Audit Report workbooks.

6. Combine Temperature Sensors onto One Worksheet

Open the unprotected working copy of the Audit Report workbook and run BuildCombinedTemperatureSheet from the Quick Access Toolbar or the Excel macro list. The macro works on the currently active workbook, not on PERSONAL.XLSB itself.

The macro:

  • requires at least two qualifying worksheets and finds sheets containing both Local Time and Temperature headings, regardless of which columns contain those headings;
  • uses the worksheet name as the sensor name;
  • keeps timestamps that occur on every detected sensor sheet;
  • uses exact timestamp matches only and does not interpolate missing readings;
  • creates or rebuilds a Combined Data worksheet;
  • places Local Time in the first column and one temperature column per sensor; and
  • leaves the original sensor worksheets in the workbook.

The combined sheet is a derived working record. Running the macro changes the workbook, so the modified file is not covered by the SHA-512 verification record for the original Telemetry2U-generated workbook.

Combined Data worksheet with a common Local Time column and adjacent temperature columns for two sensors
The Combined Data sheet aligns exact matching timestamps and places each temperature sensor in its own column.

7. Generate Temperature Statistics

Run BuildTemperatureStatisticsSheet to create a separate statistical summary directly from the original temperature sensor worksheets. The macro can be used independently of the Combined Data macro.

For every worksheet containing a Temperature heading, the macro calculates:

  • Minimum
  • Maximum
  • Average
  • Median
  • Population standard deviation

The results are written to a new Statistics worksheet using the original worksheet names as the sensor identifiers. Existing Combined Data and Statistics sheets are excluded from the source calculations.

Temperature Statistics worksheet listing minimum, maximum, average, median and standard deviation for two temperature sensors
The Statistics sheet summarises all numeric temperature readings on each original sensor worksheet.