Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

How to add a scrollbar to chart in Excel?

Author Xiaoyang Last modified

When working with large datasets, displaying all the data at once in a chart can clutter your visualizations and make them harder to interpret. Adding a scrollbar to a chart in Excel allows you to focus on a specific portion of the data dynamically, improving clarity and analysis. This guide will walk you through the steps to add a scrollbar to a chart in Excel, making it interactive and easy to use.

Add a scrollbar to chart in Excel

Create a scrollable chart with only clicks


Add a scrollbar to chart in Excel

Supposing you have the following data range that you want to create a scrollbar chart in your worksheet:

sample data

1. First, you can insert a chart with above data by selecting the data and clicking "Insert" >" Column" > "Clustered Column", (you can insert other column chart or line chart as you need).

click Insert > Column > Clustered Column

2. And a column chart is inserted into your worksheet as follows:

a column chart is inserted

3. Then you can insert a scrollbar into this worksheet, click "Developer" > "Insert" > "Scroll Bar", see screenshot:

click Developer > Insert > Scroll Bar

Tip: If the Developer tab is not displayed on the ribbon, you can click "File" > "Option" > "Customize Ribbon" and check "Developer" in the right section to display the "Developer" tab on the tab.

4. And then drag the mouse to draw a scrollbar, and right click to select "Format Control", see screenshot:

right click the scrollbar and select Format Control

5. In the "Format Control" dialog, click "Control" tab, and then specify the "Minimum value" and "Maximum value" of your data as you need, then click -111 button to select a blank cell that you want to link to the scrollbar. See screenshot:

specify the options in the dialog box

6. Then click "OK" to close this dialog, and select the link cell that you have specified just now to create range names you will use after a while. Next click" Formulas" > "Define Name", in the "New Name" dialog, enter a name for the named range (Column A) that you want to use, in this example, I will input "Name", then enter this formula =OFFSET(Sheet1!$A$2,,,Sheet1!$N$5) into the "Refers to" field, ("Sheet1" is the worksheet that you are applied; "A2" is the cell that the first data in Column A without title; "N5" is the linked cell that you have specified in Step 5, you can change it as you need.). See screenshot:

create a range name for the link cell for column A

7. And then click "OK", go on clicking "Formulas" >" Define Name" to define a name for another range Column B as the same as step 6. In this example, I will enter these:

  • "Name": "Maths"; (defined name for Column B)
  • "Refers to": =OFFSET(Sheet1!$B$2,,,Sheet1!$N$5) ("Sheet1" is the worksheet that you are applied; "B2" is the cell that the first data in Column B without the title; "N5" is the linked cell that you have specified in Step 5, you can change it as you need.)

create a range name for the link cell for column B

8. Then click "OK" to close this dialog, and the range names for the chart have been created successfully.

9. Next, you need to link the scrollbar and the chart, right click the chart area, then choose "Select Data" from the context menu, see screenshot:

right click the chart area, and choose Select Data

10. In the "Select Data Source" dialog, click "Maths" and then click "Edit" button, in the popped out "Edit Series" dialog, under" Series name", click -111 button to select cell B1 and enter this =Sheet1!Maths to the "Series values" field, ("Sheet1" is the worksheet that you are applied, and "Maths" is the range name that you have created for Column B), see screenshots:

click edit button in the dialog box
arrow down
select the cell references in the dialog box

11. Then click "OK" to return to the former dialog, and in the "Select Data Source" dialog, click "Edit" button under H"orizontal (Category) Axis Labels", in the "Axis Labels" dialog, enter =Sheet1!Name into the Axis label range field. ("Sheet1" is the worksheet that you are applied, and "Name" is the range name that you have created for Column A). See screenshot:

enter a formula into the textbox

12. And then click "OK" >" OK" to close the dialogs, you have added a scrollbar to the chart. When you drag the scrollbar, the data will be displayed into the chart increasingly. See screenshots:

scrollbar is inserted into the chart
arrow down
drag the scrollbar to display other data

13. At last, if you want to combine the scrollbar and the chart, you can select and drag the scrollbar to the chart, then hold "Ctrl" to select the chat and the scrollbar at the same time, and then right click the scrollbar, choose "Group" > "Group" from the context menu, and these two objects are combined together.

combine the scrollbar and the chart

Note: With the scrollbar chart you have created, when you drag the scrollbar to the maximum value, all the data will be displayed into the chart, and if the data is large, your data series will be crowded and difficult to view as following screenshot shown:

drag the scrollbar to the maximum value, all the data will be displayed into the chart, and if the data is large, the data series will be crowded

In this case, you can specify the number of data appeared into the chart to view the scores of any several consecutive data. To solve this problem, you just need to specify the number of period for the chart and change the formulas of the created range names.

After inserting the scrollbar and the chart, input a number that you want to display the data in the chart per period, for instance, I will display any 10 consecutive data series into the chart.

Then select your linked cell that you have created, and define the range names for the chart, in the "New Name" dialog, specify a name and input this formula =OFFSET(Sheet1!$A$1,Sheet1!$N$1,0,Sheet1!$N$2,1) into the "Refers to" text box, ("A1" is the first cell of your data, "N1" is the linked cell you are created and "N2" is the cell of your specified appearing number for the chart)

define the range names for the chart

And go on creating range name for another column data, in the "New Name" dialog, enter a range name for column B, and input this formula =OFFSET(Sheet1!$A$1,Sheet1!$N$1,1,Sheet1!$N$2,1) into the "Refers to" field, see screenshot:

create a range name for another column data

Then you need to link the scrollbar and the chart according to the above step9-step12. And you will get the following results, when you drag the scrollbar, every 10 continuous scores are displayed into the chart.

scrollbar chart is created
arrow down
when dragging the scrollbar, every 10 continuous scores are displayed into the chart

Create a scrollable chart with only clicks

With "Kutools for Excel", you can easily create a scrollable chart that allows you to focus on a specific portion of your data while maintaining clarity and control. This feature provides an intuitive way to analyze trends, compare sections, and explore large datasets without manually resizing charts or scrolling through the worksheet. With just a few clicks, Kutools simplifies the process, helping you create dynamic and interactive charts that make your data visualization both efficient and professional.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as this:

  1. Click "Kutools" > "Charts" > "Data Distribution" > "Scrollable Line Chart", see screenshot:
    click to find the Scrollable Line Chart feature
  2. In the "Scrollable Line Chart" dialog box, specify the following operation:
    • (1.) Select the" Axis Labels" and "Series Values" separately;
    • (2.) Specify the number of series points to be displayed in the chart from the "Show series points" box;
    • (3.) Click OK button.
    • specify the options in the dialog box
  3. Now, a dynamic scrolling line chart will be inserted into the worksheet at once. When clicking the scroll bar, the data will be changed dynamically.

In summary, adding a scrollbar to a chart in Excel provides an interactive way to handle large datasets, allowing users to focus on specific portions of the data dynamically. Whether you prefer the built-in method or the convenience of Kutools, both approaches will help you enhance data visualization and analysis in Excel efficiently. If you're interested in exploring more Excel tips and tricks, our website offers thousands of tutorials.


Related articles:

Best Office Productivity Tools

šŸ¤– Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

All Kutools add-ins. One installer

Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.

Excel Word Outlook Tabs PowerPoint
  • All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
  • One installer, one license — set up in minutes (MSI-ready)
  • Works better together — streamlined productivity across Office apps
  • 30-day full-featured trial — no registration, no credit card
  • Best value — save vs buying individual add-in