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=IF(ISBLANK(A2),"Missing","OK") | AA presence check: tests that the cell is not left empty | |
| 2=IF(AND(B2>=0,B2<=100),"OK","Error") | B=IF(ISNUMBER(D2),"OK","Error") | |
| 3A length check tests that text has the right number of characters, such as a 4-digit postcode | C=IF(LEN(C2)=4,"OK","Error") | |
| 4A type check tests that an entry is the right kind of data, such as a number rather than text | DA range check: tests that a number is between 0 and 100 | |
| 5Range check on Age: allow only the whole numbers 0 and 120 | EA range check allows every value between a lowest and a highest limit, not just the two end values. Age should be allowed from 0 to 120 inclusive. | |
| 6List check on Year level: use a presence check to accept only 9 or 10 | FA presence check only tests that something was entered. To accept only 9 or 10, you need a list check. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
validation check — A test that an entry is sensible. Types include presence, data type, range, length, format and list. Each one tests a different property of the entry.=NOT(ISBLANK(A2))=AND(B2>=0,B2<=100)=ISNUMBER(C2)=AND(LEN(D2)=10,LEFT(D2,2)="04")=COUNTIF(G2:G5,E2)>0