8.14 Drop-down Driven Dynamic Chart (INDEX / XLOOKUP)
Drop-down driven dynamic chart with example — in 30 seconds
What: A helper row picks one city's numbers with XLOOKUP, based on a drop-down. The chart reads only the helper row.
Why: One chart serves every city. The manager picks Nashik and the chart redraws, with no copies of the chart.
Tiny example: Pick Nashik in B1. The helper row fills with Nashik's six months: 1.8, 2.0, 2.3, 3.1, 2.6, 2.2.
Drop-down driven dynamic chart with example — 30 सेकंदात
काय: Helper row drop-down वरून XLOOKUP ने एका शहराचे numbers उचलते. Chart फक्त helper row वाचतो.
का: एकच chart सगळ्या शहरांसाठी चालतो. Manager Nashik निवडतो आणि chart परत काढला जातो, chart च्या copies नाहीत.
छोटं उदाहरण: B1 मध्ये Nashik निवडा. Helper row मध्ये Nashik चे सहा महिने भरतात: 1.8, 2.0, 2.3, 3.1, 2.6, 2.2.
Drop-down driven dynamic chart with example — 30 सेकंड में
क्या: Helper row drop-down के आधार पर XLOOKUP से एक शहर के numbers उठाती है. Chart सिर्फ़ helper row पढ़ता है.
क्यों: एक ही chart सारे शहरों के लिए चलता है. Manager Nashik चुनता है और chart फिर से बन जाता है, chart की copies नहीं.
छोटा उदाहरण: B1 में Nashik चुनें. Helper row में Nashik के छह महीने भर जाते हैं: 1.8, 2.0, 2.3, 3.1, 2.6, 2.2.
First look at the data (before → after):
Expected result — Helper rows on the Dashboard when B1 = Nashik
| Row | Aug | Sep | Oct | Nov | Dec | Jan |
|---|---|---|---|---|---|---|
| 3: Month | Aug | Sep | Oct | Nov | Dec | Jan |
| 4: Sales | 1.8 | 2.0 | 2.3 | 3.1 | 2.6 | 2.2 |
About this data: Teaching sample for a fictional shop “CityBasket Retail”. Figures and names (e.g. Meera Joshi) are made up for this lesson on drop down driven dynamic chart index xlookup.
Before table and formula as text
Before — ChartData sheet (₹ lakh, fictional)
| A: Month | B: Pune | C: Nashik | D: Nagpur |
|---|---|---|---|
| Aug | 3.1 | 1.8 | 1.6 |
| Sep | 3.4 | 2.0 | 1.7 |
| Oct | 4.2 | 2.3 | 2.1 |
| Nov | 5.6 | 3.1 | 2.9 |
| Dec | 4.8 | 2.6 | 2.4 |
| Jan | 4.1 | 2.2 | 2.0 |
About this data: Demo table only — not real customer or company data. Built to practise drop down driven dynamic chart index xlookup.
Formula / click path
Dashboard!B1: drop-down (Data Validation › List: Pune,Nashik,Nagpur)
B4: =XLOOKUP(B$3, ChartData!$A$2:$A$7, XLOOKUP($B$1, ChartData!$B$1:$D$1, ChartData!$B$2:$D$7))
Chart title cell: =B1&" – monthly sales (₹ lakh)"
Do it step by step:
- On the Dashboard sheet, make a drop-down in B1 with the list Pune, Nashik, Nagpur.
- Type the six months across B3:G3.
- In B4, type the formula shown above and copy it across to G4.
- Select B3:G4 and insert a Line chart.
- Change B1 to Nagpur. The line redraws.
स्टेप बाय स्टेप करून बघा:
- Dashboard sheet वर B1 मध्ये Pune, Nashik, Nagpur ची drop-down बनवा.
- B3:G3 मध्ये सहा महिने आडवे type करा.
- B4 मध्ये वर दाखवलेला formula type करा आणि G4 पर्यंत आडवा copy करा.
- B3:G4 select करा आणि Line chart insert करा.
- B1 ला Nagpur करा. Line परत काढली जाते.
स्टेप बाय स्टेप करके देखें:
- Dashboard sheet पर B1 में Pune, Nashik, Nagpur की drop-down बनाएँ.
- B3:G3 में छह महीने आड़े type करें.
- B4 में ऊपर दिखाया formula type करें और G4 तक आड़ा copy करें.
- B3:G4 select करें और Line chart insert करें.
- B1 को Nagpur करें. Line फिर से बन जाती है.
The user picks a city from a drop-down; one chart redraws for that city.
Steps in Excel
- In
Dash!B1create a drop-down (Data Validation › List) with the city namesPune,Nashik,Nagpur. -
Build a helper row: months in
Dash!B3:G3(Jul…Dec). InDash!B4:=INDEX(ChartData!$B$2:$D$7, MATCH(B$3, ChartData!$A$2:$A$7, 0), MATCH($B$1, ChartData!$B$1:$D$1, 0))copy across to G4. (Microsoft 365 alternative in B4:
=XLOOKUP(B$3, ChartData!$A$2:$A$7, XLOOKUP($B$1, ChartData!$B$1:$D$1, ChartData!$B$2:$D$7)).) 3. Chart title cell:=B1&" – monthly sales (₹ lakh)". 4. Select B3:G4 › Insert › Charts › Clustered Column. 5. Link the chart title to the title cell: click the title › in the formula bar type=› click the title cell › Enter. 6. Change the drop-down to Nagpur – the chart and its title change.
Ravindra Bagale's Tip
In a dynamic chart, many students build the chart directly on the big table and then try to change the "series" – it becomes a mess. The rule: always build the chart on a small helper range, and fill the helper range with formulas (INDEX/XLOOKUP) based on the drop-down. Link the chart title to a cell too, otherwise the city changes but the title stays "Pune".
Ravindra Bagale's Tip – मराठी
Dynamic chart मध्ये बरेच students chart थेट मोठ्या table वर बनवतात आणि मग "series" बदलायला जातात – गोंधळ होतो. नियम: chart नेहमी छोट्या helper range वर बनवा, आणि helper range formulas ने (INDEX/XLOOKUP) drop-down प्रमाणे भरा. Chart title पण cell ला link करा, नाहीतर city बदलते पण title "Pune" च राहतो.
Ravindra Bagale's Tip – हिंदी
Dynamic chart में बहुत से students chart सीधे बड़ी table पर बनाते हैं और फिर "series" बदलने लगते हैं – गड़बड़ हो जाती है. नियम: chart हमेशा छोटी helper range पर बनाओ, और helper range को formulas (INDEX/XLOOKUP) से drop-down के हिसाब से भरो. Chart title को भी cell से link करो, वरना city बदल जाती है पर title "Pune" ही रहता है.
Practice tasks (10+)
Try these on a blank sheet. Open a hint only if you are stuck. No quiz — just practice.
1. Rebuild the smallest example of drop down driven dynamic chart index xlookup on a blank sheet for BrightLedger Finance.
Hint: Use only the steps on this page. Keep numbers numeric.
2. Change one input for Vikram Rao and confirm the result updates.
Hint: If the result is stuck, check absolute vs relative references.
3. Repeat the same steps with a £ or € value for Yuki Tanaka.
Hint: Formatting must not break SUM.
4. Write the result meaning in one plain sentence next to the cell.
Hint: Imagine explaining it to a new joiners.
5. Add a second row and fill the method down.
Hint: Double-click the fill handle if the pattern is consistent.
6. Break the example on purpose, then fix it using this lesson.
Hint: Common break: text instead of a number.
7. Apply drop down driven dynamic chart index xlookup to a 5-row made-up BrightLedger Finance table.
Hint: Keep column headers clear.
8. Check your answer with a simple total or COUNT.
Hint: A wrong total usually means a format or key mismatch.
9. Swap ₹ and $ on one column and re-check totals.
Hint: Stored values stay the same; only the display changes.
10. List two mistakes beginners make with drop down driven dynamic chart index xlookup.
Hint: Look back at the tip box on this page.
11. Teach the steps out loud in under one minute.
Hint: Why → What → How.
12. Save the sheet as BrightLedger_practice.xlsx.
Hint: Use a clear file name for class.
Loading practice tasks...
- Total parcels (Easy): Add up the "Parcels" column.
- Average cost (Easy): Average of the Cost (£) column, rounded to 2 decimals.
- Rows in Royal Mail (Easy): How many rows have Category/group "Royal Mail"? (the "Carrier" column)
- Largest parcels (Easy): The largest value in the "Parcels" column.
- Parcels for Royal Mail (Medium): Total of the Parcels column where Carrier is "Royal Mail".
- Royal Mail in Manchester (Medium): Total of the Parcels column where Carrier is "Royal Mail" and City is "Manchester".
- Best in Royal Mail (Medium): Largest value in the "Cost (£)" column where "Carrier" is "Royal Mail".
- Value of row 2 (Medium): Multiply the first-row Parcels by the first-row Cost (£).
- Look up Priya Kulkarni (Medium): The Parcels for "Priya Kulkarni" (use a lookup on the "Name" column).
- Total value (Hard): Sum of "Parcels" times "Cost (£)" for all rows.
- Share of Royal Mail (Hard): Share of the "Parcels" column that is "Royal Mail", rounded to 3 decimals.
- Total "Parcels" for Evri (Hard): Add up the "Parcels" column for the rows where "Carrier" is "Evri".
- Above average? (Hard): "Above" if the "Cost (£)" value in the first row is above the average of the "Cost (£)" column, else "Below".
Quick revision cards
Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.


