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(OR(B2<0,B2>100),"Check","OK") | A=IF(OR(B2<0,B2>100),"Check","OK") | |
| 2=IF(OR(C2<0,C2>100),"Check","OK") | BShows Check if the mark in B2 is below 0 or above 100, otherwise shows OK | |
| 3OR flags a value that fails either the minimum test or the maximum test, so one true test is enough | CAND needs both tests to be true, but no value is below 0 and above 100 at the same time. Every row shows OK. Use OR instead. | |
| 4To list only the problem rows, filter the flag column for the word Check | DFilter column E where the value = "Check" | |
| 5=IF(AND(B2<0,B2>100),"Check","OK") | EThe OR bracket is never closed after B2>100, so Check and OK become extra OR tests. Close OR with ) before the comma. | |
| 6=IF(OR(B2<0,B2>100,"Check","OK") | FFlags an English mark in C2 that is out of range, and shows OK for a valid one |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=IF(OR(B2<0,B2>100),"Check","OK") — Shows Check if B2 is below 0 or above 100, otherwise OK. OR needs just one true test, so it catches both ends. AND would never work because no value is both below 0 and above 100.=IF(OR(B2<0,B2>100),"Check","OK")=IF(OR(B2<0,B2>100),"Check","OK")=IF(OR(B2<0,B2>100),"Check","OK")=IF(OR(B2<0,B2>100),"Check","OK")=IF(OR(B2<0,B2>100),"Check","OK")