How to Create a Chart Slider in Excel – 2 Methods

 

This is the sample dataset.

Dataset to Create Chart Slider in Excel


Method 1. Insert a Scroll Bar to Create a Chart Slider

Steps:

  • Select the data. Here, B4:D9.
  • Go to the Insert tab.
  • In Charts, select Insert Line or Area Chart.
  • Choose Line with Markers.

Make Chart in Excel

  • The following chart is displayed.

  • Go to the Developer tab.
  • In Insert >>  choose Scroll Bar in Form Controls.

Insert Scroll Bar to Make Chart Slider in Excel

  • Drag the mouse pointer.

  • You will see the scroll bar.

Inserted Scroll Bar for Chart Slider in Excel

Link the Sales and Profit values with a blank cell: F5.

  • Link the cells as shown below.

  • You can also link the cells as shown below:

  • Right-click the scroll bar.
  • In the Context Menu, choose Format Control.

In Format Control.

  • Go to the Control menu.
  • Select F5 in Cell link.
  • Enter the Minimum value, Maximum value, Increment change.
  • Check 3-D shading.
  • Click OK.

Cell Linking for Making Chart Slider in Excel

  • If you click the scroll bar, the value of F5 will update along with the values of Sales and Profit.

  • The scroll bar was changed: the value of F5 >> the values of Sales and Profit >> the chart is updated.

Creating Chart Slider in Excel

  • Drag the chart to hide the linked cell.

  • A GIF of the chart slider was added.

Read More: How to Use Form Controls in Excel


Method 2 – Use a Spin Button to Create a Chart Slider

Steps:

  • Create the chart.

Link the Sales and Profit values with a blank cell: F5.

  • Link the cells as shown below.

Linking Up Cells to Make Chart Slider in Excel

  • You can also link the cells as shown below.

  • Use a formula to link column C to F5.
  • In the formula, the Sales and Profit values become zero because the F5 contains 0 as cell value.

  • Go to the Developer tab >> Insert >> choose Spin Button in Form Controls.

Insert Spin Button to Create Chart Slider in Excel

  • Drag the mouse pointer.
  • You will see the spin button.

  • Right-click the spin button.
  • In the Context Menu, choose Format Control.

In Format Control:

  • Enter the Minimum value, Maximum value, Increment change.
  • Select F5 in Cell link.
  • Check 3-D shading.
  • Click OK.

  • If you click the spin button, the value of F5 cell will be updated along with the values of Sales and Profit and the chart.

  • Drag the chart to hide the linked cell.

Use Spin Button as Chart Slider in Excel

Read More: Key Differences in Excel: Form Control Vs. ActiveX Control


How to Make Slider Bead Chart in Excel

The dataset showcases the profit percentage of different products.

Dataset to Make Slider Bead Chart in Excel

  • Two columns were added: Supporter 1, and Supporter 2.
  • Use cells value 1 in Supporter 1.

  • Select the Product and Supporter 1 columns.
  • In the Insert tab >> select  Insert Column or Bar Chart in Charts.
  • In 2-D Bar >> choose Clustered Bar.

Insert Bar Chart in Excel

  • You will see the following chart.

  • Double-click the Horizontal (Category) Axis.
  • In Format Axis, go to Axis Options.
  • Choose Axis Options and set the maximum value as 1.

  • Right-click the chart.
  • In the Context Menu Bar, choose Select Data.

 

  • In Select Data Source, choose Add.

Add Data to Chart in Excel

  • In Edit Series will appear, enter the Series name. Here, Profit Percentage in D4.
  • Enter the Series values. Here, D5:D9.
  • Click OK.

  • In Select Data Source, click OK.

  • Double-click the Profit Percentage chart.
  • In Format Data Series, select Series Options.
  • In Series Options, set Series Overlap to 100%.

How to Make Slider Pellet Chart in Excel

  • You will see the following output.

  • In F5, enter the following formula.
=(ROW()-5+0.5)/5

The ROW function was used. The 1st 5 is the row number containing the formula. The divisor 5 is the total row number without the header.

  • Drag down the Fill Handle.

  • Add the Supporter 2 column to the chart (follow the steps described in the previous method).
  • Select Edit and change the Axis Labels.

Create Slider Pellet Chart in Excel

 

  • Select the Axis label range. Here, I D5:D9.
  • Click OK.

  • Click OK in Select Data Source.

  • Right-click the Supporter 2 chart.
  • In the Context Menu Bar >> choose Change Series Chart Type.

  • In the Change Chart Type dialog box, select All Charts.
  • Go to Combo chart and select Custom Combination.
  • Choose Scatter for Supporter 2 and check Secondary Axis.
  • Click OK.

Change Chart Type in Excel

  • This is the output.

  • Delete the secondary axis.

  • Change the Horizontal (Category) Axis Labels to product name again.

  • Click the Supporter 2 chart as shown below.
  • In Format Data Series, select Series Options.
  • Choose Fill & Line and go to Marker Options.
  • Check Built-in and increase the size.

  • Select Profit Percentage and in Chart Elements >> check Data Labels.

Finally Make Slider Bead or Pellet Chart in Excel

  • Click the Horizontal (Category) Axis.
  • In Format Axis, select Axis Options.
  • Choose Axis Options and go to Number.
  • Choose Category as Percentage and decrease the Decimal places to 0.

  • You will see the slider pellet chart.

Create Slider Bead Chart in Excel


Practice Section

Practice here.

Practice Section to Make Chart Slider in Excel


Download Practice Workbook

Download the practice workbook here:


Related Articles


<< Go Back to Form Control in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Musiha Mahfuza Mukta
Musiha Mahfuza Mukta

Musiha Mahfuza Mukta is a marine engineer who loves exploring Excel and VBA programming. To her, programming is a time-saving tool for dealing with data, files, and the internet. She's skilled in Rhino3D, Maxsurf, C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. With a B.Sc in Naval Architecture & Marine Engineering from BUET, she's shifted gears and now works as a content developer. In this role, she creates techy content exclusively focused on Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo