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=MATCH(A13,A2:A10,0) | AChart data range: B13:M13 | |
| 2=INDEX(B2:M10,MATCH(A13,A2:A10,0),0) | BThe match type is 1, which expects sorted data and may return a wrong row. It should be 0 for an exact match. | |
| 3Use XLOOKUP as an alternative that returns the whole row of values for the selector item | C=XLOOKUP(A13,A2:A10,B2:M10) | |
| 4Point the chart at the helper range that holds the selected row, not at the full table | DA13 holds the item name, not a row number. INDEX needs MATCH(A13,A2:A10,0) to find the row number. | |
| 5=MATCH(A13,A2:A10,1) | EFinds which row of the list holds the item chosen in the selector cell A13. The 0 means exact match. | |
| 6=INDEX(B2:M10,A13,0) | FReturns the whole row of data for the selected item so a chart can plot it from a helper range. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
=INDEX(B2:M10,MATCH(A13,A2:A10,0),0) — MATCH finds the row of the item chosen in the selector cell A13. INDEX returns that whole row into a helper range, and the chart plots the helper range, so it updates when the choice changes.=INDEX(B2:M10,MATCH(A13,A2:A10,0),0)=INDEX(B2:M10,MATCH(A13,A2:A10,0),0)=INDEX(B2:M10,MATCH(A13,A2:A10,0),0)=INDEX(B2:M10,MATCH(A13,A2:A10,0),0)=XLOOKUP(A13,A2:A10,B2:M10)