Excel Interactive Chart ( Table of Contents)
Introduction to Interactive Chart in Excel
Visualizations in graphical form tell the story better than any other form. But an interactive chart is even better. The interactive chart makes visualization better and user-friendly. When a user clicks on a value, then the result is shown. For example, if the chart is showing “Sales” on the chart and a user wants to see the “Profit” then by clicking on the “Profit” shows the “Profit” chart accordingly. In this way, the interactive chart works. Charts can be filled with different colors for eye-catching. Every organization needs this chart and a data analyst works on such charts to make it more interactive and visually friendly. This type of chart is mostly used in finance models where a business needs to understand their loss and profits. This type of chart can be plotted in many visualization software including MS Excel. Charts in Excel is comparatively easier.
Methods to Build an Interactive Chart
Let’s discuss some methods of building an Interactive chart in excel.
- Plotting a chart needs a tabular data. Data is mostly vertically by default. We can convert it into a horizontal form as shown below. Below is the table.
- The table can be copied and pasted in transpose form as shown below.
The data is in the horizontal form now. Below the same, we can create a similar template with sales values as blank.
- Now, we can insert a scrollbar by going to Developer options >
We’ll have to draw the scrollbar in this way.
- The next step is to right-click on the scrollbar and select “Format options” as shown below.
Then we’ll have to choose “Control” and the window will come up then.
- The “Maximum value” to be set at 12 as we have 12 months in the table. Leave the “Current and Minimum value” as it is as 0. “Increment change” should remain 1 as when we click, it should change by 1. Next, the “Page change” should be set to 0. Cell Link is A9 is for us. After all, is set, we can press “Ok”.
- The scrollbar is ready now. When we click the forward button number of times it will increase by the same number of times and the result can be seen on cell A9 as shown below.
Similarly, if we press the backward button, we can see that it reduces by 1 and the result is seen in cell A9 accordingly.
- Now in cell B5, we can apply the formula as shown below.
The formula is saying that A9 value increases or decreases by 1 when we click on the scrollbar. So, we’ll have a value from cell B2 or else it will show an error as “#N/A”. The first month is January, so it is written as “>=1”. Similarly, for February, the cell value will be C2 and the condition will be $A$9>=2 and the rest will be the same. In this way, all the month’s sales value can be entered. For convenience, we can drag the cursor till the last month to get the values as well.
- Now, we can plot a column chart for the table. We’ll first select the table and then go to Insert > Column chart as shown below.
The column chart is ready as shown below.
- We’ll now select the points and do a right-click and go to “Format data series” as shown below.
Now we have to go “Fill” and then select “Vary colors by point”.
Finally, the chart is a colorful one now.
- Now when we scroll the scrollbar, the value and chart will change as shown just below.
If we want the data for 7 months, it will show as above. For convenience, we can hide the original table i.e the first two rows. This is one of the methods for interactive charts.
- This is another way to pot an interactive chart. Let us suppose, we have a region-wise sales data as shown below.
- Now we can simply create a drop-down list for the same by going into developer options as we applied for the scrollbar above.
- Now we can create a duplicate table without numbers just below the drop-down list.
- Now, we can apply the formula on cell B10 as shown below. East has been selected in the drop-down. So the formula says $A$7=A10.
The result is now shown below.
In this way, we can enter all the regional sales in the table.
As we have selected the “East” region from the drop-down menu, it is showing the results for the “East” region only.
- For this chart, we can create a line chart by going to Insert > Line & Area chart and select the first chart.
Now, the chart is created as shown below.
This chart is showing only the “East” region’s data because we have selected “East” from the drop-down menu.
- Similarly, if we select “North” from the drop-down menu, the sales amount of the “North” region will be shown in the chart as shown below.
These are a few ways in which we can plot interactive charts. There are other ways too to plot the same.
Things to Remember
- Advance Excel skills are pre-requisite.
- Data restructuring and form controls are needed for interactive charts.
- We can make use of pivots and slicers for interactive charts as well.
This is a guide to Interactive Chart in Excel. Here we discuss How to create Interactive Chart in Excel along with practical examples and downloadable excel template. You can also go through our other suggested articles –