Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1=COUNTA(A2:A9)=COUNTA(Clean!A2:A9) | ACompares the number of records in the source with the number in the cleaned data to check none were lost or added | |
| 2=SUM(B2:B9)-SUM(Summary!B2:B9) | BStage: Cleaned | Check: count | Expected: 8 | Actual: 8 | |
| 3Tracing a value to the chart: pick one value in the source data and find the same value in the chart's data table | CThe record counts do not match, so 5 records are missing and the check has failed. It should not be marked as passed. | |
| 4Documenting the checks: recording each stage, what was checked, the expected result and the actual result | D=XLOOKUP("Mia",A2:A9,B2:B9) | |
| 5Only check the total on the final chart and skip the earlier stages | ESubtracts the summary total from the source total; a result of 0 shows the total is unchanged between stages | |
| 6Source has 120 records, cleaned data has 115 records, so mark it as passed | FEnd-to-end checking must happen at every stage. Checking only the end cannot show where an error was introduced. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
End-to-end integrity checking — Following data through every stage, from collection to chart, and confirming at each stage that it is unchanged and correct, for example by matching record counts and totals.=COUNTA(Raw!A:A)=COUNTA(Clean!A:A)=IF(SUM(Data!C:C)=SUM(Viz!B:B),"OK","Fix")=XLOOKUP(A2,Data!A:A,Data!C:C)log.append("Totals match: 5210 = 5210")if len(raw) != len(chart_data):
print("Records lost")