Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to add a scrollbar to chart in Excel?

If there are lots of data needed to be displayed in your chart, you can add a scrollbar into your chart, when you drag the scrollbar, you could view the data’s changing continuously. But, in Excel, to add a scrollbar to a chart is somewhat difficult, so please finish this task with following operations step by step.

Add a scrollbar to chart in Excel

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.

arrow blue right bubble 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:

doc-scrollbar-chart1

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).

doc-scrollbar-chart1

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

doc-scrollbar-chart1

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

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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.)

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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:

doc-scrollbar-chart10
-1
doc-scrollbar-chart11

11. Then click OK to return to the former dialog, and in the Select Data Source dialog, click Edit button under Horizontal (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:

doc-scrollbar-chart1

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:

doc-scrollbar-chart10
-1
doc-scrollbar-chart11

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.

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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)

doc-scrollbar-chart1

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:

doc-scrollbar-chart1

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.

doc-scrollbar-chart10
-1
doc-scrollbar-chart11

Related articles:


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    BMSPRAO · 3 years ago
    This is especially for teaching Fatigue and Fracture of metals/alloys it can be shown the cyclic load is applied
  • To post as a guest, your comment is unpublished.
    daw · 4 years ago
    sometimes when I open my workbook the scrollers dont work.I cant figure this out since it doesnt always happen
  • To post as a guest, your comment is unpublished.
    Alton Chang · 4 years ago
    Step 13: =OFFSET(Sheet1!$A$1,Sheet1!$N$1,0,Sheet1!$N$2,1)

    Those who have been following through the page, note that $N$1 will be $N$5 and $N$2 will be the cell you input the [u][b]number of names shown.[/b][/u]
  • To post as a guest, your comment is unpublished.
    Victoria Pilling · 5 years ago
    Hi, I am trying to do this but my data goes horizontally. How do you it that way please?
  • To post as a guest, your comment is unpublished.
    Pinkesh Shah · 5 years ago
    In step 10, while editing the series, It is showing error in series value range when I write " sheet1!Maths", saying " reference cell not valid."

    I can name the series as Maths, but while entering the range values, it is showing error.

    Kindly suggest