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=COUNTIF($A$2:$A$100,A2)>1 | AShows the word Duplicate for repeated values and OK for values that appear only once | |
| 2=IF(COUNTIF($A$2:$A$100,A2)>1,"Duplicate","OK") | BThe range is not locked with $, so when the formula is copied down the range slides and misses the rows above. Use $A$2:$A$100. | |
| 3A helper column holds a formula for every row that flags whether that row's value is repeated | CThe test is >0, but every value counts itself at least once, so every row gives TRUE. It must be >1 to find repeats. | |
| 4The range is locked with $ so it stays the same when the formula is copied down, while the A2 part changes for each row | DGives TRUE when the value in A2 appears more than once in column A, so it is a duplicate | |
| 5=COUNTIF(A2:A100,A2)>1 | E=COUNTIF($A$2:$A$100,A2)>1 | |
| 6=COUNTIF($A$2:$A$100,A2)>0 | F$A$2:$A$100 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=COUNTIF($A$2:$A$100,A2)>1 — Gives TRUE when the value in A2 appears more than once in column A. Put it in a helper column to flag duplicate rows, then filter for TRUE.=COUNTIF($A$2:$A$100,A2)>1=COUNTIF($A$2:$A$100,A2)>1=COUNTIF($A$2:$A$100,A2)>1=IF(COUNTIF($A$2:$A$100,A2)>1,"Dup","OK")=COUNTIF($A$2:$A$100,A2)>1