Gains:
- Ability to provide deterministic accuracy by structuring dispersed ESG data and performing unit conversion with executable code/formula rather than manually
- Ability to mark data gaps as proxy (prediction) without fitting them and resolve binary counting and outliers by going back to the source
- Ability to make data traceable by establishing an audit trail that connects each digital item to its source
Beneath every sustainability report lies a quiet but monumental task: data collection. Even a medium-sized company collects electricity and natural gas bills, fuel receipts, waste transfer documents, employee data from HR systems, survey responses from suppliers, and travel records from dozens of facilities. Most of this data is scattered, in different formats, in different units, and often entered manually. The quality of a report comes from the accuracy of this raw data, not its flashiest graph. In this unit, you will learn how to safely use artificial intelligence (AI) to collect, clean and manage this messy data.
First, a concept: data quality means that data is accurate (reflecting the truth), complete (complete), consistent (not contradictory), timely and traceable (its source is known). The most common quality problem in ESG is that the data is untraceable rather than inaccurate: there is a number, but “where did that come from?” There is no answer to the question. This is exactly what the independent assurance auditor (the external expert who verifies the report) asks. So the backbone of this unit is a single concept: the audit trail — the chain of records that shows which document each issue came from, on which date, under what assumption.
Three typical problems with ESG data
1. Unit chaos. One facility reports electricity in kWh, another in MWh, and the third in GJ (gigajoules). If they are not all converted into a single unit before adding, the result is meaningless. Since 1 MWh = 1,000 kWh, if the unit is omitted, a 1000 times error will occur.
2. Data gap. A property's quarterly invoice is missing. The gap is filled either with real data or with a clearly stated estimate (proxy): for example, an average from similar months. The critical thing is not to hide the forecast; is to mark it as "estimated data" in the report.
3. Double counting and inconsistency. The same fuel is collected twice if it is counted in both the vehicle fleet and the generator. AI helps in catching such contradictions but cannot make the final decision.
problem
symptom
right approach
Unit chaos
kWh/MWh/GJ mixed
Convert to single unit, do the conversion with code
data gap
Missing month/facility
Use proxy, mark it as "estimated"
binary count
Same pen in two places
Pin source to single point
untraceability
number of unknown origin
Link to audit trail table
Tip: Golden rule in data cleaning: "Never touch the raw data; work on a copy." Original invoices and records are kept unchanged; All corrections and conversions are made in a separate working file, with justification. This way, the auditor can always go back to the original truth.
Step by step: Secure data workflow with AI
1. Collect data and keep it as is. Collect invoices and records in their original form in one place; it is the “only source of truth.”
2. Configure. Sort messy data into an organized table (plant, period, item, value, unit, source). AI is good at fitting free text or PDF content into this table template.
3. Translate units with executable code. Don't have the AI do the unit conversion and sum manually; print it a spreadsheet formula or a small code and you run the code. Thus, the result is deterministic (the same and verifiable every time).
4. Perform quality control. Have them flag outliers (such as a facility's consumption suddenly increasing 10-fold), omissions, and contradictions. But confirm each sign with human eyes.
5. Establish the audit trail. Complete the table connecting each numerical item to its source. This table is the backbone of the report.
Weak prompt / Strong prompt
Weak prompt:
Collect this facility data and tell you the total energy consumption.
There are no unit, source and space rules; AI can skim and collect different units and silently make up for the missing ones.
Powerful prompt:
Your role: ESG data analyst.Input: facility-period-value-unit table below.Task:1) Convert all energy values to kWh; show conversion factors in separate column.2) Making the total MANUALLY; Write a spreadsheet formula I can use.3) Mark items that appear missing or zero as "MISSING — check", never fill them in yourself.4) List possible binary counts where the same item appears twice.Output: cleaned table + conversion column + warning list.
Why is it critical to put data into code?
AI is a text generator; May make mistakes when mentally collecting long lists of numbers. Conversely, if you ask it to generate a formula or code, it will run the calculation precisely in your environment and get the same result every time. This is the difference between "number the AI says" and "controllable calculation".
Write a set of Excel/Google Sheets formulas for the following emissions data table.Need:- In each row: value × conversion factor = kWh- Sum of all kWhs- Add missing cells (blank) as NUMBER; count a separate "missing count"Explain the formulas with cell references so I can apply them manually.Table structure: A=facility, B=period, C=value, D=unit
Caution: Pay extra attention to the numbers the AI "reads" from the PDF or image. Errors such as 1.100 vs 11.00, or comma-dot confusion (1.100 vs 1.100) are common during optical reading. Visually compare at least a few examples with the source document.
three mini cases
Case 1 — Unit trap. A holding company collected the energy data of 8 facilities. 7 facilities reported kWh, 1 facility reported MWh. The AI did the total by missing the units on the first try and undercounted that facility by a factor of 1000; The total turned out to be 3,201 MWh, when it was actually 4,200 MWh. The error was caught and fixed by code-based transformation.
Case 2 — Secret prediction. One facility's March invoice was missing. The analyst told AI to “fill in the blank”; AI put the average of neighboring months but did not specify it. The auditor asks "which invoice is this number from?" When asked, the source could not be found. The process has been fixed: the forecast is clearly marked as “proxy — February/April average” in the report.
Case 3 — Double counting. In a factory, generator fuel was entered under both "stationary burning" and "backup energy" items. The AI flagged this repetition in its contradiction scan; the analyst confirmed and the double counting of 6 tonnes of CO₂e was removed. It was up to the analyst to mark the AI's contribution and make the decision.
Quality control prompts
Perform a quality check on the ESG data table below.Detect (but DO NOT correct it yourself, just mark):1) Outliers (items that deviate by more than 50% from the previous period)2) Unit discrepancies3) Empty/missing cells4) Possible duplicates where the same item appears multiple timesList each alert with a "why is it suspicious" reason.Table: [TABLE]
The following prompt sets up an audit-ready monitoring table skeleton.
Your role: ESG data manager. Task: produce an audit trail table for the following items. Columns: Item | Value | Unit | Source document type | Document No/Date | Responsible | Guess (Y/N) | Is it verified?Write "SOURCE REQUIRED" on each line whose source is unknown.Pencils: [PENSES]
Common mistakes
- Modifying raw data. Making corrections without preserving the original records breaks the audit trail.
- Having the AI do the unit conversion manually. Mental addition in long lists is prone to error; Use code/formula.
- Hide the forecast. Using proxy data is no problem; Not specifying it is a big problem in auditing.
- Silently deleting the outlier. The doubling of consumption of a facility may or may not be a mistake; It cannot be deleted without being investigated.
- Blindly accepting the number read from the PDF/image. Sample control against optical reading errors is essential.
In summary
The real value of an ESG report lies in the accuracy and traceability of its data. AI; It is a powerful aid in structuring scattered data, generating formulas for unit conversion, and marking outliers and contradictions. But the biggest risk isn't that the data is wrong, it's that it's untraceable. Preserve the raw data, do the transformation in code, clearly mark the prediction, and tie each number to an audit trail. “The number looks right” is not enough; "I can trace this number to its source" should be required.
Application task
Prepare a small sample table with data in at least three different units (e.g. kWh, MWh, liter); Leave one or two cells blank on purpose. Ask the AI with the powerful prompt above for a set of formulas that convert this table into a single unit and a list of quality alerts. Then: (1) check the conversion factors, (2) verify that gaps are not made up, (3) write a small audit trail line for each item.
checklist
- [ ] I kept the raw data in its original form, worked on the copy.
- [ ] I converted all units into a single unit with code/formula.
- [ ] I did not make up the missing data; I marked the predictions as "proxy".
- [ ] I investigated the outliers before deleting them.
- [ ] I solved the possible binary counts by going to the source.
- [ ] I visually verified the numbers read from the PDF/image with a sample.
- [ ] I linked each numeric item to an audit trail record.