
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
Create an interactive chart with series-selection checkbox in Excel
Most of the time, we will insert a chart in order to better present the data, and sometimes, we will use a chart that allows for more than one series option. In this particular scenario, you could wish to display the series by ticking the corresponding checkboxes.
Interactive Chart with Series-Selection
Suppose you have access to the financial data for a corporation called My Company Ltd., and you are interested in determining how the company's revenue has changed over the course of the last several quarters. At the same time, you should also evaluate the development in relation to the years that came before.
Step 1
Collect the quarterly results from 2020 to 2022 and organise them.
Step 2
For the creation of the checkbox, choose the Developer tab, then go to Insert, then Form Controls, and finally select the checkbox.
Step 3
You may enter the check box into the worksheet by clicking anywhere in the worksheet.
Then, give the first checkbox a name that begins with "2020" by rightclicking on it, selecting "Edit Text" from the context menu, and making the necessary changes (the first series name you will use in chart). It is necessary to repeat this step in order to alter the label of either checkbox 2 or checkbox 3.
Step 4
Right-click on the check box and choose Format Control,
Then pick Unchecked in the Value section, set a link to an empty cell, and then click the OK button. The check box will be formatted. And repeat it for the other checkbox.
If the checkbox is ticked, return the value TRUE; otherwise, return the value FALSE. This is a must, so please verify it.
Step 5
Make a copy of the raw data for the chart beginning at A1 and ending at E4 and paste it somewhere else.
Step 6
=IF($F$4,B2,NA())
Erase all of the data, and then make use of the formula that is below −
Here,
- $F$4 − Indicates whether the checkbox's value is TRUE or FALSE.
- B2 − Represents the actual value.
Verify that if you choose the particular checkbox, then the data for this year will be shown, and if not, # N/A will appear in its place.
Step 7
Now choose the data range that you pasted, but leave off the sources data.
After selecting all of the data, go to the Insert menu, then pick Charts, then Column, then Clustered Column. This will put a column chart into the document, and each quarter will have three column bars.
Step 8
That brings us to the end of the discussion. You already have a dynamic chart prepared.
Now, if you uncheck the checkbox for a year, the data will be removed from the chart. However, if you check the box again, the data will be reinstated.
- Related Articles
- JavaFX example to create area chart with multiple series
- How to Add Series Line in Chart in Excel?
- How to Add a Series to a Chart in Excel?
- How to create thermometer goal chart in Excel?
- Python - Plotting an Excel chart with Gradient fills using XlsxWriter module
- Python - Plotting an Excel chart with pattern fills in column using XlsxWriter module
- How to add a note in an Excel chart?
- How to add minor gridlines in an Excel chart?
- How to change X axis in an Excel chart?
- How to Copy Chart with Text Boxes in Excel?
- JavaFX line chart example with multiple series (lines)
- How to create a listView with a checkBox in Kotlin?
- How to bold text in checkbox in Excel?
- How to add drop lines in an Excel line chart?
- How to add moving average line in an Excel chart?
