8.16 Checkbox to Show/Hide a Series
Steps in Excel
- Turn on the Developer tab (Module 12.1): File › Options › Customize Ribbon › tick Developer.
- Developer › Controls › Insert › Form Controls › Check Box › draw it › right-click › Edit Text "Show Nashik".
- Right-click › Format Control… › Control tab › Cell link
$J$1› OK. Ticking puts TRUE/FALSE in J1. - Helper column for the chart series:
=IF($J$1, ChartData!C2, NA())copied down.#N/Ais not plotted in line/scatter charts, so the series disappears when unticked. - Build the line chart on the helper columns. Repeat for other series.
Newer Microsoft 365 builds also have in-cell checkboxes (Insert › Checkbox – may vary by version); the cell itself holds TRUE/FALSE, so =IF(J1, …) works the same way.
Ravindra Bagale's Tip
If you fill a series you want to hide with "" (blank text) or 0, the line drops to zero – many students' charts look strange. To remove a point from a line/scatter chart, use NA(). Keep the checkbox's cell link somewhere out of sight, and give that cell a name (ShowNashik).
Ravindra Bagale's Tip – मराठी
Hide करायची series "" (blank text) किंवा 0 ने भरली तर line zero वर पडते – बऱ्याच students चा chart विचित्र दिसतो. Line/scatter मधून point काढायचा असेल तर NA() वापरा. Checkbox ची cell link न दिसणाऱ्या जागी ठेवा, आणि त्या cell ला नाव द्या (ShowNashik).
Ravindra Bagale's Tip – हिंदी
जिस series को hide करना है उसे "" (blank text) या 0 से भरा तो line zero पर गिर जाती है – बहुत से students का chart अजीब दिखता है. Line/scatter से point हटाना हो तो NA() इस्तेमाल करो. Checkbox की cell link ऐसी जगह रखो जो दिखे नहीं, और उस cell को नाम दो (ShowNashik).
Thodkyaat sangaycha tar (quick recap)
Aadhi prashna, mag chart: compare = bar/column, trend = line, share = pie (≤5), relationship = scatter, distribution = histogram/box, bridge = waterfall, stages = funnel, hierarchy = treemap/sunburst, geography = filled map; title madhe sandesh; dynamic charts sathi Table, helper range + INDEX/XLOOKUP, OFFSET/INDEX names aani checkbox + NA(). Aata pudhe jaauya – dynamic arrays!
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 checkbox to show hide a series on a blank sheet for QuickCart Delivery.
Hint: Use only the steps on this page. Keep numbers numeric.
2. Change one input for Sana Sheikh 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 James O'Neill.
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 checkbox to show hide a series to a 5-row made-up QuickCart Delivery 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 checkbox to show hide a series.
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 QuickCartDe_practice.xlsx.
Hint: Use a clear file name for class.
Loading practice tasks...
- Total billable hours (Easy): Add up Billable hours in D2:D11.
- Average rate (Easy): Average of the Rate per hour (₹) column, rounded to 2 decimals.
- Rows in Cloud (Easy): How many rows have Category/group "Cloud"? (column B)
- Largest billable hours (Easy): The largest value in D2:D11.
- Billable hours for Cloud (Medium): Total of the Billable hours column where Practice is "Cloud".
- Cloud in Delhi (Medium): Total of the Billable hours column where Practice is "Cloud" and City is "Delhi".
- Best in Cloud (Medium): Largest E2:E11 value where B is "Cloud".
- Value of row 2 (Medium): Multiply the first-row Billable hours by the first-row Rate per hour (₹).
- Look up Hannah Lee (Medium): The Billable hours for "Hannah Lee" (use a lookup on column A).
- Total value (Hard): Sum of D times E for all rows.
- Share of Cloud (Hard): Share of D2:D11 that is "Cloud", rounded to 3 decimals.
- How many rows are above the average "Rate per hour (₹)" (Hard): Count the rows where "Rate per hour (₹)" is above the average "Rate per hour (₹)".
- Above average? (Hard): "Above" if E2 is above the average of E2:E11, else "Below".
Quick revision cards
Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.


