Hazard Reporting and Rectification Data Integration Tutorial

At the end of each month, enterprises or property management companies need to compile safety hazard reports and rectification records, requiring each row of data to represent one complete hazard report–rectification record for traceability and archiving.

When using CaoLiao to manage hazard reporting and rectification, you typically add a Rectification Record form as a follow-up action in the Hazard Report form, linking the two together in a closed loop.

However, when exporting data to Excel in bulk, the hazard reports and rectification records are exported into two separate Excel files. You need to follow the tutorial below to consolidate and view the data together.

I. Consolidated Result​

Hazard reports and rectification records are matched one-to-one, with each row representing one hazard report–rectification record.

file

II. Detailed Tutorial​

1. Prepare the Data​

Log in to the CaoLiao workbench as a super admin. In the Forms tab, find the main form "Hazard Report" and click to export data. The follow-up associated "Rectification Record" form data will also be exported at the same time. Make sure to choose Excel as the export format.

file

After downloading, extract the archive. You will see two Excel data files.

file

2. Open Both Data Files at the Same Time​

We need to match each hazard report record to its corresponding rectification record. As shown, the hazard report data has a "Record ID" column, and the rectification record data has a "Parent Record ID" column. We will use these IDs and the VLOOKUP formula to match the records.

file

file

3. Process the Data​

When exporting, many columns contain basic QR code information. You can delete entire columns that are not needed based on your requirements and company standards.

For the "Parent Record ID" column in the follow-up form data (Rectification Record), move the entire column to the first column position.

The data should look like this after processing:

file

file

4. Match the Data​

In the hazard report data, add the relevant rectification record headers: Rectification Status, Post-Rectification Photo, Rectification Time, Name, Phone.

Using "Rectification Status" as an example, the steps are:

  1. Select the cell where you want the matched data to appear.
  2. Enter the formula: =VLOOKUP(lookup_value, table_array, col_index_num, match_type).
  3. Lookup value: Corresponds to the Record ID — click cell A2 directly.
  4. Table array: The range to search in. Select the Parent Record ID and Rectification Status columns from the Rectification Record sheet.
  5. Column index number: Count from the lookup column to the match column. Rectification Status is the second column, so enter 2.
  6. Match type: Click Exact Match or enter 0.
  7. This row is now matched. Drag down to apply the formula to all rows.

Repeat the steps above for the remaining data columns.

file