Feeding a chart from a selected cell with INDEX and MATCH
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.
Understanding Feeding a chart from a selected cell with INDEX and MATCH in ACARA Digital Technologies Years 9–10
What it does: XLOOKUP finds A13 in A2:A10 and returns the matching row from B2:M10, so it does the job of INDEX and MATCH in one function. The chart plots the helper range B13:M13, which holds the INDEX result. When the selector changes, the helper cells change and the chart updates. MATCH takes the value to find first (A13), then the list to search (A2:A10). The 0 means exact match. A column number of 0 makes INDEX return every column in that row. This gives the chart a full row of values to plot. INDEX searches the data block B2:M10. MATCH searches the item names in A2:A10 for the selector value.
Common mistakes: The last MATCH argument must be 0 for an exact match. Type 1 does an approximate match on sorted data and can return the wrong row for names. It should be =MATCH(A13,A2:A10,0). The column number 1 returns only one value from column B. Using 0 as the column number returns the whole row for the chart. It should be =INDEX(B2:M10,B13,0).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 413–424) and word search (Modules 413–451).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
=INDEX(B2:M10,MATCH(A13,A2:A10,0),0)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →