John Serra
Back to Blog
AnalyticsBusiness Operationsdata analysisreportingSmall BusinessSmall Business Analyticsspreadsheets

Which Denominator Makes Location Comparisons Fair? Counts vs. Rates in Operator League Tables

Rank six test centers by raw passes, pass rate per test, pass rate per candidate, and mix-adjusted pass rate, and you get four different winners. Here is how to match each measure to the decision, keep canceled bookings out of test-slot yield, and staff from attended tests instead of rates.

No single denominator makes every location comparison fair. Pick the measure that matches the decision. In the six made-up test centers below, ranking by raw passes, pass rate per attended test, pass rate per candidate, and mix-adjusted pass rate gives four different #1 centers, and two centers move five places. For examiner staffing, count attended tests instead of using a rate.

Two more rules keep the comparison honest. Name the group each rate counts, whether that’s tests, people, or bookings. Keep canceled and no-show bookings out of a per-test rate, because no test took place for them.

This is the fourth companion article in Grain First, my open-core data analytics curriculum. The first three covered row grain versus the unit of analysis, when to average a 1-to-5 customer rating, and why average ticket and wait time mislead when data is skewed. You can try the live interactive practice exercises for this unit on CareerTalkLab, or if you want to check your own reporting first, start with the 4-Minute Small Business Data Audit.

When I review a dashboard, I check whether each metric matters. Does it help increase revenue, make the company more efficient, and/or reduce costs? A league table (a ranked comparison of locations) passes that test only when its measure answers the decision behind it. The same six centers produce four different winners across the four rankings below.

My preferred tool is Google Sheets because a spreadsheet should be shareable and make collaboration easy. Every formula below also works in Excel for the web. The results below come from a test of this exact workbook in Google Sheets and Excel for the web, both in US English.

Six Test Centers, Four Different Winners

Below are six driving-test centers I made up for this article. The numbers cover one quarter, Q1 2026, so every center reports over the same period. Each row records bookings, attended tests, unique candidates, and the tests and passes split into first attempts and retakes (download the input CSV).

Here are the inputs in the test:

Excel for the web screenshot of League_Tables columns A through I showing six synthetic Q1 2026 driving-test centers with bookings, attended tests, unique candidates, and first-attempt and retake counts.
Six synthetic Q1 2026 testing centers in Excel for the web (League_Tables!A1:I7). Open full-size image

Three rules hold the example together:

  • One pass per person. Every row tracks one qualification. Once a candidate passes, they hold the license and don’t test again that quarter, so each pass belongs to a different person.
  • One home center per candidate. Nobody tests at two centers, so the six candidate counts add up to 800 different people.
  • Every test takes the same examiner time. A test uses one slot whether the candidate passes or fails.

Across the network, 1,194 bookings produced 1,000 attended tests and 579 passes. The other 194 bookings were canceled or no-shows. Of the 1,000 tests, 600 were first attempts, and 400 were retakes.

Rank the six centers four ways, and the winner changes every time:

Center Raw passes Pass rate per attended test Pass rate per candidate Mix-adjusted pass rate Biggest rank move
Northgate Metro 165 (#1) 55.00% (#5) 63.46% (#6) 60.00% (#3) 5 places
Westside Hub 124 (#2) 51.67% (#6) 70.86% (#5) 51.20% (#6) 4 places
Eastpark Regional 111 (#3) 61.67% (#3) 88.80% (#1) 55.00% (#4) 3 places
Riverbend Town 73 (#4) 60.83% (#4) 73.00% (#3) 60.40% (#2) 2 places
Hillcrest Rural 64 (#5) 64.00% (#2) 71.11% (#4) 68.00% (#1) 4 places
Pinewood Rural 42 (#6) 70.00% (#1) 84.00% (#2) 54.40% (#5) 5 places

Northgate goes from first to sixth, and Pinewood goes from sixth to first. Every center moves at least two places. None of these numbers are wrong. Each one answers a different question about a different group.

Match Each Measure to Its Question

Before you rank anything, write down the question and the group the measure counts. The table below pairs each measure with both:

Measure What it counts Question it answers #1 center
Raw attended tests Every test that took place, pass or fail How much examiner and bay time does each center need? Northgate (300 tests)
Raw passes Every passing test, one per new license holder How many people qualified at each center? Northgate (165)
Pass rate per attended test Passes divided by tests that took place How much of each center’s test time ended in a pass? Pinewood (70.00%)
Pass rate per candidate Passes divided by people who tested this quarter What share of candidates passed this quarter? Eastpark (88.80%)
Mix-adjusted pass rate First-attempt and retake pass rates, weighted to one shared mix Which center performs best on the same mix of tests? Hillcrest (68.00%)
Pass rate per booking Passes divided by all bookings, including canceled and no-show bookings What share of bookings ended in a pass? Pinewood (65.63%)

Some measures share a leader: Northgate leads both raw counts, and Pinewood leads both the per-test and per-booking rates. The four featured rankings are the ones with four different leaders. A raw count has no denominator at all, and the mix-adjusted rate combines two rates. The sections below walk through the four rankings, then the booking rate and staffing.

Raw passes: how many people qualified

Northgate issued 165 passes, and Pinewood issued 42. That gap mostly reflects size: Northgate ran 300 tests and Pinewood ran 60. Raw passes answer a volume question, such as how many new license holders each center produced. They can’t tell you which center performs better, because they favor high volume. The busiest center usually leads, but not always. If Northgate had 0 passes on its 300 tests, Westside would lead with 124.

Pass rate per attended test: how much test time ended in a pass

Divide passes by attended tests, and Pinewood jumps from sixth to first at 70.00%. Northgate drops to fifth at 55.00%. This rate is the right measure for test-slot yield: of the tests a center ran, how many ended in a pass?

It’s a weak measure of center performance, because it mixes two kinds of tests. In this example, retakes pass far more often than first attempts: 72.25% against 48.33% across the network. Pinewood’s 60 tests are 50 retakes and 10 first attempts, so 83.33% of its tests come from the group that passes more often. At Hillcrest, only 20% of tests are retakes. Part of Pinewood’s lead comes from its mix of tests, not from how it runs them.

Pass rate per candidate: what share of people passed

Divide passes by unique candidates, and Eastpark takes first place at 88.80%: 111 of its 125 candidates passed this quarter. Northgate falls to last at 63.46%, with 165 of 260. The 88.80% is the share of the quarter’s Eastpark candidates who passed. Eastpark ran 180 tests for those 125 people, and 84 of its 111 passes came on retakes. The totals can’t show how many tries each person took. This rate is right for a question about people and wrong for a question about tests.

The rate only works because of the one-pass-per-person rule. Without it, the same totals can mean different things. Say two candidates take four tests between them, and two of those tests pass. If one person passed twice, candidate success is 50%. If each person passed once, it’s 100%. When people can pass more than once, add a column that counts distinct candidates who passed, and divide that by candidates.

The network rate needs one more rule. Here, 579 passes over 800 candidates gives 72.38%, because no candidate attended tests at two centers. If people can test at a second location, adding up each center’s candidates counts those people twice. Count each person once across the network before you divide.

Mix-adjusted pass rate: performance on the same mix of tests

To compare performance, take the mix out of the comparison. Compute each center’s first-attempt pass rate and its retake pass rate. Then weight both by one shared mix, here the network’s 60% first attempts and 40% retakes. This is called direct standardization. The CDC’s lesson on standardized rates uses the same method to compare populations with different age mixes.

  • Pinewood: 40.00% on first attempts and 76.00% on retakes. At the shared mix, 0.60 × 40.00% + 0.40 × 76.00% = 54.40%, so it falls from first to fifth.
  • Hillcrest: 60.00% on first attempts and 80.00% on retakes, the highest rate in both groups. Its mix-adjusted rate is 68.00%, first place.
  • Northgate: 50.00% and 75.00%, which gives 60.00% and third place.

The result is performance at a common mix of first attempts and retakes. Other differences between centers still remain, such as who books at each one. Mix adjustment removes one difference you can measure. It doesn’t make the centers identical.

The method also needs both groups at every center. A center with zero retakes has no retake rate to weight, so its mix-adjusted rate can’t be computed. The worksheet marks that row CHECK ROW and stops instead of guessing. The center’s raw counts and per-test rate still mean something. For the weighted comparison, you would need to pool groups or use a different method.

Booking-to-Pass Conversion Answers a Different Question

Dividing passes by bookings gives another valid rate with a different meaning. Across the network, 579 of 1,194 bookings ended in a pass, which is 48.49%. Per attended test, the rate is 579 of 1,000, or 57.90%. Both are proportions: every pass started as a booking, and every pass is an attended test. They count different groups.

The gap is the 194 bookings that were canceled or no-shows. At Northgate, 100 of its 400 bookings had no test, so its booking rate is 41.25% against 55.00% per attended test. Use the booking rate when the question is end-to-end conversion: of all bookings, what share ended in a pass? One candidate can book more than once, so this rate counts bookings, not people. Don’t use it for test-slot yield, which only concerns tests that took place.

The two rates can match. On a fresh copy of the worksheet, copy D2:D7 and paste it into C2:C7 as values only, so every booking has a test. Then both rates are 70.00% at Pinewood (42 of 60), and both are 57.90% across the network (579 of 1,000).

The worksheet still rejects the booking rate for a test-slot question in that case. Type TEST_SLOT_YIELD, PER_BOOKING_INCL_CANCELLED, CTR-06, 0.70, 5, 1, 0, and 0 into AA2:AA9. AA18 stops on the booking denominator and reports 0 canceled or no-show bookings in the table. For a center with at least one pass, a cancellation or no-show at that center makes its pass rate per booking lower than its pass rate per attended test. Restore the original bookings in C2:C7 before you try the claims further down.

Bookings minus attended tests gives only the combined count of cancellations and no-shows, 194 here. To track cancellations and no-shows separately, you need a status for each booking.

Rates Don’t Staff a Building

For examiner and bay staffing, a rate is the wrong tool. Every attended test uses one exam slot, pass or fail. Northgate ran 300 tests in the quarter, and Pinewood ran 60, so Northgate needs five times the examiner time. Pinewood’s 70.00% pass rate says nothing about how many examiners either center needs.

Raw passes don’t measure workload either. On a copy of the worksheet, set Northgate’s first-attempt and retake passes, G2 and I2, to 0. Northgate now has 0 passes on 300 tests, while Westside leads raw passes with 124 on 240 tests. Northgate still ran 60 more tests, so it still needs more examiner time.

This rule assumes every test takes the same time. If a pass triggers extra work, such as issuing a license on the spot, count that work separately. Plan exam slots from attended tests, and plan pass-related work from passes.

How the Worksheet Is Laid Out

Everything sits on one worksheet named League_Tables, in three blocks separated by blank columns V and Y:

  • Centers and rankings (A1:U7): Typed inputs in A2:I7, one row per center. Columns J to U hold formulas that check each row, total the passes, calculate the rates, rank the centers, and measure each center’s biggest rank move.
  • Source audit (W1:X18): Checks the inputs and the formulas, and reports network totals. X18 gives the verdict.
  • Candidate audit (Z1:AA18): Checks a league-table claim someone else made. You type the claim into AA2:AA9, and AA18 gives the verdict.

Here are columns J to U in the test:

Excel for the web screenshot of League_Tables columns J through U showing passes, booking conversion, attended-test rate, candidate rate, mix-adjusted rate, four rankings with four different #1 winners, and maximum rank shifts up to 5 places.
Columns J through U in Excel for the web: four rankings, four different #1 centers, and rank shifts up to five places. Open full-size image

The rank columns use RANK in descending order. Tied values share a rank, and the next rank is skipped, so two tied leaders are both 1 and the next center is 3. U2 takes the highest of a center’s four ranks minus the lowest. The four ranks cover raw passes, per attended test, per candidate, and mix-adjusted. Raw attended tests and the booking rate stay out of that comparison, because they answer separate questions.

All rates keep full precision in the cells and display with two decimals.

What the source audit checks

X18 returns RECONCILED only when everything below holds:

  • Every center row is valid. The ID looks like CTR-01, with two to four digits after the dash. Every count is a whole number typed into the cell, not a formula.
  • The counts fit together. Attended tests equal first attempts plus retakes, and bookings are at least as high as attended tests. Passes in each group can’t exceed tests in that group.
  • Both groups have tests. Every center needs at least one first attempt and one retake, so both group rates exist for the mix adjustment.
  • The candidate count makes sense. It can’t be lower than the number of passes or first attempts, or higher than attended tests. It must also be higher than first-attempt passes, so at least one candidate was still eligible for a retake.
  • No ID appears twice, and nothing sits below the tables. The check covers columns A:U below row 7, and W:X and Z:AA from row 19 to row 100.
  • The helper and audit cells still hold formulas.
  • The table has at least two centers.

On the baseline, X18 reports 6 centers verified, 1,000 attended tests, a 60.0%/40.0% mix, 4 distinct #1 winners, and a biggest rank move of 5. When a check fails, X18 starts with STOP: and names the problem. Treat every number on the sheet as unchecked until it reconciles.

Test the checks

Try each change on a fresh copy of the worksheet, and restore the original values before the next one. Both tools returned the same results:

  • A repeated ID: Change A3 to CTR-01. Both verdicts stop on duplicate center IDs. Set A3 back to CTR-02.
  • A center with no retakes: Set C7:I7 to 2, 2, 2, 2, 1, 0, 0. The two tests and two candidates add up, but there is no retake rate to weight. J7 returns CHECK ROW, and X18 stops.
  • A retake nobody could take: Set C2:I2 to 3, 3, 2, 2, 2, 1, 0. Both candidates passed their first test, so neither could take the retake. J2 returns CHECK ROW, and X18 stops. Change E2 to 3, and the row passes: a third candidate, whose first attempt came before the quarter, took the retake.
  • A formula in an input cell: Enter =400 in C2. The cell still shows 400, but both verdicts stop, because inputs must be typed.
  • Helpers pasted as values: Copy J3:U3 and paste it back as values only, then change A3 to BAD. J3 still shows OK, because it’s no longer a formula. The sheet catches that and both verdicts stop. Fill J2:U2 down through row 7 to restore the formulas.
  • An error in an input: Enter =1/0 in C2. J2 returns CHECK ROW, both verdicts stop, and no error value spreads to the other formula cells.
  • A tie: Copy Pinewood’s tests and passes into Hillcrest’s row, so D6:I6 read 60, 50, 10, 4, 50, 38. Both centers show 70.00% per attended test and share rank 1, and Eastpark becomes 3. X18 now reports 5 distinct #1 winners, because Riverbend moves to first on the mix-adjusted rate.

Check a League Table Someone Else Made

The candidate audit in Z1:AA18 checks a ranking from somewhere else, such as a regional report or a colleague’s slide. Type the claim into AA2:AA9:

  • AA2: the question, typed as CAPACITY_STAFFING, TEST_SLOT_YIELD, CANDIDATE_SUCCESS, or FAIR_CENTRE_PERFORMANCE.
  • AA3: the measure the claim used, typed as RAW_ATTENDED_TESTS, RAW_PASS_COUNT, PER_ATTENDED_TEST, PER_CANDIDATE, MIX_ADJUSTED_RATE, or PER_BOOKING_INCL_CANCELLED.
  • AA4: the center the claim puts first, such as CTR-06. It must match an ID exactly, so a wildcard such as CTR-01* or a lowercase ID stops the audit.
  • AA5: that center’s value. Type rates as decimals, such as 0.7, or as percentages, such as 70%.
  • AA6 and AA7: the ranks the claim gives Northgate (CTR-01) and Pinewood (CTR-06).
  • AA8 and AA9: 0. These two guard cells must stay at 0.

AA10 looks up the measure that fits the question. Staffing needs raw attended tests, test-slot yield needs the per-test rate, candidate success needs the per-candidate rate, and fair performance needs the mix-adjusted rate. AA11 through AA16 check the claim’s numbers. The claimed leader must rank first on the measure the claim names, its value must match to four decimals, and the two reference ranks must match.

AA18 gives the verdict. It stops on wrong numbers first. When the numbers are right, it stops if the measure doesn’t fit the question. It reconciles only when the numbers and the measure are both right.

Start from the original six-center table, and try these eight claims one at a time, with 0 in AA8:AA9:

Claim AA2 AA3 AA4 AA5 AA6 AA7 Result
1. Staff by attended tests CAPACITY_STAFFING RAW_ATTENDED_TESTS CTR-01 300 1 6 Reconciles
2. Staff by pass rate CAPACITY_STAFFING PER_ATTENDED_TEST CTR-06 0.7 5 1 Stops: rates don’t staff a building
3. Rank performance by raw passes FAIR_CENTRE_PERFORMANCE RAW_PASS_COUNT CTR-01 165 1 6 Stops: use the mix-adjusted rate
4. Slot yield per booking TEST_SLOT_YIELD PER_BOOKING_INCL_CANCELLED CTR-06 0.6563 6 1 Stops: bookings include 194 canceled or no-shows
5. Slot yield per attended test TEST_SLOT_YIELD PER_ATTENDED_TEST CTR-06 0.7 5 1 Reconciles
6. Candidate success CANDIDATE_SUCCESS PER_CANDIDATE CTR-03 0.888 6 2 Reconciles
7. Rank performance per attended test FAIR_CENTRE_PERFORMANCE PER_ATTENDED_TEST CTR-06 0.7 5 1 Stops: use the mix-adjusted rate
8. Rank performance at a shared mix FAIR_CENTRE_PERFORMANCE MIX_ADJUSTED_RATE CTR-05 0.68 3 5 Reconciles

Claims 2 and 3 have correct numbers. Pinewood really does have the best per-test rate, and Northgate really does have the most passes. They stop because the measure doesn’t answer the question. Here is claim 2 in the test:

Excel for the web screenshot of the source and candidate audit block W1:AA18 showing Claim 2 rejected with STOP: RATES DO NOT STAFF A BUILDING — USE RAW_ATTENDED_TESTS FOR CAPACITY_STAFFING (CTR-01: 300 ATTENDED TESTS; CTR-06: 60 ATTENDED TESTS).
Excel for the web audit block (W1:AA18) on Claim 2: STOP: RATES DO NOT STAFF A BUILDING — USE RAW_ATTENDED_TESTS FOR CAPACITY_STAFFING (CTR-01: 300 ATTENDED TESTS; CTR-06: 60 ATTENDED TESTS). Open full-size image

Here is claim 8 in the test, with Hillcrest first, Northgate third, and Pinewood fifth:

Excel for the web screenshot of the source and candidate audit block W1:AA18 showing Claim 8 accepted with RECONCILED: MIX_ADJUSTED_RATE MATCHES FAIR_CENTRE_PERFORMANCE (TOP=CTR-05; CTR-01 RANK 3; CTR-06 RANK 5).
Excel for the web audit block (W1:AA18) on Claim 8: RECONCILED: MIX_ADJUSTED_RATE MATCHES FAIR_CENTRE_PERFORMANCE (TOP=CTR-05; CTR-01 RANK 3; CTR-06 RANK 5). Open full-size image

If you remove Northgate (CTR-01) from the table, type NOT IN TABLE in AA6. If you remove Pinewood (CTR-06), type it in AA7. A numeric rank for a center that isn’t in the table fails the check. The rest of the claim must also describe the smaller table: the leader, its value, and the other center’s rank. The audit checks those numbers before it checks the measure. Once they match, a staffing claim that uses a rate shows the missing center as NOT IN TABLE rather than as 0 tests.

What a reconciled result proves, and what it doesn’t

A reconciled AA18 means the claim’s numbers match this sheet, and its measure fits the question you typed. It doesn’t prove you typed the right question. It also can’t check anything outside the sheet, such as whether bookings and tests came from the same export and the same quarter. A mix-adjusted win still leaves other differences between centers, such as who books at each one.

Add or Remove Centers

The formulas point at rows 2 to 7. Every range ends with a column-qualified reference such as :$D$7. To resize the table, replace those endings. Never replace a bare row number.

Step A: Note the old and new last rows

P is the current last row (7 on the original sheet). R is the new last row: the number of centers plus 1. The table needs at least two centers.

Step B: Add centers

  1. Paste the new rows directly below row P.
  2. Open Find and Replace, and replace each ending with the same column and row R. There are 19: :$A$<P>, :$C$<P>, :$D$<P>, :$E$<P>, :$F$<P>, :$H$<P>, :$I$<P>, and every column from :$J$<P> through :$U$<P>. Columns B and G never appear as endings.
  3. Fill J2:U2 down through row R.

Step C: Remove centers

  1. Run the same 19 replacements first, from row P to row R.
  2. Clear A<R+1>:U<P>, which removes the old rows and their formulas.
  3. If Northgate is gone, type NOT IN TABLE in AA6. If Pinewood is gone, type it in AA7. Enter the rest of any claim from the smaller table.

Step D: Check the result

X18 should reconcile and report the new number of centers, and X4 should return 0. X4 can’t tell whether a formula still points at old rows, so confirm the center count in X18 after every resize.

In Google Sheets, open Edit > Find and replace, set Search to This sheet, and check Also search within formulas. In Excel for the web, open Home > Find & Select > Replace. It searches formulas on the active sheet. Expect a brief #VALUE! partway through, because SUMPRODUCT needs ranges of the same size. The error clears once all 19 endings use row R.

How to Set Up the Worksheet

Everything runs on one worksheet named League_Tables:

  1. Centers and rankings (A1:U7): Import or paste the summary CSV starting at A1. It fills the headings in A1:U1 and the six centers. Columns J:U arrive with the example’s results, and the formulas will replace them.
  2. Audit blocks (W1:AA18): Import or paste the audit layout CSV starting at W1. It brings the labels in columns W and Z, NOT TESTED in AA2:AA7, and 0 in AA8:AA9. The values in X2:X18 and AA10:AA18 will be replaced by formulas. The CSV’s third heading, Spacer, lands in Y1. Delete it so column Y stays blank.
  3. Check the typed values: A2:B7 hold plain text, and C2:I7 hold numbers, not text.
  4. Paste the formulas by block:
    • Row helpers: Paste into J2:U2, and fill down through row 7.
    • Source audit: Paste into X2:X18, one cell at a time.
    • Candidate audit: Paste into AA10:AA18, one cell at a time.
  5. Format the rates: Format M2:P7, X6:X7, and X10:X12 as percentages with two decimals. The cells keep full precision underneath.

Once everything is in place, X18 should begin with RECONCILED: 6 CENTRES VERIFIED, and AA18 should say NOT TESTED: ENTER CANDIDATE LEAGUE-TABLE CLAIM.

Build It Faster With Your Favorite AI

If you’d rather not paste the formulas by hand, drop the prompt below into ChatGPT, Claude, or Gemini. It asks for a .xlsx file or cell-by-cell setup instructions for your own locations. The prompt builds the location table, the rankings, and the source audit. It leaves out the candidate audit, which only checks claims someone else made.

The first line of the prompt is a privacy step for you. Follow it before you paste, then delete it. See Is It Safe to Upload Business Data to ChatGPT? for a quick privacy checklist.

[BEFORE PASTING: Replace real location names with generic IDs such as CTR-01, and remove any candidate names or personal details. Keep only the counts. Then delete this line.]

Build a single-sheet league-table workbook named League_Tables that works identically in Google Sheets and Excel for the web. Use classic functions only, such as IF, AND, OR, INT, ISNUMBER, ISTEXT, COUNTIF, SUMPRODUCT, RANK, MAX, MIN, EXACT, ROUND, TEXT, and ISFORMULA. Do not use XLOOKUP, FILTER, UNIQUE, IFS, LET, LAMBDA, RANK.EQ, or dynamic array formulas.

My inputs, one row per location for the same reporting period (typed numbers, never formulas):
location_id, location_name, bookings_total, attended_tests, unique_candidates, first_att_tests, first_att_passes, retake_tests, retake_passes
[PASTE YOUR ROWS OR ATTACH CSV HERE]

Rules about my data:
- Each candidate can pass only once in the period, so passes equal people who passed.
- Each candidate belongs to one location.
- Every attended test takes the same examiner time.

Required structure and guardrails:
1. Row checks: flag any row where an input cell holds a formula or is blank, a count isn't a typed whole number, bookings_total, attended_tests, unique_candidates, first_att_tests, or retake_tests is below 1, first_att_passes or retake_passes is below 0, attended_tests isn't first_att_tests + retake_tests, bookings_total is below attended_tests, passes exceed tests in either group, either group has zero tests, unique_candidates is below total passes or first_att_tests or above attended_tests, or unique_candidates isn't greater than first_att_passes. Flag duplicate IDs.
2. Per location: total passes; pass rate per booking, per attended test, and per candidate; and a mix-adjusted pass rate that weights each location's first-attempt and retake pass rates by the network-wide share of first attempts and retakes. Keep full precision.
3. Rank locations in descending order on raw passes, pass rate per attended test, pass rate per candidate, and mix-adjusted pass rate, using RANK with order 0. For each location, show its rank movement: the largest rank number minus the smallest rank number across those four, so the result is never negative.
4. Audit block: network totals, the network mix, the number of distinct #1 locations, and the largest rank move. Stop with a readable STOP message if any row fails, the table has fewer than two locations, any ID repeats, anything sits below the table, or any helper or audit cell is no longer a live formula (check each cell individually with ISFORMULA, never a range). Output RECONCILED or STOP.

Output:
- Generate a downloadable .xlsx file (or give exact cell-by-cell formulas if file export isn't available).
- Before handing it back, list each location's four ranks and the number of distinct #1 locations.

Treat the AI’s output as a starting draft, not a finished workbook. Once you open the file, run three of the tests above: repeat one ID, set one location’s retakes to 0, and paste one helper row back as values. Confirm each one stops the audit before you restore the table and rely on the rankings.

Three Quick Questions

Should I always mix-adjust location rates?

No. Mix-adjust when you compare performance across centers whose mix of first attempts and retakes differs, and only when every center has tests in both groups. For test-slot yield, use the pass rate per attended test. For staffing, use raw attended tests.

What happens when two centers tie?

RANK in descending order gives both centers the same rank and skips the next number, so the ranks read 1, 1, 3. The center below the tie is third, not second.

When should I divide passes by bookings?

Divide by bookings when the question is end-to-end conversion: of all bookings, what share ended in a pass? It counts bookings, not people, because one candidate can book more than once. Don’t use it to measure how well test slots are used. To track cancellations and no-shows separately, record a status for each booking.

What to Do Next

Write down the decision before you build a league table, then pick the measure that answers it. Before you compute any rate, confirm what one row in your table represents. For one network pass rate per attended test, divide total passes by total attended tests instead of averaging the location rates. Booking conversion and candidate success keep their own denominators: total bookings and total candidates. Why You Should Not Average Margin Percentages explains the difference. If your locations differ in how many days they were open rather than in their mix of work, compare them by trading days. For capacity questions in dollars, see how to calculate revenue per available space or hour. To practice choosing denominators and spotting rank flips yourself, try the EVD-04 interactive practice unit on CareerTalkLab.

Copy-Paste Formula Reference

Paste these 38 portable formulas into the League_Tables worksheet after importing the two CSVs into A1 and W1, as described in “How to Set Up the Worksheet.” Every formula uses classic functions supported by both Google Sheets and Excel for the web, including RANK, SUMPRODUCT, COUNTIF, EXACT, ROUND, TEXT, and ISFORMULA. Each ISFORMULA check points at a single cell, because Google Sheets checks only the first cell when you give it a range. All quotes are straight ASCII quotation marks.

Block 1: Row helpers (enter in row 2, fill down through row 7)

J2, row check:

=IF(OR(ISERROR(A2), ISERROR(B2), ISERROR(C2), ISERROR(D2), ISERROR(E2), ISERROR(F2), ISERROR(G2), ISERROR(H2), ISERROR(I2), ISFORMULA(A2), ISFORMULA(B2), ISFORMULA(C2), ISFORMULA(D2), ISFORMULA(E2), ISFORMULA(F2), ISFORMULA(G2), ISFORMULA(H2), ISFORMULA(I2), COUNTA(A2:I2)<9, NOT(ISTEXT(A2)), NOT(ISTEXT(B2)), NOT(ISNUMBER(C2)), NOT(ISNUMBER(D2)), NOT(ISNUMBER(E2)), NOT(ISNUMBER(F2)), NOT(ISNUMBER(G2)), NOT(ISNUMBER(H2)), NOT(ISNUMBER(I2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(J3)), FALSE)), "CHECK ROW", IF(OR(TRIM(SUBSTITUTE(A2, CHAR(160), " "))="", NOT(EXACT(A2, UPPER(TRIM(SUBSTITUTE(A2, CHAR(160), " "))))), TRIM(SUBSTITUTE(B2, CHAR(160), " "))="", NOT(EXACT(B2, TRIM(SUBSTITUTE(B2, CHAR(160), " ")))), NOT(ISERROR(FIND(" ", A2))), NOT(ISERROR(FIND(CHAR(10), A2&B2))), NOT(ISERROR(FIND(CHAR(13), A2&B2))), NOT(ISERROR(FIND("*", A2&B2))), NOT(ISERROR(FIND("?", A2&B2))), NOT(ISERROR(FIND("~", A2&B2))), LEN(A2)<6, LEN(A2)>8, NOT(EXACT(LEFT(A2, 4), "CTR-")), NOT(ISNUMBER(FIND(MID(A2, 5, 1), "0123456789"))), NOT(ISNUMBER(FIND(MID(A2, 6, 1), "0123456789"))), IF(LEN(A2)>=7, NOT(ISNUMBER(FIND(MID(A2, 7, 1), "0123456789"))), FALSE), IF(LEN(A2)=8, NOT(ISNUMBER(FIND(MID(A2, 8, 1), "0123456789"))), FALSE), C2<1, INT(C2)<>C2, D2<1, INT(D2)<>D2, E2<1, INT(E2)<>E2, F2<1, INT(F2)<>F2, G2<0, INT(G2)<>G2, H2<1, INT(H2)<>H2, I2<0, INT(I2)<>I2, D2<>F2+H2, C2<D2, G2>F2, I2>H2, E2<F2, E2<G2+I2, E2<=G2, E2>D2), "CHECK ROW", "OK"))

K2, center ID count:

=IF(OR(ISERROR(J2), NOT(ISFORMULA(J2)), NOT(EXACT(J2, "OK")), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(K3)), FALSE), COUNTIF($J$2:$J$7, "OK")<ROWS($A$2:$A$7)), "", IF(ISERROR(SUMPRODUCT(--(UPPER($A$2:$A$7)=UPPER(A2)))), "", SUMPRODUCT(--(UPPER($A$2:$A$7)=UPPER(A2)))))

L2, total passes:

=IF(OR(ISERROR(J2), ISERROR(K2), NOT(ISFORMULA(K2)), NOT(EXACT(J2, "OK")), NOT(ISNUMBER(K2)), K2<>1, IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(L3)), FALSE), ISERROR($X$2), $X$2>0, ISERROR($X$3), $X$3>0), "", G2+I2)

M2, pass rate per booking:

=IF(OR(ISERROR(L2), NOT(ISFORMULA(L2)), NOT(ISNUMBER(L2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(M3)), FALSE)), "", L2/C2)

N2, pass rate per attended test:

=IF(OR(ISERROR(M2), NOT(ISFORMULA(M2)), NOT(ISNUMBER(M2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(N3)), FALSE)), "", L2/D2)

O2, pass rate per candidate:

=IF(OR(ISERROR(N2), NOT(ISFORMULA(N2)), NOT(ISNUMBER(N2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(O3)), FALSE)), "", L2/E2)

P2, mix-adjusted pass rate:

=IF(OR(ISERROR(O2), NOT(ISFORMULA(O2)), NOT(ISNUMBER(O2)), ISERROR($X$6), NOT(ISNUMBER($X$6)), ISERROR($X$7), NOT(ISNUMBER($X$7)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(P3)), FALSE)), "", $X$6*(G2/F2)+$X$7*(I2/H2))

Q2, rank on raw passes:

=IF(OR(ISERROR(P2), NOT(ISFORMULA(P2)), NOT(ISNUMBER(P2)), COUNT($L$2:$L$7)<ROWS($A$2:$A$7), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(Q3)), FALSE)), "", IF(ISERROR(RANK(L2, $L$2:$L$7, 0)), "", RANK(L2, $L$2:$L$7, 0)))

R2, rank per attended test:

=IF(OR(ISERROR(Q2), NOT(ISFORMULA(Q2)), NOT(ISNUMBER(Q2)), COUNT($N$2:$N$7)<ROWS($A$2:$A$7), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(R3)), FALSE)), "", IF(ISERROR(RANK(N2, $N$2:$N$7, 0)), "", RANK(N2, $N$2:$N$7, 0)))

S2, rank per candidate:

=IF(OR(ISERROR(R2), NOT(ISFORMULA(R2)), NOT(ISNUMBER(R2)), COUNT($O$2:$O$7)<ROWS($A$2:$A$7), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(S3)), FALSE)), "", IF(ISERROR(RANK(O2, $O$2:$O$7, 0)), "", RANK(O2, $O$2:$O$7, 0)))

T2, rank on mix-adjusted rate:

=IF(OR(ISERROR(S2), NOT(ISFORMULA(S2)), NOT(ISNUMBER(S2)), COUNT($P$2:$P$7)<ROWS($A$2:$A$7), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(T3)), FALSE)), "", IF(ISERROR(RANK(P2, $P$2:$P$7, 0)), "", RANK(P2, $P$2:$P$7, 0)))

U2, biggest rank move:

=IF(OR(ISERROR(T2), NOT(ISFORMULA(T2)), NOT(ISNUMBER(T2)), IF(ROW(A2)<ROW($A$2)+ROWS($A$2:$A$7)-1, NOT(ISFORMULA(U3)), FALSE)), "", MAX(Q2:T2)-MIN(Q2:T2))
Block 2: Source audit (X2:X18, one cell at a time)

X2, invalid center rows:

=COUNTIF($J$2:$J$7, "<>OK")

X3, duplicate center IDs:

=IF(OR(ISERROR(X2), X2>0), 0, COUNTIF($K$2:$K$7, ">1"))

X4, entries below the tables:

=COUNTA($A:$U)-COUNTA($A$1:$U$7)+COUNTA($W$19:$X$100)+COUNTA($Z$19:$AA$100)

X5, total attended tests:

=IF(OR(ISERROR(X2), X2>0, ISERROR(X3), X3>0, ROWS($A$2:$A$7)<2), "CHECK INPUTS", SUM($D$2:$D$7))

X6, network first-attempt share:

=IF(OR(ISERROR(X5), NOT(ISNUMBER(X5)), X5<=0), "CHECK INPUTS", SUM($F$2:$F$7)/X5)

X7, network retake share:

=IF(OR(ISERROR(X5), NOT(ISNUMBER(X5)), X5<=0), "CHECK INPUTS", SUM($H$2:$H$7)/X5)

X8, total passes:

=IF(OR(ISERROR(X4), X4>0, ISERROR(X5), NOT(ISNUMBER(X5)), ISERROR(X16), X16>0), "CHECK INPUTS", SUM($L$2:$L$7))

X9, canceled and no-show bookings:

=IF(OR(ISERROR(X4), X4>0, ISERROR(X5), NOT(ISNUMBER(X5)), ISERROR(X16), X16>0), "CHECK INPUTS", SUM($C$2:$C$7)-X5)

X10, network pass rate per attended test:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", X8/X5)

X11, network pass rate per booking:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", X8/SUM($C$2:$C$7))

X12, network pass rate per candidate:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", X8/SUM($E$2:$E$7))

X13, biggest rank move in the table:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", MAX($U$2:$U$7))

X14, centers that move at least 2 places:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", COUNTIF($U$2:$U$7, ">=2"))

X15, distinct #1 centers:

=IF(OR(ISERROR(X8), NOT(ISNUMBER(X8))), "CHECK INPUTS", SUMPRODUCT(--(((($Q$2:$Q$7=1)+($R$2:$R$7=1)+($S$2:$S$7=1)+($T$2:$T$7=1))>0))))

X16, helper formula check:

=IF(OR(ISERROR(X2), X2>0, ISERROR(X3), X3>0, ISERROR(X4), X4>0), 0, IF(NOT(ISFORMULA($J$2)), 1, 0)+IF(NOT(ISFORMULA($K$2)), 1, 0)+IF(NOT(ISFORMULA($L$2)), 1, 0)+IF(NOT(ISFORMULA($M$2)), 1, 0)+IF(NOT(ISFORMULA($N$2)), 1, 0)+IF(NOT(ISFORMULA($O$2)), 1, 0)+IF(NOT(ISFORMULA($P$2)), 1, 0)+IF(NOT(ISFORMULA($Q$2)), 1, 0)+IF(NOT(ISFORMULA($R$2)), 1, 0)+IF(NOT(ISFORMULA($S$2)), 1, 0)+IF(NOT(ISFORMULA($T$2)), 1, 0)+IF(NOT(ISFORMULA($U$2)), 1, 0)+IF(COUNT($K$2:$K$7)<ROWS($A$2:$A$7), 1, 0)+IF(COUNT($L$2:$U$7)<10*ROWS($A$2:$A$7), 1, 0))

X17, source audit formula check:

=IF(NOT(ISFORMULA(X2)), 1, 0)+IF(NOT(ISFORMULA(X3)), 1, 0)+IF(NOT(ISFORMULA(X4)), 1, 0)+IF(NOT(ISFORMULA(X5)), 1, 0)+IF(NOT(ISFORMULA(X6)), 1, 0)+IF(NOT(ISFORMULA(X7)), 1, 0)+IF(NOT(ISFORMULA(X8)), 1, 0)+IF(NOT(ISFORMULA(X9)), 1, 0)+IF(NOT(ISFORMULA(X10)), 1, 0)+IF(NOT(ISFORMULA(X11)), 1, 0)+IF(NOT(ISFORMULA(X12)), 1, 0)+IF(NOT(ISFORMULA(X13)), 1, 0)+IF(NOT(ISFORMULA(X14)), 1, 0)+IF(NOT(ISFORMULA(X15)), 1, 0)+IF(NOT(ISFORMULA(X16)), 1, 0)

X18, source audit verdict:

=IF(OR(ISERROR(X17), NOT(ISFORMULA(X17)), X17>0), "STOP: INCOMPLETE OR STATIC FORMULA IN SOURCE AUDIT (X2:X17)", IF(OR(X2>0, COUNTBLANK($A$2:$I$7)>0), "STOP: INVALID OR BLANK CENTRE ROWS", IF(X3>0, "STOP: DUPLICATE CENTRE IDS IN SOURCE TABLE", IF(X4>0, "STOP: TRAILING ROWS BELOW SOURCE OR AUDIT TABLE (RESIZE RANGES)", IF(ROWS($A$2:$A$7)<2, "STOP: NEED AT LEAST 2 CENTRES FOR A LEAGUE TABLE", IF(X16>0, "STOP: INCOMPLETE OR STATIC FORMULA IN HELPER OR RANK COLUMNS (J:U)", "RECONCILED: " & ROWS($A$2:$A$7) & " CENTRES VERIFIED (" & TEXT(X5, "0") & " ATTENDED TESTS; " & TEXT(X6, "0.0%") & "/" & TEXT(X7, "0.0%") & " MIX; " & TEXT(X15, "0") & " DISTINCT #1 WINNERS; MAX RANK SHIFT " & TEXT(X13, "0") & ")"))))))
Block 3: Candidate audit (AA10:AA18, one cell at a time)

AA10, measure that fits the question:

=IF(OR(ISERROR(X18), NOT(ISFORMULA(X18)), LEFT(X18, 5)="STOP:", ISERROR(AA2), ISERROR(AA3), ISERROR(AA4), ISERROR(AA5), ISERROR(AA6), ISERROR(AA7), ISERROR(AA8), ISERROR(AA9), ISFORMULA(AA2), ISFORMULA(AA3), ISFORMULA(AA4), ISFORMULA(AA5), ISFORMULA(AA6), ISFORMULA(AA7), ISFORMULA(AA8), ISFORMULA(AA9), NOT(ISNUMBER(AA8)), NOT(ISNUMBER(AA9))), "CHECK INPUTS", IF(OR(INT(AA8)<>AA8, AA8<>0, INT(AA9)<>AA9, AA9<>0), "CHECK INPUTS", IF(IF(AND(ISTEXT(AA2), ISTEXT(AA3), ISTEXT(AA4), ISTEXT(AA5), ISTEXT(AA6), ISTEXT(AA7)), AND(EXACT(AA2, "NOT TESTED"), EXACT(AA3, "NOT TESTED"), EXACT(AA4, "NOT TESTED"), EXACT(AA5, "NOT TESTED"), EXACT(AA6, "NOT TESTED"), EXACT(AA7, "NOT TESTED")), FALSE), "NOT TESTED", IF(OR(NOT(ISTEXT(AA2)), NOT(ISTEXT(AA3)), NOT(ISTEXT(AA4)), NOT(ISNUMBER(AA5)), AA5<0, IF(ISNUMBER(AA6), OR(INT(AA6)<>AA6, AA6<1, AA6>ROWS($A$2:$A$7)), NOT(AND(ISTEXT(AA6), EXACT(AA6, "NOT IN TABLE")))), IF(ISNUMBER(AA7), OR(INT(AA7)<>AA7, AA7<1, AA7>ROWS($A$2:$A$7)), NOT(AND(ISTEXT(AA7), EXACT(AA7, "NOT IN TABLE"))))), "CHECK INPUTS", IF(EXACT(AA2, "CAPACITY_STAFFING"), "RAW_ATTENDED_TESTS", IF(EXACT(AA2, "TEST_SLOT_YIELD"), "PER_ATTENDED_TEST", IF(EXACT(AA2, "CANDIDATE_SUCCESS"), "PER_CANDIDATE", IF(EXACT(AA2, "FAIR_CENTRE_PERFORMANCE"), "MIX_ADJUSTED_RATE", "CHECK INPUTS"))))))))

AA11, top value on the claimed measure:

=IF(OR(ISERROR(AA10), EXACT(AA10, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA10, "NOT TESTED"), "NOT TESTED", IF(EXACT(AA3, "RAW_ATTENDED_TESTS"), MAX($D$2:$D$7), IF(EXACT(AA3, "RAW_PASS_COUNT"), MAX($L$2:$L$7), IF(EXACT(AA3, "PER_ATTENDED_TEST"), ROUND(MAX($N$2:$N$7), 4), IF(EXACT(AA3, "PER_CANDIDATE"), ROUND(MAX($O$2:$O$7), 4), IF(EXACT(AA3, "MIX_ADJUSTED_RATE"), ROUND(MAX($P$2:$P$7), 4), IF(EXACT(AA3, "PER_BOOKING_INCL_CANCELLED"), ROUND(MAX($M$2:$M$7), 4), "CHECK INPUTS"))))))))

AA12, claimed leader’s actual value:

=IF(OR(ISERROR(AA11), EXACT(AA11, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA11, "NOT TESTED"), "NOT TESTED", IF(OR(NOT(ISERROR(FIND("*", AA4))), NOT(ISERROR(FIND("?", AA4))), NOT(ISERROR(FIND("~", AA4))), NOT(EXACT(AA4, UPPER(TRIM(AA4)))), COUNTIF($A$2:$A$7, AA4)<>1), "CHECK INPUTS", IF(EXACT(AA3, "RAW_ATTENDED_TESTS"), SUMPRODUCT(--($A$2:$A$7=AA4), $D$2:$D$7), IF(EXACT(AA3, "RAW_PASS_COUNT"), SUMPRODUCT(--($A$2:$A$7=AA4), $L$2:$L$7), IF(EXACT(AA3, "PER_ATTENDED_TEST"), ROUND(SUMPRODUCT(--($A$2:$A$7=AA4), $N$2:$N$7), 4), IF(EXACT(AA3, "PER_CANDIDATE"), ROUND(SUMPRODUCT(--($A$2:$A$7=AA4), $O$2:$O$7), 4), IF(EXACT(AA3, "MIX_ADJUSTED_RATE"), ROUND(SUMPRODUCT(--($A$2:$A$7=AA4), $P$2:$P$7), 4), ROUND(SUMPRODUCT(--($A$2:$A$7=AA4), $M$2:$M$7), 4)))))))))

AA13, claimed leader’s actual rank:

=IF(OR(ISERROR(AA12), EXACT(AA12, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA12, "NOT TESTED"), "NOT TESTED", IF(EXACT(AA3, "RAW_ATTENDED_TESTS"), RANK(SUMPRODUCT(--($A$2:$A$7=AA4), $D$2:$D$7), $D$2:$D$7, 0), IF(EXACT(AA3, "RAW_PASS_COUNT"), SUMPRODUCT(--($A$2:$A$7=AA4), $Q$2:$Q$7), IF(EXACT(AA3, "PER_ATTENDED_TEST"), SUMPRODUCT(--($A$2:$A$7=AA4), $R$2:$R$7), IF(EXACT(AA3, "PER_CANDIDATE"), SUMPRODUCT(--($A$2:$A$7=AA4), $S$2:$S$7), IF(EXACT(AA3, "MIX_ADJUSTED_RATE"), SUMPRODUCT(--($A$2:$A$7=AA4), $T$2:$T$7), RANK(SUMPRODUCT(--($A$2:$A$7=AA4), $M$2:$M$7), $M$2:$M$7, 0))))))))

AA14, Northgate’s actual rank:

=IF(OR(ISERROR(AA12), EXACT(AA12, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA12, "NOT TESTED"), "NOT TESTED", IF(COUNTIF($A$2:$A$7, "CTR-01")<>1, "NOT IN TABLE", IF(EXACT(AA3, "RAW_ATTENDED_TESTS"), RANK(SUMPRODUCT(--($A$2:$A$7="CTR-01"), $D$2:$D$7), $D$2:$D$7, 0), IF(EXACT(AA3, "RAW_PASS_COUNT"), SUMPRODUCT(--($A$2:$A$7="CTR-01"), $Q$2:$Q$7), IF(EXACT(AA3, "PER_ATTENDED_TEST"), SUMPRODUCT(--($A$2:$A$7="CTR-01"), $R$2:$R$7), IF(EXACT(AA3, "PER_CANDIDATE"), SUMPRODUCT(--($A$2:$A$7="CTR-01"), $S$2:$S$7), IF(EXACT(AA3, "MIX_ADJUSTED_RATE"), SUMPRODUCT(--($A$2:$A$7="CTR-01"), $T$2:$T$7), RANK(SUMPRODUCT(--($A$2:$A$7="CTR-01"), $M$2:$M$7), $M$2:$M$7, 0)))))))))

AA15, Pinewood’s actual rank:

=IF(OR(ISERROR(AA12), EXACT(AA12, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA12, "NOT TESTED"), "NOT TESTED", IF(COUNTIF($A$2:$A$7, "CTR-06")<>1, "NOT IN TABLE", IF(EXACT(AA3, "RAW_ATTENDED_TESTS"), RANK(SUMPRODUCT(--($A$2:$A$7="CTR-06"), $D$2:$D$7), $D$2:$D$7, 0), IF(EXACT(AA3, "RAW_PASS_COUNT"), SUMPRODUCT(--($A$2:$A$7="CTR-06"), $Q$2:$Q$7), IF(EXACT(AA3, "PER_ATTENDED_TEST"), SUMPRODUCT(--($A$2:$A$7="CTR-06"), $R$2:$R$7), IF(EXACT(AA3, "PER_CANDIDATE"), SUMPRODUCT(--($A$2:$A$7="CTR-06"), $S$2:$S$7), IF(EXACT(AA3, "MIX_ADJUSTED_RATE"), SUMPRODUCT(--($A$2:$A$7="CTR-06"), $T$2:$T$7), RANK(SUMPRODUCT(--($A$2:$A$7="CTR-06"), $M$2:$M$7), $M$2:$M$7, 0)))))))))

AA16, mismatch count:

=IF(OR(ISERROR(AA13), EXACT(AA13, "CHECK INPUTS")), "CHECK INPUTS", IF(EXACT(AA13, "NOT TESTED"), "NOT TESTED", IF(AA13<>1, 1, 0)+IF(ROUND(AA5, 4)<>ROUND(AA12, 4), 1, 0)+IF(ISNUMBER(AA14), IF(ISNUMBER(AA6), IF(AA6=AA14, 0, 1), 1), IF(AND(ISTEXT(AA6), EXACT(AA6, "NOT IN TABLE")), 0, 1))+IF(ISNUMBER(AA15), IF(ISNUMBER(AA7), IF(AA7=AA15, 0, 1), 1), IF(AND(ISTEXT(AA7), EXACT(AA7, "NOT IN TABLE")), 0, 1))))

AA17, candidate audit formula check:

=IF(NOT(ISFORMULA(X18)), 1, 0)+IF(NOT(ISFORMULA(AA10)), 1, 0)+IF(NOT(ISFORMULA(AA11)), 1, 0)+IF(NOT(ISFORMULA(AA12)), 1, 0)+IF(NOT(ISFORMULA(AA13)), 1, 0)+IF(NOT(ISFORMULA(AA14)), 1, 0)+IF(NOT(ISFORMULA(AA15)), 1, 0)+IF(NOT(ISFORMULA(AA16)), 1, 0)

AA18, candidate audit verdict:

=IF(OR(ISERROR(X18), NOT(ISFORMULA(X18))), "STOP: INCOMPLETE OR STATIC FORMULA IN SOURCE AUDIT (X18)", IF(LEFT(X18, 5)="STOP:", X18, IF(OR(ISERROR(AA17), NOT(ISFORMULA(AA17)), AA17>0), "STOP: INCOMPLETE OR STATIC FORMULA IN CANDIDATE AUDIT (AA10:AA17)", IF(OR(ISERROR(AA2), ISERROR(AA3), ISERROR(AA4), ISERROR(AA5), ISERROR(AA6), ISERROR(AA7), ISERROR(AA8), ISERROR(AA9), ISFORMULA(AA2), ISFORMULA(AA3), ISFORMULA(AA4), ISFORMULA(AA5), ISFORMULA(AA6), ISFORMULA(AA7), ISFORMULA(AA8), ISFORMULA(AA9), NOT(ISNUMBER(AA8)), NOT(ISNUMBER(AA9))), "STOP: INVALID CANDIDATE GUARD OR FORMULA INPUTS", IF(OR(INT(AA8)<>AA8, AA8<>0, INT(AA9)<>AA9, AA9<>0), "STOP: INVALID CANDIDATE GUARD OR FORMULA INPUTS", IF(EXACT(AA10, "NOT TESTED"), "NOT TESTED: ENTER CANDIDATE LEAGUE-TABLE CLAIM", IF(OR(EXACT(AA10, "CHECK INPUTS"), EXACT(AA11, "CHECK INPUTS"), EXACT(AA12, "CHECK INPUTS")), "STOP: INVALID OR UNKNOWN CANDIDATE LEAGUE-TABLE INPUTS", IF(AA16>0, "STOP: CANDIDATE VALUE OR RANKS DO NOT MATCH SELECTED METHOD (" & TEXT(AA16, "0") & " MISMATCHES)", IF(EXACT(AA3, "PER_BOOKING_INCL_CANCELLED"), "STOP: BOOKING DENOMINATOR MISMATCH — BOOKINGS INCLUDE CANCELLED/NO-SHOWS OUTSIDE ATTENDED TESTS (" & TEXT(X9, "0") & " IN THIS TABLE; ANSWERS BOOKING-TO-PASS CONVERSION, NOT " & AA2 & "; USE " & AA10 & ")", IF(AND(EXACT(AA2, "CAPACITY_STAFFING"), EXACT(AA3, "RAW_PASS_COUNT")), "STOP: PASSES DO NOT MEASURE EXAMINER WORKLOAD — USE RAW_ATTENDED_TESTS FOR CAPACITY_STAFFING (EVERY ATTENDED TEST USES A SLOT; CTR-01: " & IF(ISNUMBER(AA14), TEXT(SUMPRODUCT(--($A$2:$A$7="CTR-01"), $D$2:$D$7), "0") & " ATTENDED TESTS", "NOT IN TABLE") & "; CTR-06: " & IF(ISNUMBER(AA15), TEXT(SUMPRODUCT(--($A$2:$A$7="CTR-06"), $D$2:$D$7), "0") & " ATTENDED TESTS", "NOT IN TABLE") & ")", IF(AND(EXACT(AA2, "CAPACITY_STAFFING"), NOT(EXACT(AA3, "RAW_ATTENDED_TESTS"))), "STOP: RATES DO NOT STAFF A BUILDING — USE RAW_ATTENDED_TESTS FOR CAPACITY_STAFFING (CTR-01: " & IF(ISNUMBER(AA14), TEXT(SUMPRODUCT(--($A$2:$A$7="CTR-01"), $D$2:$D$7), "0") & " ATTENDED TESTS", "NOT IN TABLE") & "; CTR-06: " & IF(ISNUMBER(AA15), TEXT(SUMPRODUCT(--($A$2:$A$7="CTR-06"), $D$2:$D$7), "0") & " ATTENDED TESTS", "NOT IN TABLE") & ")", IF(NOT(EXACT(AA3, AA10)), "STOP: MEASURE MISMATCH — " & AA3 & " DOES NOT ANSWER " & AA2 & " (SWITCH TO " & AA10 & "; CTR-01 RANK " & IF(ISNUMBER(AA14), TEXT(AA14, "0"), AA14) & " VS CTR-06 RANK " & IF(ISNUMBER(AA15), TEXT(AA15, "0"), AA15) & ")", "RECONCILED: " & AA3 & " MATCHES " & AA2 & " (TOP=" & AA4 & "; CTR-01 RANK " & IF(ISNUMBER(AA14), TEXT(AA14, "0"), AA14) & "; CTR-06 RANK " & IF(ISNUMBER(AA15), TEXT(AA15, "0"), AA15) & ")"))))))))))))

Continue Reading

Email Notifications

Get notified when new Practical Analytics articles are published.

Field notes on table grain, trustworthy KPIs, and AI-assisted data workflows for small and medium businesses. Sent only when a new guide goes live.

No spam or automated drip funnels. Unsubscribe anytime.