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=ISBLANK(B2) | AISBLANK is meant to test one cell. Giving it a range does not return a single count of empty cells. Use COUNTBLANK(B2:B9) to count blanks in a range. | |
| 2=COUNTBLANK(B2:B9) | B=IF(ISBLANK(C2),"Missing","OK") | |
| 3Flag a missing value by showing the word Missing when cell C2 is empty | CThe results are the wrong way round. ISBLANK is TRUE when the cell is empty, so the TRUE result should be Missing and the FALSE result should be OK. | |
| 4Check that every cell in a range has been filled in by testing that the count of empty cells is zero | DCounts how many cells in B2:B9 are empty | |
| 5=ISBLANK(B2:B9) | EReturns TRUE if cell B2 is empty and FALSE if it contains data | |
| 6=IF(ISBLANK(B2),"OK","Missing") | F=COUNTBLANK(B2:B9)=0 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
ISBLANK — A spreadsheet function that checks a cell. It returns TRUE if the cell is empty and FALSE if it holds data, so it works as an existence check. COUNTBLANK counts empty cells in a range.=ISBLANK(B2)=COUNTBLANK(B2:B9)=IF(ISBLANK(C2),"Missing","OK")=NOT(ISBLANK(B2))=IF(COUNTBLANK(B2:D2)>0,"Incomplete","OK")