Why ESG ratings start with a boring question: what was actually reported?
Every ESG score you have ever seen in a fund factsheet, a bank research note or a sustainability ranking hides a very unglamorous first step. Before anyone can say that one company is "greener" or "better governed" than another, somebody has to collect the raw figures, line them up in a table and check how many of them actually exist. In real ESG data, the answer is often "fewer than you think". Companies report what they want to report, in the format they choose, and many cells in the data set stay empty or contain a note such as n/a.
This free lesson is for analysts, students, sustainability and finance staff, investor-relations teams and curious investors who want to understand where ESG scores come from instead of just accepting a letter grade. If you can type a formula into Excel, you can follow along. You will measure data coverage per company and per indicator, flag companies whose score would rest on too little data, and fill one gap with a robust median estimate. These four steps are exactly what the lab above asks you to do.
All companies and numbers in this lesson belong to the fictional research firm Calderwood Analytics and its sample of eight companies. The method is a simplified teaching illustration. It is not the method of MSCI, Sustainalytics, S&P Global, ISS or any other provider, and their methods differ from each other as well. This is educational material, not investment advice.
The core concept: raw indicators and data coverage
A raw indicator is a single number that a company discloses about one environmental, social or governance topic. In the Calderwood sample there are five of them:
- CO2 intensity in tonnes of CO2 per USD million of revenue (environmental, lower is better).
- Renewable energy share, the percentage of energy used that comes from renewable sources (environmental, higher is better).
- Employee turnover, the share of staff who left during the year (social, lower is usually better).
- Women on the board, as a share of board seats (governance or social, depending on the framework).
- Independent directors, as a share of board seats (governance, higher is usually better).
Look at the units. One indicator is measured in tonnes per million dollars, the others in percentages, and two of them run in the "wrong" direction (lower is better). You cannot simply add them up. Turning them into comparable scores is the job of normalisation and direction-flipping, which come in lessons 2 and 3 of the course. But even before that, there is a more basic issue: some companies do not report some indicators at all.
Data coverage is the share of indicators a company actually reports. If a company discloses four of five indicators, its coverage is 4 ÷ 5 = 80 %. Coverage can also be measured the other way round: for one indicator, how many of the companies in the sample report it? Low company coverage tells you that a particular score is fragile. Low indicator coverage tells you that a data point is hard to obtain across the market, which is useful when you decide which indicators to include in a methodology at all.
How Excel tells numbers and text apart: COUNT versus COUNTA
The whole lesson rests on one small detail. In the Calderwood sheet, missing data is written as the text n/a. Excel has two counting functions that behave very differently on such a range:
COUNT(range)counts only cells that contain numbers (including dates and percentages). Text such as n/a, empty cells and error values are ignored.COUNTA(range)counts every cell that is not empty, so the text n/a is counted as if it were a real figure.COUNTBLANK(range)counts empty cells. It would not help here, because the n/a cells are not empty.
If you use COUNTA by mistake, every company gets 100 % coverage and the whole check becomes meaningless. That is the most common error in this lab, and the Coach is set up to catch it. To turn the count into a share, divide by the number of indicators. You could type 5, but COLUMNS(C4:G4) returns the number of columns in the range automatically, so the formula keeps working if you later add a sixth indicator. For indicator coverage you divide by ROWS(range) instead, the number of companies.
Worked example: coverage for the eight Calderwood companies
Here is the raw data from the lab, together with the coverage you will calculate in column H and the status in column I. The minimum coverage in cell B14 is 80 %, for example, which is a typical kind of threshold but not a rule from any particular provider.
| Company | Sector | CO2 int. | Renew. | Turnover | Women | Indep. | Coverage (H) | Status (I) |
|---|---|---|---|---|---|---|---|---|
| Aldenmoor Foods | Consumer | 118 | 34 % | 14 % | 36 % | 67 % | 100 % | OK |
| Brightwater Power | Utilities | 842 | 41 % | 9 % | n/a | 73 % | 80 % | OK |
| Corvane Mining | Materials | 655 | 12 % | n/a | 22 % | 58 % | 80 % | OK |
| Delphin Software | Technology | 9 | 78 % | 18 % | 30 % | 82 % | 100 % | OK |
| Eastmere Bank | Financials | 4 | 55 % | 11 % | 42 % | 85 % | 100 % | OK |
| Fenwick Apparel | Consumer | 61 | n/a | 21 % | 45 % | n/a | 60 % | Review |
| Greyhaven Chemicals | Materials | n/a | 19 % | 8 % | 27 % | 64 % | 80 % | OK |
| Halden Logistics | Industrials | 214 | 23 % | n/a | n/a | 55 % | 60 % | Review |
| Indicator coverage (row 12) | 87.5 % | 87.5 % | 75 % | 75 % | 87.5 % |
The formulas behind the table are short. Each one is written once in the first row or column and then copied:
| Cell | What it calculates | Formula | Result |
|---|---|---|---|
| H4 (copy to H11) | Coverage of Aldenmoor Foods | =COUNT(C4:G4)/COLUMNS(C4:G4) | 100 % |
| H9 | Coverage of Fenwick Apparel (checked by the Coach) | =COUNT(C9:G9)/COLUMNS(C9:G9) | 60 % |
| C12 (copy to G12) | Coverage of CO2 intensity | =COUNT(C4:C11)/ROWS(C4:C11) | 87.5 % |
| E12 | Coverage of employee turnover (checked) | =COUNT(E4:E11)/ROWS(E4:E11) | 75 % |
| I4 (copy to I11) | Status flag | =IF(H4<$B$14,"Review","OK") | OK |
| I11 | Status of Halden Logistics (checked) | =IF(COUNT(C11:G11)/COLUMNS(C11:G11)<$B$14,"Review","OK") | Review |
| B16 | Imputed CO2 intensity for Greyhaven | =MEDIAN(C4:C11) | 118 |
Two details in this example are worth a closer look. First, Brightwater Power, Corvane Mining and Greyhaven Chemicals sit at exactly 80 %. The test is <$B$14, "strictly below the minimum", so they pass. If your methodology says "at least 80 %", this is correct. If it says "more than 80 %", you would need <=, and three more companies would be flagged. Small operators decide outcomes, so write the rule down in words before you write it in Excel.
Second, the dollar signs in $B$14 make the reference absolute. When you copy the formula from I4 down to I11, the company row changes but the threshold stays fixed in B14. Without the dollar signs, row 5 would compare against B15, row 6 against B16, and so on, which gives nonsense results without any error message.
Filling a gap: why the median beats the average
Greyhaven Chemicals reports four of its five indicators, but not CO2 intensity. Rating providers deal with such gaps in different ways. Some leave the indicator out and average over the rest. Some give the company the worst possible score for the missing item, on the reasoning that silence should not be rewarded. Others impute an estimate, for example from peers in the same sector or from a statistical model. In the lab you use the simplest version of imputation: the median of the reported values.
The seven reported CO2 intensities are 4, 9, 61, 118, 214, 655 and 842. Sorted like this, the middle value is 118, so =MEDIAN(C4:C11) returns 118. MEDIAN, like COUNT, ignores the text n/a automatically. The average, =AVERAGE(C4:C11), is 1,903 ÷ 7 ≈ 271.9, more than twice as high. The two heavy emitters, Brightwater Power (842) and Corvane Mining (655), pull the average up, while the median barely notices them. That is what statisticians mean when they say the median is robust to extreme values.
Is 118 a good estimate for a chemicals company? Probably not. Chemicals production tends to be more carbon-intensive than banking or software, so a sector-specific median would usually be more realistic than a median over the whole sample. With only two Materials companies in this sample, though, a sector median would rest on a single number. This is the honest trade-off in ESG data: the more specific the peer group, the fewer data points it contains. Whatever you choose, mark imputed values clearly (the lab gives B16 its own row) so that nobody mistakes an estimate for a reported figure.
Step by step: how to do it in Excel
Follow these steps in the lab above, or rebuild the sheet in your own copy of Excel, Microsoft 365, Google Sheets or LibreOffice Calc. The formulas are the same.
- Click H4 and type
=COUNT(C4:G4)/COLUMNS(C4:G4), then press Enter. - Format the result as a percentage: Home › Number › %, or press Ctrl+Shift+% (Cmd+Shift+% on a Mac).
- Select H4:H11 and press Ctrl+D to fill the formula down. Alternatively, double-click the small square (fill handle) at the bottom right of H4.
- Click C12, type
=COUNT(C4:C11)/ROWS(C4:C11)and press Enter. Select C12:G12 and press Ctrl+R to fill to the right. - Click I4 and type
=IF(H4<$B$14,"Review","OK"). While editing, you can press F4 with the cursor on B14 to add the dollar signs. Fill down to I11 with Ctrl+D. - Optional: highlight the flagged rows with Home › Conditional Formatting › Highlight Cells Rules › Text that Contains and enter Review.
- Click B16 and type
=MEDIAN(C4:C11). Compare it with=AVERAGE(C4:C11)in a spare cell to see the effect of the outliers. - Check your results: the Coach in the lab tests H9, E12, I11 and B16. If a value is wrong, the hint usually tells you exactly which function or reference to change.
What indicator coverage tells a methodology designer
Company coverage is about trust in one score. Indicator coverage is about the design of the whole rating. In the Calderwood sample, CO2 intensity, renewable energy and independent directors are each reported by seven of eight companies (87.5 %), while employee turnover and women on board are reported by only six (75 %).
If you were building a methodology for a much larger universe and found that an indicator was reported by, for example, only 30 % of companies, you would face a real choice. Keeping it rewards the transparent minority and forces you to impute for everyone else, which can make the indicator more about your estimation model than about the companies. Dropping it removes a topic that might be material. Many methodologies handle this by setting a minimum indicator coverage as well as a minimum company coverage, or by giving low-coverage indicators a smaller weight. You will work with weights and industry materiality later in the course.
There is also a subtle bias to watch. Companies tend to disclose the numbers that make them look good. A company with a rising staff turnover may simply stop reporting it. Missing data is therefore rarely "missing at random", and an imputation that assumes the median company can flatter exactly the firms that chose to stay silent. This is one reason why some rating approaches penalise non-disclosure instead of imputing.

Common mistakes and how to spot them
These are the errors that show up again and again when people build coverage checks, in this lab and in real work:
- Using COUNTA instead of COUNT. Symptom: every company shows 100 % coverage. Fix: COUNT counts numbers only. Quick test: if the column of results contains no value below 100 % even though you can see n/a cells, the wrong function is in use.
- Missing dollar signs on the threshold. Symptom: the first row is right but later rows give strange flags. Fix:
$B$14. Click a lower cell and look at the formula bar to see what it actually refers to. - Dividing by a hard-coded 5. It works today, but breaks quietly when an indicator is added. Use
COLUMNS()orROWS(). - Numbers stored as text. If a figure was pasted from a PDF, Excel may treat it as text and COUNT ignores it. Symptom: a small green triangle in the cell corner, or left-aligned numbers. Fix: Data › Text to Columns › Finish, or
=VALUE(). - Zeros used for missing data. A 0 % renewable share is a real (and bad) value. Typing 0 for "not reported" makes COUNT treat it as data and distorts every later score. Keep n/a or leave the cell empty.
- Using the average for imputation. Symptom: an estimate far above most reported values. Check MEDIAN against AVERAGE, and look for outliers first.
- Wrong comparison operator. < and <= give different results for companies that sit exactly on the threshold. Write the rule in a note next to B14.
Quick reference: functions and shortcuts in this lesson
| Function or shortcut | What it does | Example from the lab |
|---|---|---|
COUNT(range) | Counts cells that contain numbers | =COUNT(C9:G9) → 3 |
COUNTA(range) | Counts all non-empty cells, including text | =COUNTA(C9:G9) → 5 (wrong here) |
COLUMNS(range) | Number of columns in a range | =COLUMNS(C4:G4) → 5 |
ROWS(range) | Number of rows in a range | =ROWS(E4:E11) → 8 |
IF(test, yes, no) | Returns one of two values | =IF(H11<$B$14,"Review","OK") |
MEDIAN(range) | Middle value, ignores text | =MEDIAN(C4:C11) → 118 |
AVERAGE(range) | Arithmetic mean, ignores text | =AVERAGE(C4:C11) → 271.9 |
| F4 | Toggles $ signs on the selected reference | B14 → $B$14 |
| Ctrl+D / Ctrl+R | Fill down / fill right | H4 to H11, C12 to G12 |
| Ctrl+Shift+% | Percentage format | H4:H11, C12:G12 |
Real-world uses
Coverage checks look simple, but they appear in many serious workflows:
- Fund and portfolio reporting. An asset manager reporting the weighted CO2 intensity of a portfolio usually has to say what share of holdings had reported data and what share was estimated. The COUNT-based coverage you built is the core of that disclosure.
- Comparing rating providers. When two ESG ratings disagree about a company, a first question is whether one of them is working from much less reported data. A coverage column next to each score makes that visible.
- Supplier and credit questionnaires. Banks and procurement teams send sustainability questionnaires to suppliers or borrowers. Measuring coverage per question shows which questions most respondents skip and need rewording.
- Internal sustainability reporting. A group with many subsidiaries can use the same layout to track which sites have submitted energy, waste or staff data before the annual report deadline.
- Academic and student research. Anyone running statistics on ESG data needs to state how missing values were handled. A clear coverage table and a documented imputation rule are part of a defensible method.
What you will build in the rest of this course
This first lesson is free. The remaining 19 lessons are part of the paid course (USD 9.90, one-time) and use the same Calderwood companies, so every step builds on the data you just checked.
Normalisation: Min-Max, Z-Score and Percentile Rank. You rescale an indicator three ways (min-max to 0 to 100, z-score and percentile rank) and see how a single outlier such as Brightwater's CO2 intensity affects each method.
Direction: Turning Lower-Is-Better Indicators into Scores. CO2 intensity and staff turnover run the wrong way. You learn the clean formula to flip them so that a high score always means better, and the classic mistake that silently rewards polluters.
Pillar Scores: Averaging Indicators into E, S and G, Then Weighting. You group six indicator scores into the E, S and G pillars, average them, combine the pillars into one overall score with explicit weights and find the leader with INDEX and MATCH.
Industry Materiality: Sector Weights with a Lookup. A bank and a mining company should not be judged on the same priorities. You build a sector weight table and pull the right weights into each row with a lookup.
Controversy Deductions: Penalties, a Floor at Zero and a Watchlist. You subtract penalties for incidents, keep scores from dropping below zero with MAX, and build a watchlist of companies that need a closer look.
Letter Grades: Mapping Scores with an Approximate VLOOKUP. You map numeric scores to letter grades with a threshold table and an approximate-match lookup, the same technique used for any banded rating scale.
Weight Sensitivity & Rating Disagreement: Ranks, CORREL and a Scatter. You change the weights, watch the ranking move, and measure how much two rating approaches agree with RANK, CORREL and a scatter chart. This is where you see why ESG ratings from different providers can disagree so much.
Summary
Before any ESG score is calculated, you need to know how much data stands behind it. COUNT divided by COLUMNS gives the coverage of each company, COUNT divided by ROWS gives the coverage of each indicator, an IF formula with an absolute reference flags companies below the minimum, and MEDIAN gives a robust estimate for a single gap. In the Calderwood sample, two of eight companies need a review and the imputed CO2 intensity for Greyhaven is 118, not the outlier-driven average of about 272.
Now scroll up and try the lab: build the coverage column, the indicator row, the status flags and the median estimate yourself. The Coach checks each step and explains what went wrong if a number does not match. It takes about 15 minutes, and it is the foundation for every score you will build in the rest of the course.
Frequently asked questions
What is data coverage in an ESG rating?
Data coverage is the share of the planned indicators that a company actually reports. If a company discloses four of five indicators, its coverage is 80 %. Low coverage means the resulting score rests on less evidence.
How do I calculate the percentage of filled cells in Excel?
Use =COUNT(range)/COLUMNS(range) for a row of numbers, or =COUNTA(range)/COLUMNS(range) if text entries also count as filled. When missing values are written as text like n/a, COUNT is the right choice because it counts numbers only.
What is the difference between COUNT and COUNTA in Excel?
COUNT counts only cells containing numbers, dates or percentages. COUNTA counts every non-empty cell, including text such as n/a, so it overstates coverage when missing data is marked with text.
How do ESG rating providers handle missing data?
Approaches differ between providers. Common options are leaving the indicator out, assigning the worst score for non-disclosure, or imputing an estimate from peers or a model. Each provider documents its own rules, and they are not the same.
Why use the median instead of the average to fill missing values?
The median is the middle value and is not pulled up or down much by a few extreme numbers. In skewed data such as CO2 intensity, the average can be far above what a typical company reports.
Is this lesson the method used by MSCI or Sustainalytics?
No. The companies, data and method are fictional and simplified for teaching. Real providers use their own proprietary methods, which differ from each other and from this example.
Keep going: ESG Ratings Methodology: Indicators, Normalisation, Weights & Scores
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- Normalisation: Min-Max, Z-Score and Percentile Rank
- Direction: Turning Lower-Is-Better Indicators into Scores
- Pillar Scores: Averaging Indicators into E, S and G, Then Weighting
- Industry Materiality: Sector Weights with a Lookup
- Controversy Deductions: Penalties, a Floor at Zero and a Watchlist
- Letter Grades: Mapping Scores with an Approximate VLOOKUP
- Weight Sensitivity & Rating Disagreement: Ranks, CORREL and a Scatter
- Winsorising Outliers: Capping Extreme Values at Percentiles Before Scoring
- Sector-Relative Scores: Z-Scores Within Each Peer Group
- Missing Indicators: Re-Weighting Available Data and Sector-Median Imputation
- Plausibility Checks: Catching Impossible Values and Suspicious Jumps
- Compensability: Arithmetic vs Geometric Aggregation and a Weakest-Pillar Cap
- Best-in-Class: Ranking Within Each Sector with COUNTIFS
- Rating Momentum: Year-on-Year Changes, Notches, Upgrades and Downgrades
- Rating Transition Matrix: Counting Grade Moves with COUNTIFS and a Heat Map
- Weight Scenarios: Score Ranges and Rank Stability Across Five Weight Sets
- Three Providers, One Company: Rank Correlation and Divergence
- Portfolio ESG Profile: Weighted Scores, Score Buckets and Controversy Exposure
- Final Project: An End-to-End ESG Rating Dashboard for a New Peer Group